frigate: Use zones instead of motion masks
This commit is contained in:
parent
ac4fb1985e
commit
85756da38b
1 changed files with 18 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue