Get job results
JOB RESULT
GET
https://api.playment.io/v1/projects/:project_id/jobs/:job_id
This endpoint allows you to get the annotations created on a job.
Path Parameters
Headers
ATTACHMENT
GET
https://api.playment.io/v1/attachments?url=:result_url
The result_url (data.result
) returned by the GET Job result API is a private URL (Well, it's public till 15th July 2021, after which we'll enforce it to be private). You need to use this Attachment access API to securely fetch the results. Please refer to the Attachment Access API document for more detail.
Path Parameters
Headers
Result Object
The rectangles list contains objects, where each object is an annotation. You can check the data structures for various annotation types below:
In our annotation output, the x and y coordinates are normalised to ensure consistency across different image sizes. Normalisation is crucial for accurately representing object positions relative to the image dimensions.
X and Y Coordinates:
X Coordinate:
Normalised x coordinates () are calculated using the formula:
The result ranges from 0.0 to 1.0, where 0.0(Origin) corresponds to the leftmost edge of the image, and 1.0 corresponds to the rightmost edge.
Y Coordinate:
Normalised y coordinates () are calculated using the formula:
The result ranges from 0.0 to 1.0, where 0.0(Origin) corresponds to the topmost edge of the image, and 1.0 corresponds to the bottommost edge.
Last updated