Class BoundingBox (3.18.1)

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

Bounding box encompassing detected text within an image.

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.