我一开始没加detectors和model就不行,cpu狂飙,后来楼上兄弟提醒我,我加上试了果然可以了
version: 0.14
mqtt:
host: 192.168.1.100
port: 1883
detectors:
ov:
type: openvino
device: AUTO
model:
path: /openvino-model/ssdlite_mobilenet_v2.xml
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
cameras:
keting:
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://admin:[email protected]:554/h264/ch1/main/av_stream
roles:
- detect
menkou:
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://admin:[email protected]:554/h264/ch1/main/av_stream
roles:
- detect
detect:
height: 720
width: 1280
fps: 5
|