Files
Redlight_Remover/config.json
T
JianMiau b8d82bdef5 中位數濾波視窗 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>
2026-06-03 21:33:57 +08:00

30 lines
593 B
JSON

{
"roi": [
3300,
1770,
300,
140
],
"sample_interval": 1.0,
"progress_every": 60,
"stop_seconds": 4.0,
"speed_threshold": 0,
"min_confidence": 0.5,
"smooth_window": 7,
"depart_seconds": 8.0,
"cut_before_stop": 2.0,
"keep_after_stop": 2.0,
"min_keep": 0.8,
"use_gpu": true,
"reencode": false,
"transition": true,
"transition_duration": 1.0,
"video_transition": "fadeblack",
"video_quality": 30,
"volume_boost": true,
"volume_boost_percent": 30,
"hard_limiter": true,
"lowpass": true,
"lowpass_hz": 15000,
"base_dir": "E:\\videos"
}