pysseract.Box

class pysseract.Box

The bounding box structure

__init__()

Initialize self. See help(type(self)) for accurate signature.

Attributes

Box.height

Box height

Box.left

Leftmost co-ordinate of the box

Box.top

Topmost co-ordinate of the box

Box.valid

Returns a boolean indicating whether the dimensions of the box are valid

Box.width

Box width

Methods