Skip to content

NVR with realtime local object detection for IP cameras

Consider new attribute a significant change (#8054)

Nicolas Mowen52cc707eb80c
diff --git a/frigate/object_processing.py b/frigate/object_processing.py
index a4bfb3fd9a..54be2db63d 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"]