diff --git a/frigate/track/tracked_object.py b/frigate/track/tracked_object.py index 9690581f1..77ebc6646 100644 --- a/frigate/track/tracked_object.py +++ b/frigate/track/tracked_object.py @@ -154,7 +154,7 @@ class TrackedObject: "attributes": obj_data["attributes"], "current_estimated_speed": self.current_estimated_speed, "velocity_angle": self.velocity_angle, - "path_data": self.path_data, + "path_data": self.path_data.copy(), "recognized_license_plate": obj_data.get( "recognized_license_plate" ), @@ -378,7 +378,7 @@ class TrackedObject: "current_estimated_speed": self.current_estimated_speed, "average_estimated_speed": self.average_estimated_speed, "velocity_angle": self.velocity_angle, - "path_data": self.path_data, + "path_data": self.path_data.copy(), "recognized_license_plate": self.obj_data.get("recognized_license_plate"), }