recognize method

On this page

recognize

Performs OCR processing of an image provided as a stream.

def recognize(self, image_stream):
    ...
Parameter Type Description
image_stream io.RawIOBase Stream containing an image to process.

Returns: Structured recognized text, containing lines, words and their bounding rectangles.

See Also

On this page