[Config Support]: Frigate not detecting persons #10917
-
Describe the problem you are havingI'm encountering an issue where, when using the main stream for detection, Frigate no longer detects persons. In the debug view, a red box appears, indicating that motion is detected, but it fails to recognize persons. Person detection operates correctly with the sub-stream (640x360). Down scaling main stream for example to 1280x720 wont make any change. I'm uncertain whether this problem stems from the camera or an incorrect configuration. Currently, I'm running Frigate on an Ubuntu VM under TrueNAS Scale. Version0.13.2-6476F8A Frigate config filedetectors:
coral:
type: edgetpu
device: usb
mqtt:
host: 192.168.1.101
port: 1883
go2rtc:
streams:
reolink_811a:
- rtsp://x:[email protected]:554/h264Preview_01_main
- "ffmpeg:reolink_811a#audio=opus"
cameras:
reolink_811a:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/reolink_811a?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
- detect
output_args:
record: preset-record-generic-audio-aac
rtmp:
enabled: False
detect:
# width: 640
# height: 360
fps: 5
objects:
track:
- person
- cat
- dog
filters:
person:
min_area: 100
max_area: 10000
min_score: 0.60
motion:
threshold: 30
contour_area: 10
record:
enabled: true
retain:
days: 7
mode: all
events:
pre_capture: 20
retain:
default: 30
mode: motion
snapshots:
enabled: true
retain:
default: 30 Relevant log output2024-04-10 11:00:09.910525402 [INFO] Preparing Frigate...
2024-04-10 11:00:09.932616346 [INFO] Starting Frigate...
2024-04-10 11:00:11.887693339 [2024-04-10 11:00:11] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-04-10 11:00:15.140242458 [2024-04-10 11:00:15] peewee_migrate.logs INFO : Starting migrations
2024-04-10 11:00:15.145293839 [2024-04-10 11:00:15] peewee_migrate.logs INFO : There is nothing to migrate
2024-04-10 11:00:15.149837268 [2024-04-10 11:00:15] frigate.app INFO : Recording process started: 233
2024-04-10 11:00:15.152764540 [2024-04-10 11:00:15] frigate.app INFO : go2rtc process pid: 96
2024-04-10 11:00:15.180011075 [2024-04-10 11:00:15] frigate.app INFO : Output process started: 244
2024-04-10 11:00:15.198013181 [2024-04-10 11:00:15] frigate.app INFO : Camera processor started for reolink_811a: 252
2024-04-10 11:00:15.212053838 [2024-04-10 11:00:15] frigate.app INFO : Capture process started for reolink_811a: 254
2024-04-10 11:00:17.850466384 [2024-04-10 11:00:15] detector.coral INFO : Starting detection process: 243
2024-04-10 11:00:17.854975496 [2024-04-10 11:00:15] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-04-10 11:00:17.865043919 [2024-04-10 11:00:17] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found Frigate statsNo response Operating systemDebian Install methodDocker Compose Coral versionUSB Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
the problem is your filters, 10000 max area for person is way too low after you increase the detection resolution |
Beta Was this translation helpful? Give feedback.
-
Thank you, now it works perfectly. One becomes blind to simple things after banging one's head against the wall for long enough. I had some problems with the detect stream lagging by about 20-30 seconds over 24 hours, so I need to try with the main stream. |
Beta Was this translation helpful? Give feedback.
the problem is your filters, 10000 max area for person is way too low after you increase the detection resolution