mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
update process clip for latest changes
This commit is contained in:
parent
ff3e95bbf7
commit
006782fe3d
@ -112,14 +112,11 @@ class ProcessClip():
|
|||||||
self.camera_state.on('update', handle_event)
|
self.camera_state.on('update', handle_event)
|
||||||
|
|
||||||
while(not self.detected_objects_queue.empty()):
|
while(not self.detected_objects_queue.empty()):
|
||||||
camera_name, frame_time, current_tracked_objects = self.detected_objects_queue.get()
|
camera_name, frame_time, current_tracked_objects, motion_boxes, regions = self.detected_objects_queue.get()
|
||||||
if not debug_path is None:
|
if not debug_path is None:
|
||||||
self.save_debug_frame(debug_path, frame_time, current_tracked_objects.values())
|
self.save_debug_frame(debug_path, frame_time, current_tracked_objects.values())
|
||||||
|
|
||||||
self.camera_state.update(frame_time, current_tracked_objects)
|
self.camera_state.update(frame_time, current_tracked_objects, motion_boxes, regions)
|
||||||
# for obj in self.camera_state.tracked_objects.values():
|
|
||||||
# obj_data = obj.to_dict()
|
|
||||||
# print(f"{frame_time}: {obj_data['id']} - {obj_data['label']} - {obj_data['score']} - {obj.score_history}")
|
|
||||||
|
|
||||||
self.frame_manager.delete(self.camera_state.previous_frame_id)
|
self.frame_manager.delete(self.camera_state.previous_frame_id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user