Merge branch 'master' of https://gitea.swiftsnake.cn/yipai-tech/SupervisorAI
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],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -138,8 +138,9 @@
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
}
|
}
|
||||||
#liveImage {
|
#liveImage {
|
||||||
max-width: 100%;
|
width: 100%;
|
||||||
max-height: 100%;
|
height: 100%;
|
||||||
|
object-fit: contain;
|
||||||
background: #000;
|
background: #000;
|
||||||
}
|
}
|
||||||
.status-bar {
|
.status-bar {
|
||||||
|
|||||||
Reference in New Issue
Block a user