Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported config option: region-file #153

Closed
lublak opened this issue Feb 27, 2024 · 3 comments
Closed

Unsupported config option: region-file #153

lublak opened this issue Feb 27, 2024 · 3 comments
Labels

Comments

@lublak
Copy link

lublak commented Feb 27, 2024

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:

  • OS: Windows 10
  • Python Version: I downloaded the portable exe
  • OpenCV Version: I downloaded the portable exe
@Breakthrough
Copy link
Owner

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
Copy link
Contributor

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
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants