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:
21
config.yml
21
config.yml
@@ -1,4 +1,4 @@
|
|||||||
version: 0.15.0
|
version: 0.16.1
|
||||||
|
|
||||||
mqtt:
|
mqtt:
|
||||||
host: 192.168.0.205
|
host: 192.168.0.205
|
||||||
@@ -31,12 +31,18 @@ cameras:
|
|||||||
roles: [detect]
|
roles: [detect]
|
||||||
- path: "rtsp://admin:tbhXM3131!@192.168.0.118:554/cam/realmonitor?channel=1&subtype=0"
|
- path: "rtsp://admin:tbhXM3131!@192.168.0.118:554/cam/realmonitor?channel=1&subtype=0"
|
||||||
roles: [record]
|
roles: [record]
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
live:
|
live:
|
||||||
stream_name: record
|
|
||||||
quality: 10
|
quality: 10
|
||||||
height: 1080
|
height: 1080
|
||||||
detect:
|
detect:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
width: 640
|
||||||
|
height: 480
|
||||||
|
motion:
|
||||||
|
threshold: 30
|
||||||
|
contour_area: 10
|
||||||
|
improve_contrast: true
|
||||||
snapshots:
|
snapshots:
|
||||||
enabled: true
|
enabled: true
|
||||||
timestamp: true
|
timestamp: true
|
||||||
@@ -49,10 +55,11 @@ cameras:
|
|||||||
objects:
|
objects:
|
||||||
filters:
|
filters:
|
||||||
person:
|
person:
|
||||||
min_area: 1000
|
min_area: 2000
|
||||||
max_area: 100000
|
max_area: 100000
|
||||||
min_score: 0.6
|
min_score: 0.6
|
||||||
threshold: 0.8
|
threshold: 0.5
|
||||||
stationary:
|
min_ratio: 0.3
|
||||||
interval: 50
|
max_ratio: 10
|
||||||
threshold: 30
|
track:
|
||||||
|
- person
|
||||||
Reference in New Issue
Block a user