From d78dc2388c3b3b1fb35fbe56c4ad15b8d47f35ad Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sun, 6 Feb 2022 14:50:15 -0600 Subject: [PATCH] increment motionless_count --- frigate/objects.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frigate/objects.py b/frigate/objects.py index c412f4539..3a5ae1171 100644 --- a/frigate/objects.py +++ b/frigate/objects.py @@ -106,6 +106,7 @@ class ObjectTracker: def update_frame_times(self, frame_time): for id in self.tracked_objects.keys(): self.tracked_objects[id]["frame_time"] = frame_time + self.tracked_objects[id]["motionless_count"] += 1 def match_and_update(self, frame_time, new_objects): # group by name