Files
Redlight_Remover/config.json
T
JianMiau a972976e71 平滑改為『只對可信讀數取中位數、空白跳過』+ 信心門檻 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>
2026-06-03 22:07:27 +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.7,
"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"
}