DVR-Scan 1.6 greatly improves masking capabilities with the new region editor (user guide):
Multiple regions can now be defined with any shape, size, and complexity. Region data can be saved to a file and loaded again. Regions can also be specified by command line.
There are also several other bugfixes and improvements, such as improved seeking performance.
Changelog
- [feature] New region editor
-r/--region-editorallows creation of multiple regions without shape restrictions, replaces-roi/--region-of-interest - [feature] Multiple regions of interest (rectangular or polygonal) can now be created:
- Using the new region editor by adding the
-r/--region-editorflag:dvr-scan -i video.mp4 -r - New
-a/--add-regionreplaces-roi/--region-of-interestoption:dvr-scan -i video.mp4 -a 5 5 20 5 20 20 5 20 - Regions can now be saved to a file: press S in the region editor or use
-s/--save-region - Regions can now be loaded from a file: press O in the region editor or use
-R/--load-region - Config files can specify a region file to use by default with the
load-regionoption, replaces theregion-of-interestsetting
- Using the new region editor by adding the
- [feature] New
-fm/--frame-metricsoption draws motion score on each frame to help tune detection parameters - [cli] Short flag
-vis now used for--verbosity, replaced by-Vfor--version - [cli]
-roi/--region-of-interestis now deprecated, replaced by region editor and add/save/load region flags- Specifying this option will display the ROI in the new region format allowing you to update usages more easily
- [general] Improved seeking performance, using
-st/--start-timeis now much faster (#92)
-detection-parameters) - [general] Noise reduction kernel can now be disabled by setting
-k/--kernel-sizeto0(#123) - [general] Include stack traces in logfiles when setting
--verbosity debug - [bugfix] Add
max-scoreoption to config file to fix CNT mode always treating first few frame as motion, default is 255.0 #119 - [bugfix] Fix timecode format
HH:MM:SS[.nnn]being rejected for start/end time (#141) - [bugfix] Fix incorrect RGB mapping for config file (values were treated as BGR instead)
- [other] Config option
timecodehas been renamed totime-codeto match the command-line option - [other] Config options that started with
timecode-have been renamed to start withtext-, and are now shared between thetime-codeandframe-metricsoverlays:time-code-marginis nowtext-margintime-code-font-scaleis nowtext-font-scaletime-code-font-thicknessis nowtext-font-thicknesstime-code-font-coloris nowtext-font-colortime-code-bg-coloris nowtext-bg-color
Known Issues
- Some prebuilt archives include documentation which references the
load-regionconfig option with the incorrect name (region-file) #153

