yahboom
HomeTutorialsProduct
Solution
Blog
Online Store
About Us
EN/中文
Store
Jetson Orin NANO Developer Kit📖
01.Get started
  • 01. Learning route
  • 02. Get started quickly
  • 03. System Update Notes
  • 04. Disabling automatic updates and troubleshooting issues
  • 05. Jetson Orin Nano official kit screwdriver instructions
02.Jetson basic course
  • 01.Jetson board introduction
  • 02.Write Jetson original system
  • 03.Installing Jetson environment
  • 04.Backup SSD system
  • 05.Restore initial image system
  • 06.Upgrade to SUPER version (Optional)
  • 07.Write SUPER boot (Must read)
  • 08.SSD expansion
  • 09.Jetpack old system upgraded to Yahboom SUPER factory system
  • 10.Write the system onto your own SSD
03.Basic setting course
  • 01.Basic knowledge
  • 02.Network configuration
  • 03.SSH remote login
  • 04.VNC remote control
  • 05.RDP remote control
  • 06.Remote file transfer
  • 07.Jtop tool
  • 08.Exchange space expansion
  • 09.Use VSCode
  • 10.Use VMware
  • 11.Modify screen resolution
04.GPIO control course
  • 01.GPIO description
  • 02.GPIO library installation
  • 03.GPIO reading
  • 04.GPIO output
  • 05.Serial communication
  • 06.I2C communication
05.Vision basic course
  • 01.CSI camera preview
  • 02.USB camera preview
  • 03.Use Jupyter Lab
  • 04.Use JetCam
06.OpenCV basic course
  • 01.Image reading
  • 02.Image saving
  • 03.Image modification
  • 04.Image scaling
  • 05.Image cropping
  • 06.Image translation
  • 07.Image mirroring
  • 08.Image grayscale conversion
  • 09.Image binarization
  • 10.Image edge detection
  • 11.Add line segments
  • 12.Add rectangles
  • 13.Add circular shape
  • 14.Add ellipses
  • 15.Add polygons
  • 16.Add Text
  • 17.Preview USB camera image
  • 18.Preview CSI camera image
07.Vision advanced course
01.Environment construction
  • 01.TensorFlow
  • 02.PyTorch
  • 03.Torchvision
02.DeepStream development
  • 01.DeepStream environment
  • 02.License plate detection and recognition
  • 03.Parallel multi-model inference
  • 04.Object embedding vector generation
  • 05.Pose recognition
  • 06.NV optical flow anomaly detection
  • 07.Single-view 3D tracking
  • 08.Multi-view 3D tracking
03.NVIDIA TAO toolkit application
  • 01.Traffic scene object detection
  • 02.Person object detection
  • 03.Vehicle brand classification
  • 04.Vehicle model classification
  • 05.License plate detection and recognition
  • 06.Person semantic segmentation
  • 07.Retail product detection and recognition
  • 08.Person feature extraction and matching (ReID)
  • 09.Person action and pose classification
  • 10.Transformer-based person detection
  • 11.3D human skeleton detection
  • 12.LiDAR 3D point cloud detection
04.YOLO11 development
  • 01.YOLO environment construction
  • 02.CLI use
  • 03.Object detection
  • 04.Instance segmentation
  • 05.Pose estimation
  • 06.Image classification
  • 07.Oriented object detection
  • 08.Model conversion
  • 09.Dataset annotation
  • 10.Model training conversion
  • 11.Model prediction
05.Mediapipe development
  • 01.Mediapipe environment
  • 02.Hand detection
  • 03.Face detection
  • 04.Face effects
  • 05.3D object recognition
  • 06.Virtual brush
  • 07.Gesture recognition
  • 08.Finger control
  • 09.Posture estimation
  • 10.Face mask
  • 11.Overall detection
  • 12.Green scene removal(Human)
06.YOLO26 development
  • 01.YOLO environment construction
  • 02.CLI use
  • 03.Object detection
  • 04.Instance segmentation
  • 05.Pose estimation
  • 06.Image classification
  • 07.Oriented object detection
  • 08.Model conversion
  • 09.Dataset annotation
  • 10.Model training conversion
  • 11.Model prediction
07.QR code recognition
  • QR code recognition
08.Docker basic course
  • 01.Docker introduction
  • 02.Docker installation
  • 03.Docker command
  • 04.Docker usage
  • 05.Docker interaction
