continue if frames not in frame manager

This commit is contained in:
Blake Blackshear 2020-09-14 07:40:26 -05:00
parent adcc3e9b98
commit 005e188d38

View File

@ -282,6 +282,10 @@ def process_frames(camera_name: str, frame_queue: mp.Queue, frame_shape,
current_frame_time.value = frame_time
frame = frame_manager.get(f"{camera_name}{frame_time}")
if frame is None:
print(f"{camera_name}: frame {frame_time} is not in memory store.")
continue
fps_tracker.update()
fps.value = fps_tracker.eps()