Seeed-Jetson-DevelopTool / dashcamnet-xavier-nx-multicamera
AGENTS.md57 starsChanged 4 months agoMITView on GitHub
Deploy DashCamNet and PeopleNet pre-trained models on Jetson Xavier NX with multi-camera pipelines using DeepStream, TAO Toolkit, and jetson-multicamera-pipelines. Requires JetPack 4.5/4.6.
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
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
- 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
- maskcam-nanoAGENTS.md
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Run one phase at a time. After each phase:
- Very specific: line 20
If output contains [STOP] → stop immediately, consult the failure decision tree
- Very specific: line 21
If output ends with [OK] → tell the user "Phase N complete" and proceed
- Very specific: line 124
If tao not found:
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.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
DashCamNet & PeopleNet Multi-Camera on Xavier NX
Deploys NVIDIA pre-trained DashCamNet (vehicle detection) and PeopleNet (person detection) models on Jetson Xavier NX with multi-camera support using DeepStream and the jetson-multicamera-pipelines project. Achieves ~16.5% CPU for 6 camera streams.
Hardware: Jetson Xavier NX Dev Kit or Jetson SUB Mini PC, USB/CSI cameras, HDMI display Software: JetPack 4.5 or 4.6, NGC account + API key
Execution model
Run one phase at a time. After each phase:
- If output contains
[STOP]→ stop immediately, consult the failure decision tree - If output ends with
[OK]→ tell the user "Phase N complete" and proceed
Phase 1 — prerequisites check (~30 s)
sudo apt-cache show nvidia-jetpack
# Confirm JetPack 4.5 or 4.6ls /dev/video*
# Confirm cameras connected[OK] when JetPack 4.5/4.6 confirmed and cameras detected.
Phase 2 — install Docker Engine (~5 min)
sudo apt-get purge docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \
sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] \
https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.ioConfigure non-root access:
sudo groupadd docker
sudo usermod -aG docker $USERLog out and back in, then verify:
docker run hello-world[OK] when hello-world runs without sudo.
Phase 3 — install NVIDIA Container Toolkit (~2 min)
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
&& curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \
&& curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | \
sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update
sudo apt-get install -y nvidia-docker2
sudo systemctl restart docker[OK] when Docker restarts without errors.
Phase 4 — install NGC CLI (~2 min)
wget -O ngccli_arm64.zip https://ngc.nvidia.com/downloads/ngccli_arm64.zip
unzip -o ngccli_arm64.zip
chmod u+x ngc
echo "export PATH=\"\$PATH:$(pwd)\"" >> ~/.bash_profile
source ~/.bash_profileGenerate an NGC API key at https://catalog.ngc.nvidia.com → Setup → Get API Key
ngc config set
# Enter API key when prompted[OK] when ngc is configured.
Phase 5 — install TAO Toolkit (~3 min)
sudo apt install -y python3 python3-pip
pip3 install virtualenv
virtualenv venv
source venv/bin/activate
pip3 install nvidia-pyindex
pip3 install nvidia-taoVerify:
tao --helpIf tao not found:
export PATH=$PATH:~/.local/bin
tao --help[OK] when tao --help shows available tasks.
Phase 6 — install DeepStream 5.1 (~3 min)
Edit apt sources to use r32.5:
sudo nano /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
# Change r32.6 to r32.5 for both linessudo apt update
sudo -H pip3 install pyds-ext[OK] when pyds-ext installs.
Phase 7 — install multicamera pipelines (~5 min)
git clone https://github.com/NVIDIA-AI-IOT/jetson-multicamera-pipelines.git
cd jetson-multicamera-pipelines
bash scripts/install_dependencies.sh
sudo -H pip3 install Cython
sudo -H pip3 install .[OK] when package installs without errors.
Phase 8 — run multi-camera detection (~2 min)
source scripts/env_vars.sh
cd examples
sudo -H python3 example.pyEdit example.py to match your camera indices:
pipeline = CameraPipelineDNN(
cameras=[0, 1, 2], # adjust to your camera device indices
models=[
PeopleNet.DLA1,
DashCamNet.DLA0,
],
save_video=True,
save_video_folder="/home/$USER/logs/videos",
display=True,
)[OK] when multi-camera detection is running with overlays visible.
Failure decision tree
| Symptom | Action |
| Docker install fails | Verify internet. Remove old Docker versions first. |
nvidia-docker2 install fails | Check NVIDIA apt sources are correct for your L4T version. |
tao command not found | Run export PATH=$PATH:~/.local/bin. |
| DeepStream install fails | Verify apt sources point to r32.5. |
EGL Not found error | Check EGLDevice setup. See NVIDIA EGL documentation. |
| Camera not detected in example.py | Check camera indices with ls /dev/video*. Adjust cameras=[] list. |
| Low FPS | Use DLA accelerators instead of GPU. Reduce camera count. |
| NGC API key error | Regenerate key at catalog.ngc.nvidia.com. |
Reference files
references/source.body.md— Original Seeed wiki with screenshots, NGC setup, and license plate detector example
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.

