From 85756da38ba675f3ff4e8918cb9f9bc9494234cd Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Sun, 21 May 2023 17:13:16 +0200 Subject: [PATCH] frigate: Use zones instead of motion masks --- modules/frigate/config.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/modules/frigate/config.yml b/modules/frigate/config.yml index 0f42140..76bcb9d 100644 --- a/modules/frigate/config.yml +++ b/modules/frigate/config.yml @@ -28,14 +28,15 @@ detect: width: 640 height: 480 -motion: - mask: - - 0,180,76,189,215,149,372,128,375,222,194,224,145,311,0,296 +# motion: +# mask: +# - 0,180,76,189,215,149,372,128,375,222,194,224,145,311,0,296 objects: track: - person - cat + # - car birdseye: enabled: True @@ -64,7 +65,6 @@ cameras: deurbel: ffmpeg: inputs: - # - path: rtsp://admin:{FRIGATE_DOORBELL_PASSWORD}@10.0.0.31/h264Preview_01_main - path: rtsp://127.0.0.1:8554/reolink?video=copy&audio=aac input_args: preset-rtsp-restream roles: @@ -75,3 +75,17 @@ cameras: - detect live: stream_name: reolink + record: + events: + required_zones: + - oprit + snapshots: + required_zones: + - oprit + zones: + oprit: + coordinates: 0,480,640,480,640,480,640,259,513,255,323,254,211,254,144,353,79,325,33,286,0,289 + objects: + - person + # - car + - cat