Annotation

Box21 annotation

An asset can have different annotations, eg bounding box and keypoint


source

Annotation

 Annotation (asset_id:int, id:int, certainty:float, label_id:int,
             label_name:str, project_id:int, validated:bool)

Abstract class that represents a Box21 Annotation

Type Details
asset_id int related asset id in Box21
id int unique id in Box21
certainty float certainty of annotation
label_id int related label id in Box21
label_name str label name
project_id int related project id in Box21
validated bool whether the annotation is validated

Box21 currently supports the following annotations

Keypoint


source

Keypoint

 Keypoint (asset_id:int, id:int, certainty:float, label_id:int,
           label_name:str, project_id:int, validated:bool, x:float,
           y:float)

Represents a Box21 Keypoint Annotation

BoundingBox


source

BoundingBox

 BoundingBox (asset_id:int, id:int, certainty:float, label_id:int,
              label_name:str, project_id:int, validated:bool, x:float,
              y:float, width:float, height:float)

Represents a Box21 BoundingBox Annotation