
WEDA CV APP Instance Segmentation Nvidia Thor
Config-driven YOLO instance segmentation and multi-object tracking engine for Jetson Thor (JetPack 7.1): BoT-SORT/ByteTrack, UMA zero-copy buffers, FP16 TensorRT, USB/RTSP/file inputs.
WEDA CV App Instance Segmentation for NVIDIA Thor
A production-grade, config-driven inference engine for real-time instance segmentation and multi-object tracking on NVIDIA Jetson Thor (JetPack 7.1), built on the Advantech WEDA-CV container platform. The engine runs YOLO segmentation models (PyTorch, ONNX, TensorRT) with BoT-SORT or ByteTrack for persistent object identity, and a dedicated UMA memory manager exploits Jetson's unified memory for zero-copy frame I/O.
Engine version 3.0.0 (release notes 2026-03-24), QA release approved for partner distribution.
Key Features
- Config-driven architecture. Model selection, video source, class filtering, visualization, output format and performance tuning are controlled through one YAML file.
- UMA zero-copy memory optimization. CUDA pinned frame buffers remove per-frame allocation overhead and are directly GPU-accessible on Jetson.
- Threaded camera reader and async video writer. Capture and encoding run in background threads, removing 10 to 15 ms per frame on typical 1080p workloads.
- V4L2 direct backend. Camera sources default to V4L2 with MJPG capture.
- Hybrid annotation. Mask and box rendering uses Ultralytics' C++-optimized plotting with lightweight OpenCV track-ID labels on top.
- Self-hydrating container and wise-bench verification.
Measured on Jetson Thor with yolo26n-seg.pt, FP16, 640 px, ByteTrack: 34.3 FPS on a 1280x720 video file and 30 FPS on a 640x480 USB camera (camera-bound).
Use Case Scenario
Person tracking on an RTSP stream (config/person_tracking.yaml) and vehicle segmentation on recorded video (config/vehicle_segmentation.yaml) ship as example configurations. Inputs can be a video file, USB webcam, RTSP or HTTP stream; the annotated output is written to output/segmented_output.avi.
Prerequisites
Host Device
JetPack 7.1 host (Ubuntu 24.04 with NVIDIA L4T R38.2.2), arm64. Docker 24+, Docker Compose v2.28+, NVIDIA Container Toolkit 1.14+.
Getting Started
# set ACCEPT_ULTRALYTICS_EULA=true in .env
chmod +x *.sh wise-bench
./build.sh # pull, launch, hydrate, open a shell
./wise-bench # verify the stack
python3 src/instance_segmentation.py # default config
python3 src/instance_segmentation.py --config config/person_tracking.yaml
./build.sh --stop # from the host
For installation, setup, build, and development instructions, please refer to the WEDA CV App Instance Segmentation for NVIDIA Thor in the repository.
What’s Included
| Component | Version |
|---|---|
| Base image | weda-cv:1.0.0-thor |
| PyTorch | 2.10.0 (CUDA 13.0) |
| OpenCV | 4.13.0 (GStreamer + CUDA) |
| TensorRT | 10.x |
| ONNX Runtime | 1.24.0 |
| Ultralytics | 8.4.24 (installed via BYOL after EULA acceptance) |
| Python | 3.12 |
Integration with WEDA
The demo is a docker-compose.yml stack on the WEDA-CV container platform with build.sh lifecycle scripts, so it can be deployed and managed through WEDA container management. Source, config and data directories are mounted read-only from the host.
Container Name
WEDA CV APP Instance Segmentation Nvidia Thor
Description
Config-driven YOLO instance segmentation and multi-object tracking engine for Jetson Thor (JetPack 7.1): BoT-SORT/ByteTrack, UMA zero-copy buffers, FP16 TensorRT, USB/RTSP/file inputs.
Publisher
Advantech
Released Date
2026/11/30
Categories