diff --git a/frigate/object_processing.py b/frigate/object_processing.py index 9fc21a28b..bece3720a 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -742,9 +742,12 @@ class CameraState: if ( obj.obj_data.get("sub_label") - and obj.obj_data.get("sub_label")[0] in ALL_ATTRIBUTE_LABELS ): - label = obj.obj_data["sub_label"] + if obj.obj_data.get("sub_label")[0] in ALL_ATTRIBUTE_LABELS: + label = obj.obj_data["sub_label"][0] + else: + label = f"{object_type}-verified" + camera_activity["objects"].append( {"id": obj.obj_data["id"], "label": label, "stationary": not active}