09.ROS2-Jazzy
01.ROS2 basic course
  • 1.Introduction to ROS2
  • 2.ROS2 install Jazzy
  • 3.ROS2 development environment
  • 4.ROS2 workspace
  • 5.ROS2 function package
  • 6.ROS2 node
  • 7.ROS2 topic communication
  • 8.ROS2 service communication
  • 9.ROS2 action communication
  • 10.ROS2 custom interface message
  • 11.ROS2 parameter service case
  • 12.ROS2 meta-function package
  • 13.ROS2 distributed communication
  • 14.ROS2 DDS
  • 15.ROS2 time related API
  • 16.ROS2 common command tools
  • 17.ROS2 rviz2 use
  • 18.ROS2 rqt toolbox
  • 19.ROS2 Launch startup file configuration
  • 20.ROS2 recording and playback tool
  • 21.ROS2 URDF model
  • 22.ROS2 Gazebo simulation platform
  • 23.ROS2 TF2 coordinate transformation
02.ROS2 vision course
  • 01.Camera preview (USB)
  • 02.Camera preview (CSI)
  • 03.Camera calibration (USB)
  • 04.Camera calibration (CSI)
  • 05.AR vision (USB)
  • 06.AR vision (CSI)
10.Large model basic course
01.Offline large model
  • 01.AI large model environment deployment
  • 02.Install large model dialogue platform
  • 03.Meta AI - Llama model
  • 04.Alibaba Cloud - Qwen model
  • 05.Microsoft - Phi-4-mini model
  • 06.DeepSeek - DeepSeek model
  • 07.Alibaba Cloud - Qwen-VL visual multimodal large model
  • 08.Google - Gemma visual multimodal large model
  • 9.Llava visual multimodal large model
  • 10.MiniCPM-V visual multimodal large model
  • 11.High-quality vision-language grounding (LocateAnything)
02.Online large model
  • 01.Tongyi Qianwen large model
  • 02.OpenRouter large model API aggregation platform
11.Large model application practice
01.Voice interaction application
  • 1.Voice interaction hardware connection (Must read)
  • 2.Offline speech to text (ASR)
  • 3.Offline text to speech (TTS)
  • 4.AI large model voice interaction
  • 5.AI large model offline voice assistant
02.Multimodal large model application (Online_Offline large model + Text_Voice interaction)
  • 01.Multimodal visual understand application
  • 02.Multimodal text image application
  • 03.Multimodal video analysis application
  • 04.Multi module visual position application
  • 05.Multimodal table scanning application
  • 06.Multimodal autonomous agent application
12.NVIDIA Isaac ROS course
  • 01.Build Isaac ROS environment
  • 02.Deep segmentation
  • 03.DNN stereoscopic depth
  • 04.Free space segmentation
  • 05.Image distortion processing
  • 06.Image segmentation
  • 07.3D scene reconstruction and mapping
  • 08.Object detection
  • 09.3D attitude estimation
  • 10.Visual SLAM
13.OpenClaw deployment and basic usage
01.OpenClaw deployment and introduction
  • 01.Quick start with the pre-configured environment (Recommended)
  • 02.OpenClaw Deployment
  • 03.OpenClaw WhatsApp Plugin Application
  • 04.OpenClaw WebChat Interaction
  • 05.OpenClaw TUI Interaction
  • 06.OpenClaw Tools Introduction
  • 07.OpenClawGate Gateway User Manual
  • 08.OpenClaw Features Overview
  • 09.OpenClawHub Introduction (Skill Installation)
02.OpenClaw basic application
  • 01.OpenClaw Application - File Management
  • 02.OpenClaw Application - Camera
  • 03.OpenClaw Application - Browser Control
  • 04.OpenClaw Application - Script Execution
  • 05.OpenClaw Application - AI Programming (Peripheral & GPIO Control)
  • 06.OpenClaw Application - Dedicated AI Assistant
  • 07.OpenClaw Web Search Capability Configuration
03.NVIDIA official Agent Skills application
  • 01.AI-assisted development with VS Code or Cursor
  • 02.Jetson device skills
  • 03.Jetson BSP custom agent skills
14.OpenClaw advanced development
01.Preparation Before Use
  • 01.Peripheral Hardware Configuration
  • 02.OpenClaw API-KEY Configuration
  • 03.OpenClaw Model Switching
  • 04.OpenClaw Prompts
  • 05.AI Voice Interaction Configuration
  • 06.Three Dialogue Configuration Tests
02.OpenClaw AI Programming Peripheral Control
  • 1. Servo Control
  • 2. RGB Strip
  • 3. OLED Display
  • 4. Temperature and Humidity Sensor
  • 5. Camera Application
  • 6. AI Script Peripheral Control
03.OpenClaw Peripheral Integration Applications
  • 1. Plant Care Assistant
  • 2. AI Calorie Estimation
  • 3. AI Rock Paper Scissors Game
  • 4. AI Pet
  • 5. AI Weather Station
  • 6. Temperature Humidity Dashboard
  • 7. Scheduled Tasks
