Files
ha-frigate/config.yml
tonym 9873590d44 Update config.yml
feat(frigate): tune person detection sensitivity and add motion settings

- Lower threshold to 0.5s for faster person detection
- Reduce min_area to 2000px to detect people at greater distances
- Set min_score to 0.6 for balanced confidence filtering
- Add motion detection settings (threshold: 30, contour_area: 10)
- Add aspect ratio filters (min_ratio: 0.3, max_ratio: 10)

This provides faster, more reliable person detection while relying on
Home Assistant automation cooldown to prevent notification spam.
2025-10-01 23:19:12 -05:00

65 lines
1.2 KiB
YAML

version: 0.16.1
mqtt:
host: 192.168.0.205
port: 1883
user: tonym
password: "tbhXM3131!"
topic_prefix: frigate
ffmpeg:
hwaccel_args: preset-nvidia
input_args: preset-rtsp-generic
detectors:
cpu:
type: cpu
num_threads: 3
objects:
track:
- person
birdseye:
enabled: false
cameras:
front:
ffmpeg:
inputs:
- path: "rtsp://admin:tbhXM3131!@192.168.0.118:554/cam/realmonitor?channel=1&subtype=1"
roles: [detect]
- path: "rtsp://admin:tbhXM3131!@192.168.0.118:554/cam/realmonitor?channel=1&subtype=0"
roles: [record]
input_args: preset-rtsp-restream
live:
quality: 10
height: 1080
detect:
enabled: true
width: 640
height: 480
motion:
threshold: 30
contour_area: 10
improve_contrast: true
snapshots:
enabled: true
timestamp: true
bounding_box: true
record:
enabled: true
retain:
days: 5
mode: motion
objects:
filters:
person:
min_area: 2000
max_area: 100000
min_score: 0.6
threshold: 0.5
min_ratio: 0.3
max_ratio: 10
track:
- person