From 4259774365dee949131962aa37c63f24821c968d Mon Sep 17 00:00:00 2001 From: zqc <835569504@qq.com> Date: Fri, 10 Apr 2026 15:58:48 +0800 Subject: [PATCH] =?UTF-8?q?indoor=20biz=E5=A2=9E=E5=8A=A0todo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- biz/prison/indoor_biz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biz/prison/indoor_biz.py b/biz/prison/indoor_biz.py index 73235c0..e4527fa 100644 --- a/biz/prison/indoor_biz.py +++ b/biz/prison/indoor_biz.py @@ -14,7 +14,7 @@ RTSP_FPS = 10 # 视频流目标FPS ALERT_PUSH_INTERVAL = 5 # 相同报警5秒内仅推送1次 ALERT_PUSH_URL = "http://123.57.151.210:10000/picenter/websocket/test/process" # 消失判定:中心点在ROI内消失后,持续无检测的帧数(1.0秒,可微调) -ROI_LOST_FRAMES_THRESH = int(0.5 * RTSP_FPS) +ROI_LOST_FRAMES_THRESH = int(0.5 * RTSP_FPS) # todo: 从frame改为时间 # ========================= 默认ROI区域配置(当config.yaml未配置时使用) ========================= DEFAULT_DOOR_ROIS = {