Download
  • System_File
  • VMFile_BootFile
  • 3D Model File
  • DataSheet
  • Software_Tools
  • Code
  • Manual
Download ZIP

Welcome to Jetson Orin NANO Developer Kit repository

01.Traffic scene object detection

TAO TrafficCamNet Traffic Scene Object Detection

TAO TrafficCamNet Traffic Scene Object DetectionReferences1. Case Goal and Processing Flow2. Pre-Run Checks3. Starting Detection4. USB Camera Real-Time Detection4.1 Direct Run4.2 Common Parameters5. CSI Camera Real-Time Detection5.1 Direct Run5.2 Common Parameters6. Common Issues

Applicable environment: Jetson Orin Nano, JetPack 7.2.1, DeepStream 9.1.

After setting the power mode to MAXN, running the case may pop up an over-current warning; just ignore it.

References

The following materials apply to all TAO application cases in this chapter and are provided here in one place:

  • NVIDIA DeepStream TAO application examples: https://github.com/NVIDIA/DeepStream/tree/main/src/apps/tao_apps

  • DeepStream TAO integration documentation: https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_TAO_integration.html

1. Case Goal and Processing Flow

TrafficCamNet targets road traffic scenes, detecting traffic objects such as vehicles and pedestrians frame by frame and outputting classes, confidence, and bounding boxes. It is not an object tracker: the bounding boxes do not come with stable cross-frame tracking IDs. This case also does not recognize license plate characters; for license plate recognition, see the LPR case in this chapter.

H.265 MP4 → hardware decoding → TrafficCamNet TensorRT inference → overlay detection results
                                                    ├→ desktop/VNC preview
                                                    └→ H.264 MP4 file

The course example is wrapped by the DeepStream tao_apps application and a launch script. The model handles detection; decoding, box drawing, preview, and recording are done by the DeepStream pipeline.

2. Pre-Run Checks

Please operate in the Jetson graphical desktop or a VNC terminal connected to the desktop. A pure SSH session usually has no usable graphical display environment.

xxxxxxxxxx
cd ~/DeepStream/tao-toolkit-shell-demo
ls -lh video_in/sample_1080p_h265.mp4
ls -ld video_out

Confirm that the input video exists and the output directory is accessible. The default course video is H.265 encoded, about 1920×1080, 30 FPS, 48.1 seconds; do not assume the input is H.264 merely because the file extension is .mp4.

3. Starting Detection

For local video detection, run in the terminal:

xxxxxxxxxx
./run_video.sh trafficcamnet

The script sets up the programs and graphical environment required by the case, loads the TrafficCamNet configuration and TensorRT engine, then starts the DeepStream pipeline. During normal operation, the terminal continuously outputs pipeline status/performance information, and a preview with detection boxes appears in the Jetson desktop or VNC.

TrafficCamNet running screen

The rectangles in the frame indicate the target positions judged by the model, the class text indicates the predicted class, and the confidence indicates the model's score for that prediction. Occlusion, lighting, target size, and shooting angle all affect detection results; occasional missed or false detections do not mean the launch failed.

The default input file is referenced by the case configuration:

xxxxxxxxxx
video_in/sample_1080p_h265.mp4

The simplest way to replace the test video is to back up the original material first, then place the new video in Jetson's video_in/ and name it sample_1080p_h265.mp4. This requires no configuration changes; confirm that the new video can be decoded by GStreamer on the Jetson before starting the case. If you keep the original file, rename the copy you need to keep first to avoid being unable to recover after overwriting.

This case configuration also specifies the input source via configs/source_trafficcamnet.csv. When you need to keep multiple materials or use other file names, you can check and edit the CSV on the Jetson, changing the source to a file:// URI corresponding to the actual local path on the Jetson. Before modifying, check the CSV's current format, and keep the fields and URI format consistent with the existing configuration. Change only one input path at a time, run to confirm, then make other adjustments.

Output is always written to video_out/out_trafficcamnet.mp4. If a re-run overwrites a result with the same name, rename the old output you need to keep first.

4. USB Camera Real-Time Detection

4.1 Direct Run

USB mode streams from the camera in real time and displays detection results, suitable for verifying live footage; the current camera entry only previews and does not record MP4. After connecting the USB camera, first confirm the system recognizes the device:

xxxxxxxxxx
ls -l /dev/video*

Other cameras may have different nodes, pixel formats, and resolutions. Make sure no other program is occupying the camera.

Start in a Jetson desktop/VNC terminal:

xxxxxxxxxx
cd ~/DeepStream/tao-toolkit-shell-demo
./run_usb.sh trafficcamnet

Under normal conditions, a live preview opens with detection boxes overlaid on the frame. A USB camera is a live source and will not naturally play to EOS like an offline MP4; the current entry is for real-time preview and does not generate video_out/out_trafficcamnet.mp4.

