A
A
API Reference
Search…
Get job results
get
https://api.playment.io
/v1/projects/:project_id/jobs/:job_id
JOB RESULT
get
https://api.playment.io
/v1/attachments?url=:result_url
ATTACHMENT

Result Object

1
{
2
"data": {
3
"annotation_data": {
4
"annotations": []
5
"sensor_data": {
6
"frames": [] //This is the same list you sent while creating the job
7
}
8
}
9
}
Copied!
The data.annotations_data.annotations list contains objects, where each object is an annotation. You can check the data structures for various annotation types below:
3D Bounding Box
2D Bounding Box
1
{
2
"_id": "d7c444e2-f041-46cc-bda0-25ae35801dac",
3
"label": "car",
4
"color": "rgb(151,22,15)",
5
"attributes": {},
6
"keyFrame": true,
7
"sensor_id": "lidar",
8
"frame_id": "0001",
9
"track_id": "d7c444e2-f041-46cc-bda0-25ae35801dac",
10
"type": "cuboid3d",
11
"source": "pointcloud"
12
"dimensions": {
13
"length": 3.2802,
14
"width": 1.352,
15
"height": 1.7
16
},
17
"center": {
18
"x": 9.8138,
19
"y": 0.3344,
20
"z": 0.9557
21
},
22
"rotation": {
23
"_w": -0.9952638830524981,
24
"_x": -0.008698959266850841,
25
"_y": -0.0006932023355776871,
26
"_z": -0.09681761549149911
27
}
28
}
Copied!
1
{
2
"_id": "d7c444e2-f041-46cc-bda0-25ae35801dac",
3
"attributes": {},
4
"sensor_id": "front_main",
5
"frame_id": "0001",
6
"track_id": "d7c444e2-f041-46cc-bda0-25ae35801dac",
7
"type": "rectangle",
8
"source": "images"
9
"label": "car",
10
"coordinates": [
11
{
12
"x": 0,
13
"y": 0
14
},
15
{
16
"x": 0,
17
"y": 0
18
},
19
{
20
"x": 0,
21
"y": 0
22
},
23
{
24
"x": 0,
25
"y": 0
26
}
27
]
28
}
Copied!
Key
Description
frame_id
A foreign key to join with the frame object in sensor_data.frames
track_id
All annotations across frames, belonging to the same object have a common track_id
sensor_id
The sensor in which the annotation is present
Last modified 2mo ago