新增host、port、算法类型
This commit is contained in:
26
config.yaml
26
config.yaml
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user