Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Examples

Runnable demos live under examples/ in the repository, with a Python and a Rust entry per tracker.

TrackerPythonRust
ByteTrackbyte_track_demo.pybyte_track_demo.rs
DeepSORTdeepsort_demo.pydeepsort_simple.rs, deepsort_ort.rs
OC-SORTocsort_demo.py-
SORTsort_yolo_demo.py, sort_rtdetr_demo.py-
All fourtracker_comparison.py-
# Python
python examples/python/byte_track_demo.py

# Rust
cargo run --example byte_track_demo
cargo run --example deepsort_simple
cargo run --example deepsort_ort --features advanced_examples

The Python demos use the usual detector stacks (ultralytics, transformers + torch, torch + torchvision); install what a given demo imports. The deepsort_ort Rust demo needs the advanced_examples feature (ONNX Runtime + OpenCV).