平滑改為『只對可信讀數取中位數、空白跳過』+ 信心門檻 0.7

原本『讀不到一律當0』會把行駛中的慢速起步(creep, 如3/7/12km/h)+空白蓋成停,
誤剪掉起步畫面(實例: 02 的 03:25 起步被剪到 03:32)。
改為: 平滑時跳過空白/低信心,只對可信讀數取中位數;整個視窗都讀不到才當0。
停車段空白被周圍0判成停、行駛段空白被周圍車速判成動,兩者兼顧。
信心門檻 0.5->0.7,濾掉停車時的低信心誤讀(如把0看成70@0.57)。
實測 02: #3 由 03:11~03:32 縮為 03:13~03:20(creep 保留)。

本次調整由 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-03 22:07:27 +08:00
parent e2647eca05
commit a972976e71
3 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
"progress_every": 60,
"stop_seconds": 4.0,
"speed_threshold": 0,
"min_confidence": 0.5,
"min_confidence": 0.7,
"smooth_window": 7,
"depart_seconds": 8.0,
"cut_before_stop": 2.0,