Class BoundingBox (0.1.1)

BoundingBox(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Boundingbox for detected object. I.e. the rectangle over the video frame pinpointing the found AnnotationSpec. The coordinates are relative to the frame size, and the point 0,0 is in the top left of the frame.

Attributes

Name Description
x_min float
The leftmost coordinate of the bounding box.
x_max float
The rightmost coordinate of the bounding box.
y_min float
The topmost coordinate of the bounding box.
y_max float
The bottommost coordinate of the bounding box.