Import 3D labels for a dataset
URL
Request
Path parameters
Parameter name
Parameter type
Description
datasetId
string
Dataset Id of the dataset for which the labels need to be imported
labelSetId (Optional)
string
Label Set Id of the label set for which the labels need to be imported
Request body
Property name
Property type
Description
type
string
Type of the file uploaded for labels import. Supported values : “json”
labels
array
Array of objects of type LabelResource
Example body
{
"type": "json",
"labels":
[{
"file_id": "10.pcd",
"label_type": "3d_bbox",
"label_cateogry_id": "car",
"label_id": "car:5",
"three_d_bbox": {"cx": 6.417910191363102, "cy": 37.40165669339892, "cz": -2.026788515715022, "rot_z": -1.4502365175856688, "h": 1.6082608226905268, "l": 4.062483053079639, "w": 1.8871934665515997}
},{
"file_id": "11.pcd",
"label_type": "3d_bbox",
"label_cateogry_id": "bus",
"label_id": "bus:5",
"three_d_bbox": {"cx": 6.417910191363102, "cy": 37.40165669339892, "cz": -2.026788515715022, "rot_z": -1.4502365175856688, "h": 1.6082608226905268, "l": 4.062483053079639, "w": 1.8871934665515997}
}]
}
Response
Returns empty response on successful completion
Last modified 19d ago
Export as PDF
Copy link