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

Instance Aware Segmentation
{
"legend": [
{
"id": "70d3d997-ce98-4e4d-97b4-46d97037c312",
"text": "crosswalk",
"color": "rgb(244, 35, 242)",
"label_key": 0,
"value": "crosswalk"
},
{
"id": "4a6aca59-944a-475b-8043-66aeb63ae7cf",
"text": "MINIVAN # 1",
"color": "rgb(70, 90, 110)",
"label_key": 1,
"value": "MINIVAN #1"
},
{
"id": "286e0022-9229-4946-99b3-09f8ae5c79d0",
"text": "MINIVAN # 2",
"color": "rgb(143, 0, 214)",
"label_key": 2,
"value": "MINIVAN # 2"
}
],
"url": "https://playment-uploads.s3.ap-south-1.amazonaws.com/submissions/default/5a375fc2-fb4f-4d4b-808f-241ed881b74f_data.pcd"
}
To access the PCD mask (url in the result object), you will need to use the GET Attachment API.
Sample PCD Mask
# .PCD v0.7 - Point Cloud Data file format
VERSION 0.7
FIELDS x y z label_key
SIZE 4 4 4 4
TYPE F F F F
COUNT 1 1 1 1
WIDTH 47286
HEIGHT 1
VIEWPOINT 0 0 0 1 0 0 0
POINTS 47286
DATA ascii
5075.773 3756.887 107.923 0
5076.011 3756.876 107.865 0
5076.116 3756.826 107.844 1
5076.860 3756.975 107.648 1
5077.045 3756.954 107.605 2
5077.237 3756.937 107.559 3
5077.441 3756.924 107.511 4
5077.599 3756.902 107.474 5
5077.780 3756.885 107.432 6
5077.955 3756.862 107.391 7
For each point, there is a label with an int value which can be used to look up the label value by comparing with the label_key in the legend.
Copy link
On this page
get
JOB RESULT
get
ATTACHMENT
Result Object