调整回溯时间
This commit is contained in:
@@ -142,11 +142,11 @@ class KadianDetector:
|
|||||||
self.nobody_frames = 0 # 累计无人在场帧数
|
self.nobody_frames = 0 # 累计无人在场帧数
|
||||||
self.only_one_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.frame_buffer_ignore_untrunk = deque(maxlen=self.max_car_frames)
|
||||||
|
|
||||||
self.untrunk_rollback_time = 3.0 # 未检查后备箱需要回溯的时间
|
self.untrunk_rollback_time = 5.0 # 未检查后备箱需要回溯的时间
|
||||||
self.ignored_rollback_time = 1.0 # 漏检需要回溯的时间
|
self.ignored_rollback_time = 3.0 # 漏检需要回溯的时间
|
||||||
|
|
||||||
|
|
||||||
def _get_roi_points(self, frame_width: int, frame_height: int):
|
def _get_roi_points(self, frame_width: int, frame_height: int):
|
||||||
|
|||||||
Reference in New Issue
Block a user