Repository navigation
Added
--save-crops/--no-save-cropsfortrackflow run(TrackflowPipeline(save_crops=...)) controls the raw per-track thumbnails undercrops/separately from--anonymize.
Changed
trackflow runon a live source (camera, RTSP/HTTP stream) embeds at most 48 people per frame for Re-ID, a different subset each frame; the tracker matches the rest by motion. On dense MOT20 crowd replays (about 180 people per frame) an M4 Pro now processes about twice as many frames (5.5→12.7FPS on MOT20-05,6.4→12.9on MOT20-03) with the same line-count accuracy. Video files and image folders still embed every person.- 24/7
--roll-secondsruns no longer save raw person thumbnails by default; pass--save-cropsto keep them. Anonymized runs still never save them, and--save-cropswith--anonymizeis an error.
Fixed
- CLI help now shows the
[transformers],[sam2], and[mcp]extras and the optionalname=prefix of--line, whichtrackflow run,multi,mcp, andmodelsused to drop. - The 0.8.0 notes listed
resume=Truesupport for rolling 24/7 runs, which does not exist; a restarted stream writes a new run directory. trackflow runandtrackflow multitreat SIGTERM (systemctl stop,docker stop) like the first Ctrl-C: they stop reading frames and still write every output, instead of exiting withoutsummary.json.- A
--roll-secondsrun that fails or stops before its first frame (for example, a camera that cannot be opened) no longer leaves a run folder whosemanifest.jsonsays it is still live.
Install with pip install trackflow-python==0.9.0 (CPU/macOS), pip install trackflow-python-cuda==0.9.0 (NVIDIA CUDA), or pip install trackflow-python-tensorrt==0.9.0 (NVIDIA TensorRT).
What's Changed
- fix: keep literal brackets in CLI help by @obendidi in #163
- fix: stop cleanly on SIGTERM and drop unused rolling output by @obendidi in #164
- feat: add --save-crops and skip raw crops on rolling runs by default by @obendidi in #165
- docs: add agents and MCP guide by @obendidi in #166
- feat(scripts): add agent benchmark harness by @obendidi in #167
- perf: cap Re-ID crops per frame on live sources by @obendidi in #168
- chore: prepare v0.9.0 release by @obendidi in #169
Full Changelog: v0.8.0...v0.9.0