[Support]: Masking out false alarm event recordings caused by light emitting from window & door
See original GitHub issueDescribe the problem you are having
False alarm event recordings due to windows lighting up from hallway, tried to mask out the area but my config doesn’t seem to work.
Version
2.3
Frigate config file
'''cameras:
Driveway_Bottom:
ffmpeg:
input_args: -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1
inputs:
- path: rtsp://user:pass@192.168.1.15:554/Streaming/channels/202
roles:
- rtmp
- detect
detect:
width: 640
height: 480
fps: 5
objects:
track:
- person
- car
- dog
filters:
person:
min_score: 0.5
threshold: 0.65
mask:
- 640,0,640,229,564,206,448,133,0,126,0,0
dog:
min_score: 0.5
threshold: 0.7
mask:
- 640,0,640,229,564,206,448,133,0,126,0,0
car:
min_score: 0.5
threshold: 0.7
mask:
- 640,0,640,229,564,206,448,133,0,126,0,0
motion:
mask:
- 640,0,640,229,564,206,448,133,0,126,0,0
snapshots:
enabled: True
timestamp: False
bounding_box: True
crop: False
retain:
default: 3
'''
Relevant log output
N/A
FFprobe output from your camera
N/A
Frigate stats
N/A
Operating system
HassOS
Install method
HassOS Addon
Coral version
USB
Network connection
Wired
Camera make and model
Hikvision
Any other information that may be helpful
I have posted my Camera config above but I am wondering if I have mis-interpreted how to configure the various sections properly. Reading through the Doc’s, it’s a little bit confusing whether certain sections should be grouped or segregated in their own right.
As you can see from the config, there is a mask entered in several times to try and make this area of the footage ignored (as this is where the window and door are that cause the event recording.
Below is a screenshot of the mask and an event recording showing the lit up window and door which is still happening despite this mask.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
Thanks Mincka, I can see I missed the bottom of the door through the van window. I have just modified the mask to cut that out too and am about to test 👍
Oppps, forgot, thanks.