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.
| Parameter | Type | Description |
|---|---|---|
image_data_binary | `` | containing the image or document. |
startPage | int | The first page/image for processing / recognition. Use for documents, zip, folders. |
pagesNumber | int | The total amount of pages/images for processing / recognition. Use for documents, zip, folders. Default = all. |