diff --git a/biz/checkpoint/checkpoint_biz.py b/biz/checkpoint/checkpoint_biz.py index 0dc3892..ad75cf3 100644 --- a/biz/checkpoint/checkpoint_biz.py +++ b/biz/checkpoint/checkpoint_biz.py @@ -142,11 +142,11 @@ class KadianDetector: self.nobody_frames = 0 # 累计无人在场帧数 self.only_one_frames = 0 # 累计单人在场帧数 - self.max_car_frames = int((3.0 + self.TIME_TOLERANCE_CAR) * self.fps) # 50帧 + self.max_car_frames = int((8.0 + self.TIME_TOLERANCE_CAR) * self.fps) # 50帧 self.frame_buffer_ignore_untrunk = deque(maxlen=self.max_car_frames) - self.untrunk_rollback_time = 3.0 # 未检查后备箱需要回溯的时间 - self.ignored_rollback_time = 1.0 # 漏检需要回溯的时间 + self.untrunk_rollback_time = 5.0 # 未检查后备箱需要回溯的时间 + self.ignored_rollback_time = 3.0 # 漏检需要回溯的时间 def _get_roi_points(self, frame_width: int, frame_height: int):