
WEDA CV APP Object Counting Nvidia Thor
Config-driven YOLO object counting on Jetson Thor (JetPack 7.1): line, region and polygon counting with BoT-SORT/ByteTrack tracking, FP16 acceleration and built-in wise-bench hardware verification.
WEDA CV App Object Counting for NVIDIA Thor
A containerized, config-driven object counting application for real-time AI inference on NVIDIA Jetson Thor (JetPack 7.1). It is built on the Advantech WEDA-CV container platform and supports three counting modes: line crossing, rectangular region and arbitrary polygon. The application uses Ultralytics YOLO models with BoT-SORT or ByteTrack for persistent object tracking combined with line and region-crossing logic.
Release v1.0.1 (2026-08-05), QA release approved for partner distribution.
Key Features
- Unified counting logic. One application supports line counting (2-point line), region counting (4-point zone) and polygon counting (3+ points), selected by the
taskkey in the config. - Pure-YAML configuration. Model path, video source, counting task, ROI geometry, class filter, tracker selection, FP16 inference, resolution, frame skipping and output are all driven by
config/config.yaml. - Full hardware acceleration. Optimized access to NVIDIA Tensor Cores, video codec engines and GPU compute. FP16 inference is a single config toggle.
- Self-hydrating container. The entrypoint installs missing system dependencies and gates the Ultralytics install behind a BYOL/EULA acceptance workflow.
- Integrated hardware verification. The bundled
wise-benchvalidates the GPU passthrough chain, framework stack and inference throughput before any application code runs.
Use Case Scenario
- Line counting: doorway traffic, road lane counting, conveyor belt monitoring.
- Region counting: parking occupancy, loading dock monitoring, retail area analysis.
- Polygon counting: irregular areas, intersection analysis, custom geofenced regions.
Inputs can be a video file, a USB webcam, an RTSP stream or an image directory. The annotated result is written to output/counted_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+. CUDA, cuDNN and TensorRT do not need to be installed on the host.
Getting Started
cp /path/to/your/video.mp4 data/test.mp4 # optional custom source
# set ACCEPT_ULTRALYTICS_EULA=true in .env
chmod +x *.sh wise-bench
./build.sh # pull, launch, hydrate, open a shell
./wise-bench # verify GPU passthrough and framework stack
python3 src/weda-object_counter.py # run the demo
./build.sh --stop # from the host
First launch hydrates the environment in roughly 70 seconds on a Jetson Thor.
For installation, setup, build, and development instructions, please refer to the WEDA CV App Object Counting 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 (TensorRT and CUDA execution providers) |
| 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 and changes take effect without rebuilding the image.
Container Name
WEDA CV APP Object Counting Nvidia Thor
Description
Config-driven YOLO object counting on Jetson Thor (JetPack 7.1): line, region and polygon counting with BoT-SORT/ByteTrack tracking, FP16 acceleration and built-in wise-bench hardware verification.
Publisher
Advantech
Released Date
2026/11/30
Categories