feat(aiot): 更新周界入侵参数 - 拆分入侵和消失确认时间
- 添加confirm_intrusion_seconds参数(默认5秒):入侵确认时间 - 添加confirm_clear_seconds参数(默认180秒):消失确认时间 - 更新算法描述:详细说明确认逻辑 - 保留confirm_seconds参数用于向后兼容
This commit is contained in:
@@ -44,8 +44,8 @@ public class AiAlgorithmServiceImpl implements IAiAlgorithmService {
|
||||
"{\"leave_countdown_sec\":{\"type\":\"int\",\"default\":300,\"min\":0},\"working_hours\":{\"type\":\"list\",\"default\":[]}}"
|
||||
});
|
||||
PRESET_ALGORITHMS.put("intrusion", new String[]{
|
||||
"周界入侵检测", "person", "检测人员进入指定区域。算法抽帧频率:1帧/秒(固定)。入侵消失后,连续confirm_seconds秒无人自动结束告警。",
|
||||
"{\"cooldown_seconds\":{\"type\":\"int\",\"default\":300,\"min\":0},\"confirm_seconds\":{\"type\":\"int\",\"default\":5,\"min\":1}}"
|
||||
"周界入侵检测", "person", "检测人员进入指定区域。算法抽帧频率:1帧/秒(固定)。持续检测到人5秒触发告警,持续无人180秒自动结束告警。消失确认期间短暂有人(<5秒)不影响倒计时。",
|
||||
"{\"cooldown_seconds\":{\"type\":\"int\",\"default\":300,\"min\":0},\"confirm_seconds\":{\"type\":\"int\",\"default\":5,\"min\":1},\"confirm_intrusion_seconds\":{\"type\":\"int\",\"default\":5,\"min\":1},\"confirm_clear_seconds\":{\"type\":\"int\",\"default\":180,\"min\":1}}"
|
||||
});
|
||||
// 人群聚集检测暂时注释,边缘端未启用
|
||||
// PRESET_ALGORITHMS.put("crowd_detection", new String[]{
|
||||
|
||||
Reference in New Issue
Block a user