Seeed-Jetson-DevelopTool / traffic-deepstream
CLAUDE.md57 starsChanged 4 months agoMITView on GitHub
Deploy an intelligent traffic management system using NVIDIA DeepStream SDK on Jetson devices, with DashCamNet for vehicle detection and VehicleTypeNet/VehicleMakeNet for classification. Tested on reComputer J1010 with JetPack 4.6.1.
- Installs packages
In this repository297 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-nvrAGENTS.md
- allxon-ota-updateAGENTS.md
- allxon-setupAGENTS.md
- alwaysai-setupAGENTS.md
- backup-restoreAGENTS.md
- bsp-source-buildAGENTS.md
- clawdbot-developmentAGENTS.md
- cochl-sense-setupAGENTS.md
- cvedia-setupAGENTS.md
- dashcamnet-xavier-nx-multicameraAGENTS.md
- deciai-setupAGENTS.md
- deepseek-quick-deployAGENTS.md
- deploy-deepseek-mlcAGENTS.md
- deploy-depth-anything-v3AGENTS.md
- deploy-diaAGENTS.md
- deploy-efficient-vision-engineAGENTS.md
- deploy-frigateAGENTS.md
- deploy-live-vlm-webuiAGENTS.md
- deploy-nvbloxAGENTS.md
- deploy-ollama-anythingllmAGENTS.md
- deploy-riva-llama2AGENTS.md
- developtool-deviceAGENTS.md
- disk-encryptionAGENTS.md
- diy-bsp-buildAGENTS.md
- ethercat-communicationAGENTS.md
- ethercat-setupAGENTS.md
- finetune-llm-llama-factoryAGENTS.md
- fix-browser-snap-jetsonAGENTS.md
- gapi-setupAGENTS.md
- generative-ai-introAGENTS.md
- gpt-oss-liveAGENTS.md
- gr00t-n1-5-deploy-thorAGENTS.md
- gr00t-n1-6-deploy-agxAGENTS.md
- hardhat-setupAGENTS.md
- hybrid-bsp-dk-to-recomputerAGENTS.md
- imx477-a603-setupAGENTS.md
- j501-viola-fruit-sortingAGENTS.md
- jetpack5-ssd-boot-fixAGENTS.md
- jetpack-flash-wsl2AGENTS.md
- jetpack-jetson-overviewAGENTS.md
- jetpack-ota-updateAGENTS.md
- jetson-ai-toolsAGENTS.md
- jetson-docker-setupAGENTS.md
- jetson-faqAGENTS.md
- jetson-pc-wired-shareAGENTS.md
- jetson-project-galleryAGENTS.md
- jetson-resource-indexAGENTS.md
- jetson-tutorial-exercisesAGENTS.md
- ko-module-buildAGENTS.md
- l4t-differencesAGENTS.md
- langchain-output-formattingAGENTS.md
- lerobot-env-setupAGENTS.md
- llama-cpp-rpc-distributedAGENTS.md
- llm-interface-controlAGENTS.md
- local-chatbot-multimodalAGENTS.md
- local-chatbot-physicalAGENTS.md
- local-llm-text-to-imageAGENTS.md
- local-rag-llamaindexAGENTS.md
- lumeo-setupAGENTS.md
- The first 60 shown.
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Run one phase at a time. After each phase, verify the expected result before continuing.
- Very specific: line 11
If a phase succeeds → print [OK] and move to the next phase.
- Very specific: line 12
If a phase fails → print [STOP], consult the failure decision tree, and ask the user before retrying.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Traffic Management with DeepStream SDK
Execution model
Run one phase at a time. After each phase, verify the expected result before continuing.
- If a phase succeeds → print
[OK]and move to the next phase. - If a phase fails → print
[STOP], consult the failure decision tree, and ask the user before retrying.
Phase 1 — Verify prerequisites
Required:
- Jetson device with JetPack installed (tested on reComputer J1010 + JetPack 4.6.1)
- SDK Components and DeepStream SDK installed
- Keyboard, HDMI display
- USB webcam or MIPI CSI camera
cat /etc/nv_tegra_release
dpkg -l | grep deepstreamExpected: L4T version shown; DeepStream SDK package listed.
Phase 2 — Download configuration files
git clone https://github.com/NVIDIA-AI-IOT/deepstream_reference_apps.git
cd deepstream_reference_apps/deepstream_app_tao_configs/
sudo cp -a * /opt/nvidia/deepstream/deepstream/samples/configs/tao_pretrained_models/Expected: Config files copied to DeepStream samples directory.
Phase 3 — Download pre-trained models
sudo apt install -y wget zip
cd /opt/nvidia/deepstream/deepstream/samples/configs/tao_pretrained_models/
sudo ./download_models.shExpected: DashCamNet, VehicleMakeNet, and VehicleTypeNet models downloaded.
Phase 4 — Configure DeepStream application
Edit the configuration file:
cd /opt/nvidia/deepstream/deepstream/samples/configs/tao_pretrained_models/
sudo vi deepstream_app_source1_dashcamnet_vehiclemakenet_vehicletypenet.txtMake these changes:
- Under
[sink0], changesync=1tosync=0 - Under
[primary-gie], setmodel-engine-file=../../models/tao_pretrained_models/dashcamnet/resnet18_dashcamnet_pruned.etlt_b1_gpu0_fp16.engine - Under
[secondary-gie0], setmodel-engine-file=../../models/tao_pretrained_models/vehiclemakenet/resnet18_vehiclemakenet_pruned.etlt_b4_gpu0_fp16.engine - Under
[secondary-gie1], setmodel-engine-file=../../models/tao_pretrained_models/vehicletypenet/resnet18_vehicletypenet_pruned.etlt_b4_gpu0_fp16.engine
Phase 5 — Run the traffic management demo
Connect camera, keyboard, and HDMI display to the Jetson device.
cd /opt/nvidia/deepstream/deepstream/samples/configs/tao_pretrained_models/
sudo deepstream-app -c deepstream_app_source1_dashcamnet_vehiclemakenet_vehicletypenet.txtExpected: Live video with vehicle detection, type classification, and make classification displayed on HDMI.
To try other demos:
sudo deepstream-app -c deepstream_app_source1_$MODEL.txtFailure decision tree
| Symptom | Likely cause | Suggested fix |
deepstream-app not found | DeepStream SDK not installed | Install via NVIDIA SDK Manager |
| Model download fails | No internet or script error | Check connectivity; run download_models.sh manually |
| Engine file not found | First run needs TensorRT engine build | Wait for engine generation on first launch (may take several minutes) |
| No display output | Wrong sink type or sync setting | Verify type=2 (EglSink) and sync=0 in [sink0] |
| Camera not detected | Unsupported camera or wrong source config | Check v4l2-ctl --list-devices; update [source0] in config |
| Low FPS | GPU not fully utilized | Ensure batch-size is appropriate; check tegrastats for GPU usage |
Reference files
references/source.body.md— Full original wiki content (reference only)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

