Base type - Image
There are two fields in the job build for an image-based project:
image_url
: URL of the image to be annotatedmaker_response
: It contains all the annotations made on the job.
Job Build Structure
{
"image_url": "https://sample-unannotated-url.com",
"maker_response": {
"rectangles": {
"data": [....]
},
"polygons": {
"data": [....]
},
"landmarks": {
"data": [....]
},
"lines": {
"data": [....]
},
"cuboids": {
"data": [....]
},
}
The maker_response
has a field for every annotation type
. Every annotation_type
has a data
field that contains an array of annotations.
Annotations structure
> example rectangle annotation data
"rectangles": {
"data": [
{
"_id": "72c888f6-b365-4f27-ad57-d7841da2de0c",
"label": "Car",
"coordinates": [
{
"x": 0.12,
"y": 0.12
},
{
"x": 0.24,
"y": 0.12
},
{
"x": 0.24,
"y": 0.24
},
{
"x": 0.12,
"y": 0.24
}
],
"attributes": {
"occlusion": {
"value": "100%"
},
"visibility": {
"value": "partially_visible"
}
},
"state": "editable"
}
]
}
Each annotation has the following values:
id
: Unique ID for the annotationlabel
: Class (label) selected for the annotationcoordinates
: List of (x,y) coordinates for the rectangle in the order: [Top left, top right, bottom right, bottom left]

attributes
: It contains the name of the attribute and the value selected.state
: It defines the state of the annotation in GT create, it can have two values:editable
: Annotator will be able to make any changes to the annotationnon_editable
: Annotator will be unable to make any changes to the annotation
Last updated
Was this helpful?