Label Coordinates
In the JSON format, label coordinates are normalized to be between 0 and 1. This means that the corners of the frame or image correspond to the coordinates (1,1), (1,0), (0,0), (0,1) regardless of frame dimensions. To get the pixel values of normalized coordinates:- The
xandhcoordinates of a label should be multiplied by the pixel width of the frame or image. - The
yandwcoordinates of a label should be multiplied by the pixel height of the frame or image.
Format of Exported Labels
The tables below provide descriptions of all values contained JSON format exports.data_type is deleted, while image groups and image sequences only contain a single data_unit.object_hash for the Ontology object or classification.
Single Images
The export contains a list of JSON objects, with each JSON object representing a single data unit and containing detailed information for all exported labels. The example below describes all the keys for a single exported data unit.data_units
data_units
data_units key contains all files that compose the data unit. For a given image there is only ever a single element in this list. This element contains the following information.labels
labels
labels contains all object labels, classification labels, and attributes present in the image.objects
objects
objects contains all object label information for the image. A key with the name of the object shape is always present - bounding_box in the example below. All shapes contain coordinates for each vertex.The example below shows a single object instance.| Key | Description | Notes |
|---|---|---|
| objectHash | The specific label’s hash | The ‘hash’ represents a unique identifier |
| featureHash | The Ontology object’s hash | Corresponds to the FeatureNodeHash in the ontology |
| name | The object’s name | As specified in the ontology |
| value | The name given to the object | |
| color | The color used to draw the object | As specified in the ontology |
| shape | The Ontology class used to create the object | As specified in the ontology |
| confidence | The confidence score for this object | A confidence score of 1 is given for all labels created manually. More info can be found here |
| frame | The frame number of the data unit where the label appears | A frame number of 0 represents the first frame of the data unit. Images always have a frame number of 0. |
| createdBy | The email of the user that created this object | |
| createdAt | Date and time the object was created | |
| lastEditedBy | The email of the user that last edited this object | |
| lastEditedAt | Date and time the object was last edited | |
| manualAnnotation | A field indicating whether the object was drawn manually or not | true means it was drawn manually, while false means it was created using a model or an automated labeling technique |
| boundingBox | A list containing the coordinates for the bounding box | Refer to the Ontology shapes section for more details |
classifications
classifications
classifications contains all classification information for the image.The following example shows a single object instance.object_answers
object_answers
object_answers is a list of objects that have at least one nested attribute and contains information for all attributes. Expanding object_answers reveals the following:classification_answers
classification_answers
classification_answer is represented by its hash. Expanding classification_answers reveals the following:export_history
export_history
export_history contains a list of all exports for this data unit, the first entry being the current export. Each instance contains the following:Image Groups & Image Sequences
The export contains a list of JSON objects, with each JSON object representing a single image group or image sequence, and containing detailed information for all exported labels. The example below describes all the keys for a single exported data unit.data_units
data_units
data_units key contains a list of all files that compose the image group or image sequence (sometimes referred to as frames). It contains the following information.labels
labels
labels represents an individual frame within the image group or sequence. Each frame contains the following:objects
objects
objects contains label information for all object instances in a frame. A key with the name of the object shape is always present - bounding_box in the example below. All shapes contain coordinates for each vertex.The example below shows a single object instance.classifications
classifications
classifications contains all frame level classification information for the image group or sequence.The example below shows a single classification instance.object_answers
object_answers
object_answers is a list of objects that have at least one nested attribute and contains information for all attributes. Expanding object_answers reveals the following:classification_answers
classification_answers
classification_answer is represented by its hash. Expanding classification_answers reveals the following:export_history
export_history
export_history contains a list of all exports for this data unit, the first entry being the current export. Each instance contains the following:Videos
The export contains a list of JSON objects, with each JSON object representing a single data unit and containing detailed information for all exported labels. The example below describes all the keys for a single exported data unit.data_units
data_units
data_units key contains all files that compose the data unit. For a given video there is only a single element in this list. This element contains the following information.labels
labels
labels represents an individual frame within the data unit. Each frame contains the following:objects
objects
objects contains label information for all object instances in a frame. A key with the name of the object shape is always present - bounding_box in the example below. All shapes contain coordinates for each vertex.The following example shows a single object instance.classifications
classifications
classifications contains all frame level classification information for the video.The example below shows a single classification instance.object_answers
object_answers
object_answers is a list of objects that have at least one nested attribute and contains information for all attributes. Expanding object_answers reveals the following:classification_answers
classification_answers
classification_answer is represented by its hash. Expanding classification_answers reveals the following:export_history
export_history
export_history contains a list of all exports for this data unit, the first entry being the current export. Each instance contains the following:DICOM
The export contains a list of JSON objects, with each JSON object representing a single data unit and containing detailed information for all exported labels. The following example describes all the keys for a single exported data unit.data_units
data_units
data_units key contains all files that compose the data unit.labels
labels
labels represents an individual slice or frame within the data unit. Each slice or frame contains the following:objects
objects
objects contains label information for all object instances in a frame. A key with the name of the object shape is always present - polygon in the example below. All shapes contain coordinates for each vertex.The example below shows a single object instance.classifications
classifications
classifications contains all frame level classification information for the slice.The example below shows a single classification instance.metadata
metadata
metadata
metadata
object_answers
object_answers
object_answers is a list of objects that have at least one nested attribute and contains information for all attributes. Expanding object_answers reveals the following:classification_answers
classification_answers
classification_answers a list of frame classifications in which each classification is represented by its hash. Expanding classification_answers reveals the following:export_history
export_history
export_history contains a list of all exports for this data unit, the first entry being the current export. Each instance contains the following:Audio
The export contains a list of JSON objects, with each JSON object representing a single data unit and containing detailed information for all exported labels. The example below describes all the keys for a single exported data unit.classification_answers
classification_answers
classification_answers a list of frame classifications in which each classification is represented by its hash. Expanding classification_answers reveals the following:data_units
data_units
data_units key contains all files that compose the data unit. For a given image there is only ever a single element in this list. This element contains the following information.object_answers
object_answers
object_answers contains all the object labels that have at least one nested attribute and contains information for all attributes. Expanding object_answers reveals the following:Text
The export contains a list of JSON objects, with each JSON object representing a single data unit and containing detailed information for all exported labels. The example below describes all the keys for a single exported data unit.classification_answers
classification_answers
classification_answers a list of frame classifications in which each classification is represented by its hash. Expanding classification_answers reveals the following:data_units
data_units
data_units key contains all files that compose the data unit. For a given image there is only ever a single element in this list. This element contains the following information.object_answers
object_answers
object_answers contains all the object labels that have at least one nested attribute and contains information for all attributes. Expanding object_answers reveals the following:data_units
data_units
data_units key contains all files that compose the data unit. For a given image there is only ever a single element in this list. This element contains the following information.PCD
data_units
data_units
data_units key contains all files that compose the data unit. For a given image there is only ever a single element in this list. This element contains the following information.Ontology Shapes
Exports contain the Ontology shape coordinates used to create the label.Bounding Box
Bounding Box
x and y represent coordinates of the top-left corner of the box. h and w respectively represent the height and width of the box.Polygon
Polygon
polygon list contains the x and y coordinates for all vertices in a simple polygon. For complex polygons, see the polygons field below.Polygons
Polygons




