Trackflow¶
Local people and object tracking in Python and the browser, licensed under Apache-2.0.
Trackflow pairs ONNX Runtime detectors (rtdetr-v2-r18, rfdetr-*, dfine-*, optional yolo26*, deimv2-*, or hf: Transformers) with four multi-object trackers (ByteTrack, BoT-SORT, OC-SORT, BoostTrack++). It streams or exports structured tables (Parquet, JSONL, CSV, MOTChallenge, HTML), searches tracks in plain English (CLIP, SigLIP, SigLIP 2, EmbeddingGemma 2), counts line crossings, projects trajectories onto a 4-point floorplan, and anonymizes footage locally.

trackflow run crossing.mp4 with default settings at 12 FPS on an Apple M4 Pro CPU. Footage: 8 seconds of DiagonalCrosswalkYongeDundas.webm by Raysonho, CC0.
Try it directly in your browser without installing anything: WebGPU / WASM Browser Demo.
One-command quickstart¶
Pick the command that matches your machine. GPU packages bundle CUDA, cuDNN, and TensorRT wheels so you do not need to install the CUDA Toolkit or set LD_LIBRARY_PATH.
After a run finishes, open the local inspector or verify your active hardware provider:
trackflow inspect # opens the latest run in a local web UI
trackflow info # prints GPU, ONNX Runtime providers, and recommended command
Where to go next¶
| Goal | Page |
|---|---|
| Choose the right package, check GPU providers, or run in Docker | Installation & Hardware |
| Pick between ByteTrack, BoT-SORT, OC-SORT, and BoostTrack++ | Trackers |
Check model licenses, sizes, precisions, or load custom ONNX / hf: weights |
Models & Licenses |
| Search tracks in plain English or re-link people across exits | Text Search & Re-ID |
| Count doorway crossings, calibrate a floorplan, query Parquet, or blur people | Analytics, Inspector & Privacy |
| See 4-dataset HOTA scores, PA-100K/UPAR search mAP, and NVIDIA T4 / L4 speeds | Benchmarks |
| Replace Google Cloud Video Intelligence or AWS Rekognition | Google Cloud · AWS Rekognition |
| Look up CLI flags, output files, Parquet schema, or Python classes | CLI & Output Schema · Python API |