allow mask to be base64 encoded into the config file

This commit is contained in:
Blake Blackshear
2020-07-25 08:11:05 -05:00
parent 1f03c8cb8c
commit e6c6338266
2 changed files with 10 additions and 2 deletions

View File

@@ -126,7 +126,9 @@ cameras:
# width: 720
################
## Optional mask. Must be the same aspect ratio as your video feed.
## Optional mask. Must be the same aspect ratio as your video feed. Value is either the
## name of a file in the config directory or a base64 encoded bmp image prefixed with
## 'base64,' eg. 'base64,asfasdfasdf....'.
##
## The mask works by looking at the bottom center of the bounding box for the detected
## person in the image. If that pixel in the mask is a black pixel, it ignores it as a