BoundingBoxCoordinates Objects
heightfloat - The height of the bounding box.widthfloat - The width of the bounding box.top_left_xfloat - The x-coordinate of the top-left corner.top_left_yfloat - The y-coordinate of the top-left corner.
from_dict
ddict - A dictionary containing bounding box information.
BoundingBoxCoordinates- An instance of BoundingBoxCoordinates.
to_dict
dict- A dictionary representation of the bounding box coordinates.
RotatableBoundingBoxCoordinates Objects
heightfloat - The height of the bounding box.widthfloat - The width of the bounding box.top_left_xfloat - The x-coordinate of the top-left corner.top_left_yfloat - The y-coordinate of the top-left corner.thetafloat - The angle of rotation originating at the center of the box.
theta
angle of rotation originating at center of boxfrom_dict
ddict - A dictionary containing rotatable bounding box information.
RotatableBoundingBoxCoordinates- An instance of RotatableBoundingBoxCoordinates.
to_dict
dict- A dictionary representation of the rotatable bounding box coordinates.
CuboidCoordinates Objects
positiontuple[float, float, float] - The (x, y, z) coordinates of the center of the cuboid in the 3D space.orientationtuple[float, float, float] - The (alpha, beta, gamma) Euler angles of the cuboid, in radians.sizetuple[float, float, float] - The size of the cuboid along its (x, y, z) axes.
PointCoordinate Objects
xfloat - The x-coordinate of the point.yfloat - The y-coordinate of the point.
from_dict
ddict - A dictionary containing point coordinate information.
PointCoordinate- An instance of PointCoordinate.
to_dict
dict- A dictionary representation of the point coordinate.
PointCoordinate3D Objects
xfloat - The x-coordinate of the point.yfloat - The y-coordinate of the point.zfloat - The z-coordinate of the point.
from_dict
ddict - A dictionary containing point coordinate information.
PointCoordinate3D- An instance of PointCoordinate3D.
to_dict
dict- A dictionary representation of the point coordinate.
PolygonCoordinates Objects
__init__
valuesList[PointCoordinate] - A list of PointCoordinate objects defining the polygon.polygonsList[List[List[PointCoordinate]]] - A list of polygons, where each polygon is a list of contours, where each contour is a list of points.
from_dict
ddict - Dictionary containing polygon coordinates information.
PolygonCoordinates- A PolygonCoordinates instance.
to_dict
dict- A dictionary representation of the polygon coordinates.
PolylineCoordinates Objects
valuesUnion[List[PointCoordinate], List[PointCoordinate3D]] - A list of (3D) PointCoordinate objects defining the polyline.
from_dict
ddict - A dictionary containing polyline coordinates information.
PolylineCoordinates- An instance of PolylineCoordinates.
to_dict
dict- A dictionary representation of the polyline coordinates.
Visibility Objects
VISIBLE- The item is visible within the frame.INVISIBLE- The item is outside the frame and thus invisible.OCCLUDED- The item is within the frame but occluded by something else.SELF_OCCLUDED- The item is occluded by itself.
SkeletonCoordinate Objects
xfloat - The x-coordinate of the skeleton point.yfloat - The y-coordinate of the skeleton point.namestr - The name of the skeleton point.colorOptional[str] - The color associated with the skeleton point.feature_hashOptional[str] - A unique hash for the feature.valueOptional[str] - An optional value associated with the skeleton point.visibilityOptional[Visibility] - The visibility state of the skeleton point.
SkeletonCoordinates Objects
valuesList[SkeletonCoordinate] - A list of SkeletonCoordinate objects.namestr - The name of the skeleton structure.
to_dict
by_aliasbool - Whether to use alias for the field names.exclude_nonebool - Whether to exclude fields with None values.
AudioCoordinates Objects
rangeRanges - Ranges in milliseconds for audio files
TextCoordinates Objects
rangeRanges - Ranges of chars for simple text files
HtmlCoordinates Objects
rangeList[HtmlRange] - A list of HtmlRange objects

