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-editor
allows 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-editor
flag:dvr-scan -i video.mp4 -r
- New
-a
/--add-region
replaces-roi
/--region-of-interest
option: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-region
option, replaces theregion-of-interest
setting
- Using the new region editor by adding the
- [feature] New
-fm
/--frame-metrics
option draws motion score on each frame to help tune detection parameters - [cli] Short flag
-v
is now used for--verbosity
, replaced by-V
for--version
- [cli]
-roi
/--region-of-interest
is 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-time
is now much faster (#92)
-detection-parameters) - [general] Noise reduction kernel can now be disabled by setting
-k
/--kernel-size
to0
(#123) - [general] Include stack traces in logfiles when setting
--verbosity debug
- [bugfix] Add
max-score
option 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
timecode
has been renamed totime-code
to match the command-line option - [other] Config options that started with
timecode-
have been renamed to start withtext-
, and are now shared between thetime-code
andframe-metrics
overlays:time-code-margin
is nowtext-margin
time-code-font-scale
is nowtext-font-scale
time-code-font-thickness
is nowtext-font-thickness
time-code-font-color
is nowtext-font-color
time-code-bg-color
is nowtext-bg-color
Known Issues
- Some prebuilt archives include documentation which references the
load-region
config option with the incorrect name (region-file
) #153