[Detector Support]: Help with consistent false positive in one area #15621
-
Describe the problem you are havingI'm getting false positive 'person' detection alerts for one specific area of my yard consistently. See below for the latest example: It's a mulch bed so I have that area object masked (see below), but it's still throwing out false positives. Some of the area in the red box above is my driveway which I don't want object masked. Any suggestions on how to fine tune my config to avoid these? Thanks! Version0.15.0-e76f4e9 Frigate config filemqtt:
host: 192.168.107.2
port: 1883
user: user
password: password
topic_prefix: frigate
go2rtc:
streams:
Driveway:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
Driveway_sub:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
webrtc:
candidates:
- 192.168.107.3:8555
- stun:8555
detectors:
coral:
type: edgetpu
device: usb
cameras:
Driveway:
ui:
order: 2
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Driveway
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/Driveway_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
enabled: true
width: 704
height: 480
fps: 10
record:
enabled: true
retain:
days: 7
alerts:
retain:
days: 30
detections:
retain:
days: 30
objects:
track:
- person
mask:
- 0.192,0.595,0.795,0.662,1,1,0.001,0.996,0.004,0.703
- 0.965,0.692,0.911,0.659,0.692,0.382,0.788,0.327,0.859,0.325,0.93,0.363,0.99,0.44,0.999,0.512
version: 0.15-0 docker-compose file or Docker CLI commandn/a Relevant Frigate log outputn/a Install methodDocker Compose Object DetectorCoral Screenshots of the Frigate UI's System metrics pagesn/a Any other information that may be helpfulPlease note...my config above is only for the one camera. I have 10 cameras so I removed all that code for simplicity sake |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Presence of an object 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 or mask. See the docs: https://docs.frigate.video/configuration/zones/ Your object's bounding box bottom center looks like it's just outside your object mask. |
Beta Was this translation helpful? Give feedback.
There are a number of ways to reduce false positives: https://docs.frigate.video/configuration/object_filters/
A tuned Frigate+ model would also be another way.