To stop, press Ctrl+C once in the launching terminal, wait for the source EOS and App run successful, and confirm the preview is closed and the camera device is released before starting other camera programs. The course USB entry was tested at about 30 FPS on /dev/video0, YUYV 640x480@30; that figure only represents that device and configuration, not a performance guarantee for all USB cameras.

4.2 Common Parameters

Before running, you can check the formats, resolutions, and frame rates supported by the camera:

xxxxxxxxxx
v4l2-ctl -d /dev/video0 --list-formats-ext

Note: the USB pipeline of Object Embedding Vector Generation is fixed to YUY2, so among the parameters below, choose the YUY2 parameters

​x
# View all parameters
./run_usb.sh trafficcamnet --help

# Use another video device
./run_usb.sh trafficcamnet --device /dev/video1

# Choose from the configurations found above that the camera supports; here we use 1280×720, 9FPS
./run_usb.sh trafficcamnet --width 1280 --height 720 --fps 9

5. CSI Camera Real-Time Detection

5.1 Direct Run

CSI uses the Jetson Argus camera link, not the USB/V4L2 path of /dev/video0. Before starting, connect a supported CSI camera, confirm the sensor driver and Argus service are working, and operate in a Jetson desktop/VNC graphical session.

xxxxxxxxxx
cd ~/DeepStream/tao-toolkit-shell-demo
./run_csi.sh trafficcamnet

Whether the sensor is available depends on the specific carrier board, cable, camera module, and device tree/driver configuration. If startup fails, first check the camera connection, sensor driver, and Argus logs, then look at the first DeepStream error; do not treat the USB /dev/video0 format check result as evidence that CSI is working. The CSI real-time entry is currently also for preview only, so do not assume it will generate an MP4.

To exit, press Ctrl+C once in the launching terminal, wait for the application and camera streaming to exit before starting other programs. CSI live preview is connected; frame rate depends on model load and camera configuration.

5.2 Common Parameters

Before running, you can check the formats, resolutions, and frame rates supported by the camera; this must be run in a graphical interface:

xxxxxxxxxx
gst-launch-1.0 nvarguscamerasrc

xxxxxxxxxx
# View all parameters
./run_csi.sh trafficcamnet --help

# Use the second CSI camera
./run_csi.sh trafficcamnet --sensor-id 1

# Adjust input size and frame rate
./run_csi.sh trafficcamnet --width 1920 --height 1080 --fps 30

6. Common Issues

SymptomCheck and Handling
Failed to load config fileConfirm launching from ~/DeepStream/tao-toolkit-shell-demo; check whether the configuration path referenced by the launcher still points to the official TAO demo directory.
Input file not found or cannot be decodedConfirm video_in/sample_1080p_h265.mp4 exists; use gst-discoverer-1.0 to check the encoding, and confirm the input URI points to a local file on the Jetson.
No preview windowConfirm the command is started in a Jetson desktop/VNC graphical session; check whether DISPLAY and X authorization are set correctly by the launcher.
Could not open ...mp4 for writingConfirm video_out/ exists, disk space is sufficient, and the current user has write permission; check whether another process is occupying the output file.
Message that the engine does not match the device/versionThe engine relates to the GPU, TensorRT, CUDA, precision, and batch configuration. First verify the course environment; only after confirming the engine really does not match, rebuild it on the target Jetson following the project process and re-verify.
Tracker user-meta warnings appearThis case has shown non-blocking warnings such as Unable to acquire a user meta buffer. If the pipeline still runs, EOS is received normally, and the output is parseable, accept based on the full-chain results; if the pipeline exits or there is no output, locate the issue with the surrounding logs.
Output exists but the player cannot open it or cannot seekWait for the application to fully exit before checking; use gst-discoverer-1.0 to confirm the container and seekable state. If it is still abnormal, regenerate the output with one natural run and check whether it was previously force-terminated.
USB camera cannot be openedConfirm device nodes such as /dev/video0 exist, the format is supported, the user has access permission, and the device is not occupied by another process.
USB streams but no previewConfirm launching in a graphical desktop/VNC session; check for camera format negotiation or display sink errors.
CSI reports source not found or no image at startupConfirm a compatible CSI sensor is connected, check the cable, sensor driver, Argus service, and camera occupancy, then look at the first DeepStream error.
Want to check the recording after running USB/CSIThe camera entries currently only preview and do not produce the MP4 output of this case; recording capability needs to be configured and verified separately, and the output path of the offline video mode cannot be used for acceptance.

When troubleshooting, first keep the complete launch command and the logs near the first error; do not directly delete engines, modify multiple configurations, or reinstall DeepStream.

Multi-view 3D tracking
Person object detection

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文