OcrInput

OcrInput class

Module: models

Main class to collect images.

Constructors

NameDescription
initConstructor to create container and set the type of images / documents and filters for further processing / recognition.

Methods

NameReturn TypeStaticDescription
addNoAdd the path or URI containing the image for recognition / processing. The type of the image must correspond to the type specified in the constructor.
add_base64NoAdd the base64 string containing the image for recognition / processing. The type of the image must correspond to the type specified in the constructor.
addStreamNoAdd the InputStream containing the image for recognition / processing. The type of the image must correspond to the type specified in the constructor.
clearNoSet the amount of items for processing / recognition as 0. Clear the collection.
clear_filtersNoRemove all filters.
getImageDataNoReturns information about processed / recognized image.
getJavaClassNo
initNo
sizeNoAmount of items for processing / recognition.