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
"annotations": {
4
"rectangles": [],
5
"polygons": [],
6
"lines": [],
7
"cuboids": [],
8
"landmarks": []
9
},
10
"image_url":"https://s3.aws.com/600x400/000/fff.jpg&text=Dummy+Image+1"
11
}
12
}
Copied!
The rectangles list contains objects, where each object is an annotation. You can check the data structures for various annotation types below:
Rectangles
Polygons
Lines
Cuboids
Landmarks
1
"rectangles": [
2
{
3
"_id": "0e6d895e-2484-439a-b62b-d8a0afb3d190",
4
"label": "Chair".
5
"attributes": {
6
"Truncation": {
7
"value": "0% Truncated"
8
},
9
"Occlusion": {
10
"value": "0% Occluded"
11
}
12
}
13
"coordinates": [
14
{"x": 0.00398, "y": 0.00558},
15
{"x": 0.05404, "y": 0.00558},
16
{"x": 0.05404, "y": 0.09096},
17
{"x": 0.00398, "y": 0.09096}
18
]
19
}
20
]
Copied!
1
"polygons": [
2
{
3
"_id": "8f8897ad-e07b-4e55-9dbe-61f6b9df85c5",
4
"label": "Pedestrian Crossing",
5
"attributes": {
6
"Type": {
7
"value": "Dashed"
8
},
9
"Occlusion": {
10
"value": "0% - 25% Occluded"
11
},
12
"Truncation": {
13
"value": "0% Truncated"
14
}
15
}
16
"points": {
17
"p1": {"x": 0.286774, "y": 0.892502},
18
"p2": {"x": 0.385849, "y": 0.576888},
19
"p3": {"x": 0.426721, "y": 0.469081},
20
"p4": {"x": 0.288623, "y": 0.253878},
21
"p5": {"x": 0.148623, "y": 0.353878}
22
},
23
"edges": {
24
"e1": ["p1", "p2"],
25
"e2": ["p2", "p3"],
26
"e3": ["p3", "p4"],
27
"e4": ["p4", "p4"],
28
"e5": ["p5", "p1"]
29
}
30
}
31
]
Copied!
1
"lines": [
2
{
3
"_id": "8f8897ad-e07b-4e55-9dbe-61f6b9df85c5",
4
"label": "Single SOlid Line",
5
"attributes": {
6
"Color": {
7
"value": "Yellow"
8
},
9
}
10
"points": {
11
"p1": {"x": 0.286774, "y": 0.892502},
12
"p2": {"x": 0.285849, "y": 0.876888},
13
"p3": {"x": 0.286774, "y": 0.869081},
14
"p4": {"x": 0.288623, "y": 0.853878}
15
}
16
}
17
]
Copied!
1
"cuboids": [
2
{
3
"_id": "8f8897ad-e07b-4e55-9dbe-61f6b9df85c5",
4
"label": "Car",
5
"attributes" : {
6
"faces_visible": {
7
"value": ["right","back"]
8
},
9
"Type": {
10
"value": "Sedan"
11
}
12
},
13
"points": {
14
"p1": {"x": 0.17,"y": 0.58},
15
"p2": {"x": 0.26,"y": 0.58},
16
"p3": {"x": 0.26,"y": 0.49},
17
"p4": {"x": 0.17,"y": 0.49},
18
"p5": {"x": 0.24,"y": 0.51},
19
"p6": {"x": 0.35,"y": 0.52},
20
"p7": {"x": 0.35,"y": 0.36},
21
"p8": {"x": 0.25,"y": 0.37}
22
},
23
"front": {
24
"coordinates": ["p1","p2","p3","p4"]
25
},
26
"side": {
27
"coordinates": ["p2","p3","p5","p6"]
28
},
29
"back": {
30
"coordinates": ["p7","p8","p5","p6"]
31
}
32
}
33
]
Copied!
1
"landmarks": [
2
{
3
"_id": "e7e3353f-2ffe-432a-a14f-9cb9a6f4b735",
4
"label": "Eye",
5
"attributes": {
6
"Type": {
7
"value": "Open"
8
},
9
}
10
"points": {
11
"p1": { "x": 0.17, "y": 0.58, "label": 1 },
12
"p2": { "x": 0.26, "y": 0.63, "label": 2 },
13
"p3": { "x": 0.27, "y": 0.63, "label": 3 },
14
"p4": { "x": 0.29, "y": 0.59, "label": 4 },
15
"p5": { "x": 0.25, "y": 0.46, "label": 5 },
16
"p6": { "x": 0.22, "y": 0.42, "label": 6 }
17
}
18
}
19
]
Copied!
Last modified 2mo ago