增加last_seen_time
This commit is contained in:
@@ -355,6 +355,7 @@ class KadianDetector:
|
|||||||
self.car_enter_pending[tid] = {
|
self.car_enter_pending[tid] = {
|
||||||
'first_seen': self.current_frame_idx,
|
'first_seen': self.current_frame_idx,
|
||||||
'last_seen': self.current_frame_idx,
|
'last_seen': self.current_frame_idx,
|
||||||
|
'last_seen_time': current_time_sec,
|
||||||
'frames_count': 1,
|
'frames_count': 1,
|
||||||
'last_box': [x1, y1, x2, y2],
|
'last_box': [x1, y1, x2, y2],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user