From f2361cb81e0326b396c715882e6fb13d31683b5c Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 9 Apr 2025 14:48:43 -0600 Subject: [PATCH] Don't update for stationary objects --- frigate/track/tracked_object.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frigate/track/tracked_object.py b/frigate/track/tracked_object.py index 9b4bb216a1..cb87bc74f9 100644 --- a/frigate/track/tracked_object.py +++ b/frigate/track/tracked_object.py @@ -349,6 +349,9 @@ class TrackedObject: def should_update_attribute(self) -> bool: """Decides if attributes should be checked.""" + if not self.active: + return False + if self.obj_data["label"] == "person" and not self.requires_face_detection: return False elif self.obj_data["label"] == "car" and not self.requires_lpr_detection: