配置增加一条,并增加video_source_type

This commit is contained in:
zqc
2026-02-27 11:27:39 +08:00
parent 60db66c180
commit b29b63a771

View File

@@ -36,6 +36,7 @@ debug_mode: true
service_groups:
- name: "kadian_group" # 服务组名称
video_source_type: "rtsp"
ws_host: "0.0.0.0" # WebSocket 服务地址
ws_port: 8765 # WebSocket 服务端口
algorithm: "kadian" # 算法类型
@@ -49,3 +50,18 @@ service_groups:
- [0.5, 0.001]
- [1.0, 0.8]
- [0.35, 1.0]
- name: "prison_group" # 服务组名称
video_source_type: "hls"
ws_host: "0.0.0.0" # WebSocket 服务地址
ws_port: 8766 # WebSocket 服务端口
algorithm: "prison" # 算法类型
cameras: # 该组下的摄像头列表
- id: 1
index: testindexcode
name: Entrance
params:
roi_points:
- [0.15, 0.001]
- [0.5, 0.001]
- [1.0, 0.8]
- [0.35, 1.0]