mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 03:35:26 +03:00
Consider new attribute a significant change
This commit is contained in:
parent
9a4f970337
commit
f18b1fce25
@ -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"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user