remove path data from thumbnail payloads

The thumbnail data carried a full copy of the object's path, which went out as snapshot.path_data in every events message alongside the top level path_data. Nothing reads the snapshot copy, and the path has no length limit, so it only made events payloads larger.
This commit is contained in:
Josh Hawkins
2026-10-15 21:38:33 -05:00
parent a60486e2ef
commit 4f1efb97d7
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -392,7 +392,6 @@ class CameraState:
"attributes": new_obj.obj_data["attributes"], "attributes": new_obj.obj_data["attributes"],
"current_estimated_speed": 0, "current_estimated_speed": 0,
"velocity_angle": 0, "velocity_angle": 0,
"path_data": [],
"recognized_license_plate": None, "recognized_license_plate": None,
"recognized_license_plate_score": None, "recognized_license_plate_score": None,
} }
-1
View File
@@ -169,7 +169,6 @@ class TrackedObject:
"attributes": obj_data["attributes"], "attributes": obj_data["attributes"],
"current_estimated_speed": self.current_estimated_speed, "current_estimated_speed": self.current_estimated_speed,
"velocity_angle": self.velocity_angle, "velocity_angle": self.velocity_angle,
"path_data": self.path_data.copy(),
"recognized_license_plate": obj_data.get( "recognized_license_plate": obj_data.get(
"recognized_license_plate" "recognized_license_plate"
), ),