recognize_text method

recognize_text

Recognize a text from image_stream stream.

Returns

A string that represents a recognized text; null if text recognizing isn’t supported.

def recognize_text(self, image_stream, options):
    ...
Parameter Type Description
image_stream io.RawIOBase The image representation of the document page.
options groupdocs.parser.options.OcrOptions The OCR options.

recognize_text

Recognize a text from image_stream stream.

Returns

A string that represents a recognized text; null if text recognizing isn’t supported.

def recognize_text(self, image_stream, page_index, options):
    ...
Parameter Type Description
image_stream io.RawIOBase The image representation of the document page.
page_index int The page index of the document.
options groupdocs.parser.options.OcrOptions The OCR options.

See Also