update birdseye to handle stationary objects

This commit is contained in:
Blake Blackshear
2022-02-12 06:59:10 -06:00
parent 1a009c7fd1
commit ebdfbfe96c
3 changed files with 6 additions and 5 deletions

View File

@@ -193,6 +193,8 @@ class TrackedObject:
"box": self.obj_data["box"],
"area": self.obj_data["area"],
"region": self.obj_data["region"],
"stationary": self.obj_data["motionless_count"]
> self.camera_config.detect.stationary_threshold,
"motionless_count": self.obj_data["motionless_count"],
"position_changes": self.obj_data["position_changes"],
"current_zones": self.current_zones.copy(),