Motion mask not working on specific camera #3476
Replies: 3 comments 11 replies
-
Where did you see that? Motion masks are explicitly not to be used for this purpose as explained here https://docs.frigate.video/configuration/masks Frigate is designed to have only non objects masked off. Use zones to ignore objects that don't enter an area of interest |
Beta Was this translation helpful? Give feedback.
-
|
OK, that clarifies why it's not working.
And further down:
So I concluded: No motion == no object detection
Good to know that's how Frigate works. I would argue that it's not desirable to have continuous object detection in uninterested areas, since it demands resources of the host system for detecting objects in places the user has no interest in. I'll try using zones instead of motion masks, thanks for explaining! |
Beta Was this translation helpful? Give feedback.
-
|
I think I need some help on the zone configuration, since it's still detecting cars in the street even after defining a zone for the area excluding the street. My camera config looks like so: street:
ffmpeg:
input_args: -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an
rtmp: -c:v libx264 -an -f flv
inputs:
- path: http://x.x.x.x/videostream.cgi
roles:
- detect
- record
- rtmp
zones:
without_street:
coordinates: 0,0,170,0,160,71,287,126,271,243,433,381,532,480,0,480
objects:
- person
- car
- cat
- dog
detect:
width: 640
height: 480
objects:
track:
- person
- car
- cat
- dogThe docs aren't quite clear (to me at least) about how to configure the tracked objects (in general this is not very clear in the docs, just a list of objects frigate can track) vs objects limited to a specific zone. Should I remove the |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
Thanks for this great product, I spent an afternoon setting it up with 3 camera's and it's mostly working fine!
I have 1 issue though: Some of my camera's see a portion of the street I live in, and I'm not interested in all people/cars passing through my street, I tried masking the street area with a motion mask, since by reading the docs that seems to be the recommended way to disable object detection completely in a certain area.
For 1 camera this works fine, on another camera however, it just keeps detecting objects passing through the street.
I can see the mask in the debug view, and can confirm there are no motion boxes appearing in the masked area, so why is Frigate still detecting objects there?
Beta Was this translation helpful? Give feedback.
All reactions