Files
pose_tracking_exp/tests/test_detection_runner.py
crosstyan 481f6160ce fix(detection): preserve offline frames in the runner
Add an explicit source delivery policy to the detection pipeline so offline and realtime sources can be handled differently without splitting the runner.

Blocking sources now backpressure ingestion until their pending frame is drained, which preserves every offline video frame even when inference is slower than decode. Latest-only sources keep the previous overwrite behavior for realtime feeds such as cvmmap.

The tests now cover both policies: offline sources retain ordered frame delivery under slow inference, while latest-only sources still drop intermediate frames as intended.
2026-03-27 12:02:27 +08:00

9.6 KiB