Create a job
A JOB
POST
https://api.playment.io/v1/projects/:project_id/jobs
This endpoint allows you to create a job
Path Parameters
Headers
Request Body
Payload
Payload Definition
Code Example
Creating jobs with pre-labeled data
If you have data which has been labeled previously by an ML model or by human labelers, you can create jobs with such labels already created. To do this, you need to send the annotation data in the data.maker_response
key in the payload. The annotation data needs to be in Playment's annotation format.
Here's an example:
The object at the end ofdata.maker_response.raster.data.url
should be a PNG file with four 8-bit channels. The first 3 channels are R, G & B respectively. The hex code for these RGB values for any pixel should map to a class or instance based on thelegend
object. Un-labeled pixels should have each channel as 0.
Last updated