From 9873590d440c404fb36229bb4e17d32da7744d14 Mon Sep 17 00:00:00 2001 From: tonym Date: Wed, 1 Oct 2025 23:19:12 -0500 Subject: [PATCH] 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. --- config.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/config.yml b/config.yml index d0863fa..01cc587 100644 --- a/config.yml +++ b/config.yml @@ -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 \ No newline at end of file + threshold: 0.5 + min_ratio: 0.3 + max_ratio: 10 + track: + - person \ No newline at end of file