推送频率各个类型的警告各自限制频率
This commit is contained in:
15
config.yaml
15
config.yaml
@@ -49,16 +49,16 @@ video_clip_default_segment_duration: 2 # 默认分片
|
||||
|
||||
service_groups:
|
||||
- name: "kadian_group" # 服务组名称
|
||||
video_source_type: "rtsp"
|
||||
video_source_type: "hls"
|
||||
ws_host: "0.0.0.0" # WebSocket 服务地址
|
||||
ws_port: 8765 # WebSocket 服务端口
|
||||
algorithm: "corridor" # 算法类型
|
||||
algorithm: "checkpoint" # 算法类型
|
||||
cameras: # 该组下的摄像头列表
|
||||
- id: 8
|
||||
index: "12345"
|
||||
name: Entrance
|
||||
params:
|
||||
model_path: "Kadian.onnx"
|
||||
model_path: "Kadian_sanshijiazi.onnx"
|
||||
roi_points:
|
||||
- [0.15, 0.001]
|
||||
- [0.5, 0.001]
|
||||
@@ -96,3 +96,12 @@ alert_types:
|
||||
"Playing Phone": "玩手机"
|
||||
"Smoke": "吸烟"
|
||||
"Nobody Checking": "无人在场"
|
||||
|
||||
# 告警推送频率配置(可选,单位:秒)
|
||||
# 如果某个 action 配置了,则使用配置的时间;否则使用默认的 ALERT_PUSH_INTERVAL(5秒)
|
||||
alert_push_intervals:
|
||||
"Unchecked Trunk": 30 # 未检查后备箱 - 10秒
|
||||
"Ignore": 30 # 漏检 - 3秒
|
||||
"Nobody": 600 # 无人在场 - 5秒
|
||||
"Only One": 120
|
||||
|
||||
|
||||
Reference in New Issue
Block a user