r/computervision • u/LesserNice • 1h ago
Showcase Built an Apache-2.0 local object tracking toolkit (ONNX + WebGPU) and benchmarked it against Roboflow trackers on 81 videos
I built Trackflow, an Apache-2.0 CLI and Python library for running multi-object tracking locally on ONNX Runtime without AGPL dependencies or cloud APIs (`uvx trackflow-python run street.mp4`), plus a WebGPU demo in the browser.
How it is put together:
- Detectors: pinned Apache-2.0 ONNX presets (RT-DETRv2, D-FINE, RF-DETR), running at around 9 to 10 FPS end-to-end on an Apple M4 Pro laptop.
- Trackers: ByteTrack, BoT-SORT, OC-SORT, and BoostTrack++ sharing foreground-masked RANSAC camera-motion compensation, a [cx, cy, w, h] noise-scaled Kalman filter, and height-modulated IoU.
- Analysis: exports to Parquet/DuckDB or MOTChallenge format, includes a local run inspector with 4-point floorplan projection, and supports natural-language track search (CLIP, pure-ONNX INT8 SigLIP 2, or EmbeddingGemma 2) plus prompt export for SAM 3.
Benchmarks (attached charts):
Every tracker got the exact same RT-DETRv2-R18 detections at 0.45 threshold across all 4 official validation splits (DanceTrack 25, SportsMOT 45, MOT17 7, MOT20 4).
Trackflow averages 37.9 to 38.8 HOTA versus 34.3 to 37.5 for matched-threshold Roboflow `trackers==2.7.0`.
Repo and reproduction scripts (Apache-2.0): https://github.com/obendidi/trackflow
Browser demo (WebGPU, no install): https://obendidi.github.io/trackflow/


