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.
This commit is contained in:
2025-10-01 23:19:12 -05:00
parent 276f0ff449
commit 9873590d44

View File

@@ -1,4 +1,4 @@
version: 0.15.0
version: 0.16.1
mqtt:
host: 192.168.0.205
@@ -31,12 +31,18 @@ cameras:
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:
stream_name: record
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
@@ -49,10 +55,11 @@ cameras:
objects:
filters:
person:
min_area: 1000
min_area: 2000
max_area: 100000
min_score: 0.6
threshold: 0.8
stationary:
interval: 50
threshold: 30
threshold: 0.5
min_ratio: 0.3
max_ratio: 10
track:
- person