新增host、port、算法类型

This commit is contained in:
zqc
2026-02-26 16:20:27 +08:00
parent ad5d6ebf8f
commit 55eef8e15e
3 changed files with 187 additions and 139 deletions

View File

@@ -30,13 +30,19 @@ database:
pool_recycle: 3600
echo: false
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]
# 服务组配置:每个组有独立的 WebSocket 和算法类型
service_groups:
- name: "kadian_group" # 服务组名称
ws_host: "0.0.0.0" # WebSocket 服务地址
ws_port: 8765 # WebSocket 服务端口
algorithm: "kadian" # 算法类型
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]