__init__ constructor

On this page

init

Initializes a new instance of a line of text, extracted by OCR engine from an image.

def __init__(self, fragments):
    ...
Parameter Type Description
fragments Iterable[TextFragment] initial set of text fragments

See Also

On this page