mqtt:
enabled: false
ui:
time_format: 24hour
#logger:
#logs:
#frigate.record.maintainer: debug
ffmpeg:
hwaccel_args: preset-vaapi
objects:
track:
- person
- animal
- car
- bird
- squirrel
- mouse
- rat
filters:
person:
min_area: 5000
max_area: 100000
snapshots:
enabled: true
record:
enabled: true
retain:
days: 3
mode: motion
events:
retain:
default: 30
mode: motion
cameras:
Valvontakamera:
ffmpeg:
input_args: preset-rtsp-restream
inputs:
- path: rtsp://pois:pois@192.168.12.6/Preview_01_main
roles:
- record
- path: rtsp://pois:pois@192.168.12.6/Preview_01_sub
roles:
- detect
#detect:
#width: 1280
#height: 720
#fps: 24
zones:
Etupiha:
coordinates:
0.762,0.105,0.59,0.082,0.4,0.11,0.137,0.239,0.035,0.399,0.002,0.622,0.007,0.993,0.861,0.991,0.938,0.195
loitering_time: 0
inertia: 3
review:
alerts:
required_zones: Etupiha
detections:
required_zones: Etupiha
motion:
threshold: 30
contour_area: 46
improve_contrast: 'true'
objects:
filters:
car:
mask: 0.405,0.207,0.602,0.162,0.601,0.019,0.396,0.016
Lintukamera:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
input_args: preset-rtsp-restream
inputs:
- path: rtsp://pois:pois@192.168.12.87:554/stream1
roles:
- record
- path: rtsp://pois:pois@192.168.12.87:554/stream1
roles:
- detect
detect:
width: 1280
height: 720
fps: 20
motion:
mask: 0.36,0,0.001,0.002,0.002,0.51,0.093,0.376,0.122,0.242,0.115,0.075,0.36,0.047
threshold: 35
contour_area: 23
improve_contrast: 'true'
detectors:
ov:
type: openvino
device: CPU
model:
path: /openvino-model/FP16/ssdlite_mobilenet_v2.xml
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
version: 0.14