Seeed-Jetson-DevelopTool / deploy-frigate
CLAUDE.md57 starsChanged 4 months agoMITView on GitHub
Deploy Frigate open-source NVR with real-time TensorRT object detection on NVIDIA Jetson (Nano, Xavier NX, Orin). Uses Docker Compose with the Jetson-optimized Frigate image, YOLOv7 model, and RTSP IP camera streams. Requires JetPack 5.x and Docker.
- 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
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Run one phase at a time. After each phase:
- Very specific: line 16
If output contains [STOP] → stop immediately, consult the failure decision tree.
- Very specific: line 17
If output ends with [OK] → tell the user "Phase N complete" and proceed.
- Very specific: line 70
Use stable-tensorrt-jp4 for JetPack 4.6 devices.
- Very specific: line 82
Create ~/frigate/config/config.yml with your camera RTSP URL:
- Distinctive: line 156
Check logs for TensorRT initialization:
≈ “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
Deploy Frigate on Jetson
Frigate is an open-source NVR with real-time AI object detection. This skill deploys it on Jetson via Docker with TensorRT-accelerated YOLOv7 for IP camera surveillance.
Execution model
Run one phase at a time. After each phase:
- Relay all output to the user.
- If output contains
[STOP]→ stop immediately, consult the failure decision tree. - If output ends with
[OK]→ tell the user "Phase N complete" and proceed.
Prerequisites
| Requirement | Detail |
| Jetson device | Nano, Xavier NX, or Orin series |
| JetPack | 5.x (e.g. 5.1.3) |
| Docker | Installed with NVIDIA runtime |
| IP Camera | RTSP-compatible (e.g. Dahua) |
| Storage | 32GB+ SD/eMMC/NVMe |
Phase 1 — Install Docker and dependencies (~5 min)
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y python3-pip python3-dev python3-venv \
build-essential libssl-dev libffi-dev git \
apt-transport-https ca-certificates curl software-properties-commonInstall Docker:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ceInstall Docker Compose:
sudo pip3 install docker-compose
docker-compose --versionInstall NVIDIA Container Toolkit per https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
[OK] when docker-compose --version prints a version. [STOP] if Docker install fails.
Phase 2 — Pull Frigate Docker image (~5–10 min)
docker pull ghcr.io/blakeblackshear/frigate:stable-tensorrt-jp5Use stable-tensorrt-jp4 for JetPack 4.6 devices.
[OK] when pull completes. [STOP] if pull fails — check network and Docker permissions.
Phase 3 — Create Frigate configuration (~5 min)
mkdir -p ~/frigate/config ~/frigate/storageCreate ~/frigate/config/config.yml with your camera RTSP URL:
mqtt:
enabled: False
cameras:
my_camera:
enabled: True
ffmpeg:
hwaccel_args: preset-jetson-h264
inputs:
- path: rtsp://admin:password@<CAMERA_IP>:554/cam/realmonitor?channel=1&subtype=0
roles:
- detect
birdseye:
enabled: True
mode: objects
detectors:
tensorrt:
type: tensorrt
device: 0
model:
path: /config/model_cache/tensorrt/yolov7-320.trt
input_tensor: nchw
input_pixel_format: rgb
width: 320
height: 320
detect:
fps: 20
width: 1280
height: 720
objects:
track:
- personCreate ~/frigate/docker-compose.yml:
services:
frigate:
privileged: true
environment:
- YOLO_MODELS=yolov7-320
- USE_FP16=false
container_name: frigate
runtime: nvidia
volumes:
- /home/${USER}/frigate/config:/config
- /home/${USER}/frigate/storage:/media/frigate
ports:
- "5000:5000"
- "8554:8554"
image: ghcr.io/blakeblackshear/frigate:stable-tensorrt-jp5[OK] when both files are created.
Phase 4 — Deploy and verify Frigate (~3 min)
cd ~/frigate
docker-compose up -d
docker ps | grep frigateCheck logs for TensorRT initialization:
docker logs frigate[OK] when container is running and logs show TensorRT model loaded. [STOP] if container fails to start.
Phase 5 — Access Frigate web interface
Open a browser on the same network and navigate to:
http://<jetson-ip>:5000You should see the Frigate dashboard with live camera feeds and detection events. Detection latency should be ~33ms per frame on Xavier NX.
[OK] when the dashboard loads with live video.
Failure decision tree
| Symptom | Action |
docker: command not found | Docker not installed. Re-run Phase 1 Docker installation. |
docker pull permission denied | Add user to docker group: sudo usermod -aG docker $USER, then log out/in. |
| Container exits immediately | Check logs: docker logs frigate. Common cause: invalid config.yml syntax. |
| TensorRT model not found | First run auto-generates the TRT model. Wait for initialization to complete in logs. |
| No video feed in dashboard | Verify RTSP URL is correct. Test with: ffplay rtsp://... from the Jetson. |
| GPU not detected in container | Ensure NVIDIA runtime is configured: check /etc/docker/daemon.json has "default-runtime": "nvidia". Restart Docker. |
| Port 5000 not accessible | Check firewall: sudo ufw allow 5000. Verify container port mapping with docker ps. |
Reference files
references/source.body.md— Full Seeed Wiki tutorial with hardware prep, detailed config explanations, and troubleshooting (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.

