From 52cc707eb80c11916d6c60dae4492bd9b10d69e0 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 7 Oct 2023 08:22:45 -0600 Subject: [PATCH] Consider new attribute a significant change (#8054) * Consider new attribute a significant change * Update object_processing.py --- frigate/object_processing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frigate/object_processing.py b/frigate/object_processing.py index a4bfb3fd9..54be2db63 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"]