addStream

OcrInput.addStream

addStream(self, image_data_binary, int startPage, int pagesNumber)

Add the InputStream containing the image for recognition / processing. The type of the image must correspond to the type specified in the constructor.

ParameterTypeDescription
image_data_binary``containing the image or document.
startPageintThe first page/image for processing / recognition. Use for documents, zip, folders.
pagesNumberintThe total amount of pages/images for processing / recognition. Use for documents, zip, folders. Default = all.