新增 min_real_zeros(真紅燈需≥N個真實0) + keep_after_stop 改 0

- min_real_zeros(3): 一段停止要含至少 N 個『真實讀到的 GPS=0』才算紅燈剪掉,
  讀不到(??)不算 → 濾掉『整段都讀不到』的假停車(OCR 失敗區,如 02 的 09:48/20:06)
- keep_after_stop 2->0: 不留卡達緩衝,直接剪到停車結束點(偵測到開始動那一刻)
實測 02: 假停車濾掉剩 9 段紅燈;#3 剪到 03:20、#9 剪到 19:17(真正起步點)。

本次調整由 Claude Opus 4.8 (1M context) 協助處理。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-04 00:02:05 +08:00
parent b26c32d410
commit c4a3fdde97
3 changed files with 16 additions and 4 deletions
+2 -1
View File
@@ -12,8 +12,9 @@
"min_confidence": 0.5,
"max_accel_kmh": 25,
"depart_seconds": 8.0,
"min_real_zeros": 3,
"cut_before_stop": 2.0,
"keep_after_stop": 2.0,
"keep_after_stop": 0.0,
"min_keep": 0.8,
"use_gpu": true,
"reencode": false,