From f18b1fce25bede09cba9aab4f1120d534a2b26d4 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 3 Oct 2023 14:58:37 -0600 Subject: [PATCH] Consider new attribute a significant change --- frigate/object_processing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frigate/object_processing.py b/frigate/object_processing.py index a4bfb3fd9..2fcc41f92 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -232,6 +232,9 @@ class TrackedObject: if self.obj_data["position_changes"] != obj_data["position_changes"]: significant_change = True + if self.obj_data["attributes"] != obj_data["attributes]: + significant_change = True + # if the motionless_count reaches the stationary threshold if ( self.obj_data["motionless_count"]