Links

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
1
{
2
"type": "json",
3
"labels": [
4
{
5
"file_id": "10.pcd",
6
"sensor_id": "lidar",
7
"label_type": "3d_bbox",
8
"label_cateogry_id": "car",
9
"label_id": "car:5",
10
"three_d_bbox": {
11
"cx": 6.417910191363102,
12
"cy": 37.40165669339892,
13
"cz": -2.026788515715022,
14
"rot_z": -1.4502365175856688,
15
"h": 1.6082608226905268,
16
"l": 4.062483053079639,
17
"w": 1.8871934665515997
18
}
19
},
20
{
21
"file_id": "11.pcd",
22
"sensor_id": "lidar",
23
"label_type": "3d_bbox",
24
"label_cateogry_id": "bus",
25
"label_id": "bus:5",
26
"three_d_bbox": {
27
"cx": 6.417910191363102,
28
"cy": 37.40165669339892,
29
"cz": -2.026788515715022,
30
"rot_z": -1.4502365175856688,
31
"h": 1.6082608226905268,
32
"l": 4.062483053079639,
33
"w": 1.8871934665515997
34
}
35
}
36
]
37
}
Response
Returns empty response on successful completion