Class BoundingBox (3.40.0)

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

Bounding box encompassing detected text within an image. Coordinates are in pixels and strictly within the image or frame bounds.

Attributes

Name Description
top int
Top coordinate of the bounding box. (0,0) is upper left.
left int
Left coordinate of the bounding box. (0,0) is upper left.
width int
Width of the bounding box in pixels.
height int
Height of the bounding box in pixels.