Breakthrough / DVR-Scan

:vhs: Tool for extracting scenes with motion from videos (e.g. security camera or DVR footage). Written in Python, uses OpenCV.
http://www.dvr-scan.com/
Other
371 stars 49 forks source link

Unsupported config option: region-file #153

Closed lublak closed 5 months ago

lublak commented 7 months ago

Bug/Issue Description:

Currently i try to use the option region-file in the config. I get an error:

Unsupported config option: region-file

Required Information:

dvr-scan.exe --input 10.243.7.181_14.mxg --config dvr-scan.cfg

Computing Environment:

Breakthrough commented 7 months ago

Similar to #154 there is no way to specify a region file path with a config file. However I can consider adding it in a future version.

felixscheffer commented 5 months ago

I use load-region = region.txt in the config file and it works just fine:

[DVR-Scan] Loading regions from file: region.txt
[DVR-Scan] Limiting detection to 1 region.
Breakthrough commented 5 months ago

Sorry I realize now this was a mistake in the documentation, indeed the config option is called load-region. I'll push a fix for the docs soon, thanks!