中位數濾波視窗 5 -> 7: 修正行駛中連續讀不到被誤判成停車
'讀不到當0' 遇到行駛中連續 3 格空白時,5 格視窗會被 3 個 0 佔多數而誤判停車, 再被起步門檻串到後面真停車一起誤刪(實例: 02 的 02:50~03:11 時速29~88行駛被剪)。 視窗放大到 7 可容忍最多 3 連續空白,行駛不再誤判;同時仍能蓋掉停車時的孤立誤讀。 實測 02: #3 由 02:50~03:32(42s)縮為 03:11~03:32(21s),只剪真停車; 05:18~07:45 仍正確合為一段。 本次修正由 Claude Opus 4.8 (1M context) 協助處理。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@
|
||||
"stop_seconds": 4.0,
|
||||
"speed_threshold": 0,
|
||||
"min_confidence": 0.5,
|
||||
"smooth_window": 5,
|
||||
"smooth_window": 7,
|
||||
"depart_seconds": 8.0,
|
||||
"cut_before_stop": 2.0,
|
||||
"keep_after_stop": 2.0,
|
||||
|
||||
Reference in New Issue
Block a user