Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 06:51
· 9 commits to main since this release
8c9c87f

Added

  • dfine-s-amodal (obendidi/dfine-s-amodal-crowd-ONNX, 43.2 MB FP32 / 21.8 MB FP16) and dfine-m-amodal (obendidi/dfine-m-amodal-crowd-ONNX, 80.8 MB FP32 / 40.6 MB FP16) 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 reach 49.9 / 51.2 HOTA (59.3 / 61.6 IDF1, 42.3 / 44.2 MOTA vs 48.7 for dfine-s-crowd and 45.1 for rtdetr-v2-r18). Paired with nltrack --reid vit-tiny --postprocess and the static spectator gate (auto / on for sports), the 100% Apache-2.0 stack reaches 54.25 / 54.65 (dfine-s-amodal, 45.9 FPS CoreML FP32 / 60.2 FPS FP16) and 54.76 / 55.22 (dfine-m-amodal, 29.6 / 36.2 FPS 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 score 0.4–0.5 HOTA lower. ModelSpec now supports per-preset available_precisions so presets without INT8 artifacts fail loudly on --precision int8.
  • --static-crowd-gate off|auto|on for trackflow run --postprocess (TrackflowPipeline(static_crowd_gate=...), or suppress_static_background on postprocess_records and postprocess_tracks_array) that drops seated spectators behind moving players in sports footage. auto turns on only when a scene splits into a moving foreground and a static background crowd: across the 81 validation videos it lifts SportsMOT HOTA from 32.0 to 58.0 with dfine-m-amodal + vit-tiny and changes MOT17, MOT20, and DanceTrack by less than 0.002. The default is off. scripts/eval_benchmarks.py gains the same flag.
  • vit-tiny commercial-safe person Re-ID preset (--reid vit-tiny, obendidi/reid-vit-tiny-ONNX, Apache-2.0, 11.4 MB FP16 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 --postprocess reaches 45.0 mean HOTA (47.8 DanceTrack, 53.8 SportsMOT, 50.6 MOT17, 27.8 MOT20; 4,132 ID switches) vs 44.7 (4,293 ID switches) for MSMT17 osnet, lifts dfine-s-person DanceTrack/SportsMOT AssA by +2.08 / +2.85, raises 81-video cross-exit --reid-merge Best F1 from 45.0% to 59.0%, and cuts M4 Pro CoreML Re-ID time by 38% (18.9 vs 30.4 ms/f). ReidEmbedder now detects static batch inputs automatically on all execution providers.
  • dfine-s-person detector 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 reaches 48.3 HOTA on MOT17 (vs 45.1 for rtdetr-v2-r18) and 35.7 on MOT20 (vs 23.5), and runs at 41.4 FPS on M4 Pro CoreML (vs 10.0). It scores lower on SportsMOT (35.4 vs 42.0) because it also detects spectators.
  • dfine-s-crowd detector 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 by dfine-s-person. With ByteTrack it reaches 42.2 HOTA on MOT20 (vs 35.7 for dfine-s-person and 23.5 for rtdetr-v2-r18) and 48.7 on MOT17, but 27.0 on SportsMOT (vs 35.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 (with resume=True support), 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 Rust NativeWorldFusion (with TRACKFLOW_BACKEND=python parity): 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 deduplicated world_tracks.parquet + camera_tracks.parquet, and includes scripts/eval_multicam.py (synthetic occlusion/handoff benchmark + Wildtrack eval-only loader).
  • Local Trackflow MCP stdio server (trackflow mcp, optional [mcp] extra with MIT-licensed duckdb>=1.3 and mcp>=1.8): exposes list_runs, query_dwell, query_line_counts, sandboxed read-only query_sql, search_tracks, and fail-closed privacy-enforced export_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 nltrack or bytetrack, run the offline --postprocess pass, count line crossings, pixelate people, and record MP4, with nothing uploaded. tests/test_web_parity.py checks 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