chore: align stabilizer max_hold with FCP (10 frames)
This commit is contained in:
1 parent
3c354c6d81
commit
70acfbb90f
2 files changed
+7
-1
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ roi:
|
||||
|
||||
stabilizer:
|
||||
ema_alpha: 0.35
|
||||
max_hold: 25 # frames to hold occluded tracks (platform parity: 25 = ~1s @25fps)
|
||||
max_hold: 10 # FCP parity: predict.py:668 (max_hold_frames=10)
|
||||
|
||||
pipeline:
|
||||
detect_interval: 1 # detection+tracking every N frames (1 = every frame, most accurate)
|
||||
|
||||
@@ -135,3 +135,9 @@ def test_detection_thresholds_match_fcp():
|
||||
assert cfg["min_bbox_area"]["sack"] == 1500
|
||||
assert cfg["min_bbox_area"]["box"] == 1000
|
||||
assert cfg["min_bbox_area"]["truck"] == 5000
|
||||
|
||||
|
||||
def test_stabilizer_hold_matches_fcp():
|
||||
cfg = load_config()
|
||||
assert cfg["stabilizer"]["ema_alpha"] == 0.35
|
||||
assert cfg["stabilizer"]["max_hold"] == 10
|
||||
Reference in new issue
Block a user