From e26308a05b0ee4d80884e3658521c383ee80ae4f Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sat, 12 Sep 2020 22:29:21 -0500 Subject: [PATCH] print score info --- process_clip.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/process_clip.py b/process_clip.py index b7befef76..c46e88dbb 100644 --- a/process_clip.py +++ b/process_clip.py @@ -68,6 +68,8 @@ class ProcessClip(): self.save_debug_frame(debug_path, frame_time, current_tracked_objects.values()) self.camera_state.update(frame_time, current_tracked_objects) + for obj in self.camera_state.tracked_objects.values(): + print(f"{frame_time}: {obj['id']} - {obj['computed_score']} - {obj['score_history']}") return { 'object_detected': obj_detected,