BrainDock/frigate config

215 lines
4.2 KiB
Plaintext

version: 0.17-0
mqtt:
host: 172.16.1.220
port: 1883
user: admin
password: $Back2k24Flash$
topic_prefix: frigate
##################################################
# DETECTOR
##################################################
detectors:
onnx:
type: onnx
model:
model_type: yolo-generic
width: 640
height: 640
input_tensor: nchw
input_dtype: float
path: /config/model_cache/yolov8s.onnx
labelmap_path: /labelmap/coco-80.txt
##################################################
# GLOBAL
##################################################
detect:
enabled: true
record:
enabled: true
alerts:
pre_capture: 3
post_capture: 10
retain:
days: 3
mode: active_objects
detections:
pre_capture: 3
post_capture: 10
retain:
days: 3
mode: active_objects
snapshots:
enabled: true
retain:
default: 1
semantic_search:
enabled: true
model_size: medium
##################################################
# OBJECTS
##################################################
objects:
track:
- person
- car
- motorcycle
##################################################
# LPR
##################################################
lpr:
enabled: true
model_size: large
detection_threshold: 0.6
recognition_threshold: 0.65
min_area: 1200
min_plate_length: 6
known_plates:
BE572582: [BE572582]
BE827308: [BE827308]
BE748310: [BE748310]
BE746996: [BE746996]
##################################################
# FACE RECOGNITION
##################################################
face_recognition:
enabled: true
model_size: large
##################################################
# CAMERAS
##################################################
cameras:
################################################
# ParkDeck
################################################
ParkDeck:
enabled: true
ffmpeg:
hwaccel_args: preset-nvidia-h264
inputs:
- path:
rtsp://frigate:Bernstrasse175c@172.16.1.145:554/h264Preview_01_main
roles:
- record
- detect
detect:
width: 1920
height: 1080
fps: 10
motion:
threshold: 45
contour_area: 30
improve_contrast: false
mask:
- 0.086,0.125,0.313,0.171,0.315,0.192,0.437,0.129,0.487,0.073,0.546,0.069,0.625,0,0,0.002
- 0,0.019,0.086,0.142,0.095,0.999,0.002,1
zones:
Einfahrt:
coordinates:
0.306,0.181,0.307,0.207,0.441,0.136,0.49,0.081,0.547,0.078,0.635,0,0.81,0,1,0.095,1,1,0.099,1,0.091,0.14
inertia: 3
objects:
- person
- car
- motorcycle
review:
alerts:
required_zones:
- Einfahrt
objects:
mask:
- 0.005,0,0.09,0.12,0.319,0.164,0.321,0.18,0.435,0.122,0.484,0.066,0.544,0.063,0.616,0
- 0,0.031,0.082,0.143,0.089,1,0,1
notifications:
enabled: true
################################################
# Creeper
################################################
Creeper:
enabled: true
ffmpeg:
hwaccel_args: preset-nvidia-h264
inputs:
- path:
rtsp://frigate:Bernstrasse175c@172.16.1.140:554/h264Preview_01_main
roles:
- record
- detect
detect:
width: 1920
height: 1080
fps: 10
motion:
mask: 0.26,0.333,0.401,0.325,0.577,0.117,1,0.411,1,0,0.104,0,0.14,0.365
zones:
Treppe:
coordinates:
0.403,0.346,0.581,0.135,1,0.441,1,1,0,1,0,0.213,0.104,0.154,0.129,0.395,0.262,0.354
inertia: 3
loitering_time: 2
objects:
- person
- motorcycle
objects:
mask:
0,0,1,0,1,0.427,0.577,0.128,0.4,0.337,0.26,0.346,0.133,0.383,0.109,0.142,0,0.201
notifications:
enabled: true
##################################################
# CLASSIFICATION
##################################################
classification:
bird:
enabled: false
##################################################
# NOTIFICATIONS
##################################################
notifications:
enabled: true
email: marc.blatter@outlook.com