add

OcrInput.add

add(self, str fullPath, int startPage, int pagesNumber)

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

ParameterTypeDescription
fullPathstrPath to the image/ document / folder / archive.
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.