__init__ constructor

On this page

init

Initializes a new instance of the recognized text fragment.

def __init__(self, text, rectangle):
    ...
Parameter Type Description
text str textual content of the recognized text fragment
rectangle System.Drawing.Rectangle bounding rectangle of the recognized text fragment

See Also

On this page