Hi,
I'm having difficulty preventing a camera from detecting a motorcycle on a camera. It's inside a garage, so not an important detection, yet it's flooding the records. This is what I've tried.
frigate_reolink_e1_shop:
ffmpeg:
inputs:
- path: rtsp://admin:xxx@192.168.254.203:2554/Preview_01_sub
roles:
- detect
- path: rtsp://admin:xxx@192.168.254.203:2554/Preview_01_main
roles:
- record
detect:
enabled: true # <---- turn on detection
onvif:
host: 192.168.254.203
user: admin
password: xxx
motion:
mask: 0.693,0.073,0.691,0.015,0.997,0.012,0.994,0.07
zones:
Whole_Shop:
coordinates: 0,0,1,0,1,1,0,1
loitering_time: 0
objects:
- person
My goal is to only trigger detection for persons.
Per https://docs.frigate.video/configuration/zones#zone-loitering, I thought my config should work.
Thanks for any assistance!
Zones allow you to define a specific area of the frame and apply additional filters for object types so you can determine whether or not an object is within a particular area. Presence in a zone is evaluated based on the bottom center of the bounding box for the object. It does not matter how much of the bounding box overlaps with the zone.