Polyline
Polyline
x and y coordinates for each vertex. Keypoint
Keypoint
x and y coordinates. Rotatable Bounding Box
Rotatable Bounding Box
x and y represent the coordinates of the top-left corner of the unrotated box. h and w respectively represent the height and width of the box, while theta represents the angle of clockwise rotation of the bounding box about the center of the box. Bitmask
Bitmask
rleString encodes the Bitmask label, and has to be decoded. See our SDK documentation to learn how to decode an rleString. Object Primitive
Object Primitive
skeletons in the export. Each point on the object primitive is represented in the export using x and y coordinates.Below is an example of an object primitive with 3 points.Cuboid
Cuboid
Segmentation
Segmentation
Export Bitmasks & Segmentations
Bitmask labels are exported asrleStrings. See our SDK documentation to learn how to decode an rleString.
Exporting Data Groups
When exporting Data Group labels, 1 JSON file the Data Group plus 1 JSON for each data unit in the Data Group are generated.Multi-Layer Data Groups
Multi-layer Data Groups contain aroot key that contains properties pertaining to the Data Group as a whole.
Exporting Labels using the SDK
Go here to learn how to export labels using SDK.Label Branches
The branch associated with the labels is specified using thebranch_name key.
The main branch is always displayed first and is identified by the following value:

