forked from Github/frigate
Consider new attribute a significant change (#8054)
* Consider new attribute a significant change * Update object_processing.py
This commit is contained in:
@@ -232,6 +232,9 @@ class TrackedObject:
|
|||||||
if self.obj_data["position_changes"] != obj_data["position_changes"]:
|
if self.obj_data["position_changes"] != obj_data["position_changes"]:
|
||||||
significant_change = True
|
significant_change = True
|
||||||
|
|
||||||
|
if self.obj_data["attributes"] != obj_data["attributes"]:
|
||||||
|
significant_change = True
|
||||||
|
|
||||||
# if the motionless_count reaches the stationary threshold
|
# if the motionless_count reaches the stationary threshold
|
||||||
if (
|
if (
|
||||||
self.obj_data["motionless_count"]
|
self.obj_data["motionless_count"]
|
||||||
|
|||||||
Reference in New Issue
Block a user