Repository navigation
v0.8.0
Added
dfine-s-amodal(obendidi/dfine-s-amodal-crowd-ONNX,43.2 MBFP32 /21.8 MBFP16) anddfine-m-amodal(obendidi/dfine-m-amodal-crowd-ONNX,80.8 MBFP32 /40.6 MBFP16) commercial-safe Apache-2.0 amodal full-body crowd detector presets (640×960, trained strictly on COCO 2017 and Open Images V5/V6 with COCO-only init — zero CrowdHuman, Objects365, or MOT benchmark frames; recommended--threshold 0.55). On MOT17 with ByteTrack they reach49.9/51.2HOTA (59.3/61.6IDF1,42.3/44.2MOTA vs48.7fordfine-s-crowdand45.1forrtdetr-v2-r18). Paired withnltrack --reid vit-tiny --postprocessand the static spectator gate (auto/onfor sports), the 100% Apache-2.0 stack reaches54.25/54.65(dfine-s-amodal,45.9FPS CoreML FP32 /60.2FPS FP16) and54.76/55.22(dfine-m-amodal,29.6/36.2FPS CoreML) mean HOTA across all 81 official validation videos. The threshold and spectator gate were tuned on 23 of those videos; on the 58 untuned DanceTrack and SportsMOT videos both stacks score0.4–0.5HOTA lower.ModelSpecnow supports per-presetavailable_precisionsso presets without INT8 artifacts fail loudly on--precision int8.--static-crowd-gate off|auto|onfortrackflow run --postprocess(TrackflowPipeline(static_crowd_gate=...), orsuppress_static_backgroundonpostprocess_recordsandpostprocess_tracks_array) that drops seated spectators behind moving players in sports footage.autoturns on only when a scene splits into a moving foreground and a static background crowd: across the 81 validation videos it lifts SportsMOT HOTA from32.0to58.0withdfine-m-amodal+vit-tinyand changes MOT17, MOT20, and DanceTrack by less than0.002. The default isoff.scripts/eval_benchmarks.pygains the same flag.vit-tinycommercial-safe person Re-ID preset (--reid vit-tiny,obendidi/reid-vit-tiny-ONNX, Apache-2.0,11.4 MBFP16 ONNX, static batch 8): distilled from an Apache-2.0 DINOv2-Base teacher strictly on CC-BY/public-domain data (MEVID, SA-V Subset 51, Open Images V7, and CC-BY/PD COCO 2017; zero MSMT17 or MOT benchmark data). Across all 81 official validation videos (rtdetr-v2-r18),nltrack --reid vit-tiny --postprocessreaches45.0mean HOTA (47.8DanceTrack,53.8SportsMOT,50.6MOT17,27.8MOT20;4,132ID switches) vs44.7(4,293ID switches) for MSMT17osnet, liftsdfine-s-personDanceTrack/SportsMOT AssA by+2.08/+2.85, raises 81-video cross-exit--reid-mergeBest F1 from45.0%to59.0%, and cuts M4 Pro CoreML Re-ID time by 38% (18.9vs30.4 ms/f).ReidEmbeddernow detects static batch inputs automatically on all execution providers.dfine-s-persondetector preset (obendidi/dfine-s-person-ONNX, Apache-2.0): a person-only D-FINE-S at 640×960 fine-tuned for crowds on Open Images and COCO, with no CrowdHuman or benchmark data. With ByteTrack it reaches48.3HOTA on MOT17 (vs45.1forrtdetr-v2-r18) and35.7on MOT20 (vs23.5), and runs at41.4FPS on M4 Pro CoreML (vs10.0). It scores lower on SportsMOT (35.4vs42.0) because it also detects spectators.dfine-s-crowddetector preset (obendidi/dfine-s-crowd-ONNX, Apache-2.0): a person-only D-FINE-S at 640×960 for dense crowds, additionally trained on 27,817 Open Images crowd photos labelled bydfine-s-person. With ByteTrack it reaches42.2HOTA on MOT20 (vs35.7fordfine-s-personand23.5forrtdetr-v2-r18) and48.7on MOT17, but27.0on SportsMOT (vs35.4) because it detects spectators.- 24/7 production streaming runtime (
StreamSupervisor,RollingObservationWriter,--roll-seconds,--max-segments,--read-timeout,--reconnect/--no-reconnect): resilient single-owner RTSP/HTTP capture with exponential-backoff reconnect, monotonic epoch/ID-offset resets, atomic rolling Parquet/JSONL segments +manifest.json(withresume=Truesupport), bounded live memory across trajectories/line states/cards, and a 4-stream fault-injecting soak harness (scripts/soak_streams.py). - Bounded-RAM sliding-window streaming post-processor (
StreamingPostprocessor,TrackflowPipeline(..., postprocess_mode="stream"),trackflow run --postprocess-mode stream) with window-local frame indexing, real timestamp preservation, EMA-stabilized Re-ID calibration, and provenance-pinned canonical IDs. - Multi-camera world-space fusion (
WorldFusionTracker,MultiCameraPipeline,trackflow multi) backed by native RustNativeWorldFusion(withTRACKFLOW_BACKEND=pythonparity): projects calibrated camera foot points + Jacobian covariances onto a shared metric floorplan (FloorplanHomography.from_matrix,project_with_covariance,calibrate_floor_error), fuses views via per-camera LAP + mutual-compatibility gating + inverse-covariance updates, writes deduplicatedworld_tracks.parquet+camera_tracks.parquet, and includesscripts/eval_multicam.py(synthetic occlusion/handoff benchmark + Wildtrack eval-only loader). - Local Trackflow MCP stdio server (
trackflow mcp, optional[mcp]extra with MIT-licensedduckdb>=1.3andmcp>=1.8): exposeslist_runs,query_dwell,query_line_counts, sandboxed read-onlyquery_sql,search_tracks, and fail-closed privacy-enforcedexport_clip.
Changed
- The browser playground is now a local tracking studio that runs Trackflow's Rust core compiled to WebAssembly instead of a JavaScript port of ByteTrack. Drop in a video or use the webcam, track with
nltrackorbytetrack, run the offline--postprocesspass, count line crossings, pixelate people, and record MP4, with nothing uploaded.tests/test_web_parity.pychecks that the WebAssembly and native trackers produce the same IDs. - README and models guide now flag that the
rfdetr-*weights were pretrained on Objects365, whose terms limit the dataset to academic use.
Install with pip install trackflow-python==0.8.0 (CPU/macOS), pip install trackflow-python-cuda==0.8.0 (NVIDIA CUDA), or pip install trackflow-python-tensorrt==0.8.0 (NVIDIA TensorRT).
What's Changed
- docs: refresh tracker benchmarks and chart for v0.7.0 by @obendidi in #151
- feat: add dfine-s-person crowd detector preset (+12 MOT20 HOTA) by @obendidi in #152
- feat: add dfine-s-crowd dense-crowd detector preset by @obendidi in #153
- docs: flag Objects365 pretraining on rfdetr presets by @obendidi in #154
- feat: upgrade browser playground to Rust-WASM studio (NLTrack, ByteTrack, postprocess) by @obendidi in #155
- feat: add 24/7 streaming runtime, multi-camera fusion, and MCP server by @obendidi in #156
- feat: add vit-tiny commercial-safe Apache-2.0 Re-ID preset by @obendidi in #157
- feat: add static background crowd suppression gate to --postprocess by @obendidi in #158
- feat: add dfine-s-amodal and dfine-m-amodal commercial-safe crowd presets by @obendidi in #159
- docs: note spectator gate API and tuning overlap for amodal presets by @obendidi in #160
- feat: add --static-crowd-gate to trackflow run by @obendidi in #162
- chore: prepare v0.8.0 release by @obendidi in #161
Full Changelog: v0.7.0...v0.8.0