最近frigate有些更新 配置文件需要稍作修改 下面是我目前的配置 可以参考一下
mqtt:
host:
port: 1883
user:
password:
ffmpeg:
hwaccel_args: preset-vaapi
detectors:
ov:
type: openvino
device: GPU
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
path: /openvino-model/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
snapshots: #运动快照开启储存保留7天
enabled: true
retain:
default: 7
cameras:
keting:
detect:
width: 704
height: 576
ffmpeg:
inputs:
- path: rtsp://
roles:
- detect
menwai:
detect:
width: 704
height: 576
ffmpeg:
inputs:
- path: rtsp://
roles:
- detect
detect: #检测配置
enabled: true #启用相机检测(默认值:True)
fps: 5 #建议值为5,理想情况下,尽量减少相机上的FPS
version: 0.14
|