InputType

Inheritance: java.lang.Object, java.lang.Enum

public enum InputType extends Enum<InputType>

Types of image/ documents for processing / recognition.

Fields

FieldDescription
Base64base64 string with the image or path to the .txt file with the base64 content.
DirectoryPath to the directory.
PDFScanned PDF document from file or from InputStream.
SingleImageSupports GIF, PNG, JPEG, BMP, TIFF, JFIF, InputStream, BufferedImage.
TIFFMultipage TIFF, TIF document from file or from InputStream.
URLLink on the image.
ZipFull name of the ZIP archive.

Base64

public static final InputType Base64

base64 string with the image or path to the .txt file with the base64 content. Supports GIF, PNG, JPEG, BMP, TIFF.

Directory

public static final InputType Directory

Path to the directory. Nested archives and folders are not supported. Supports GIF, PNG, JPEG, BMP, TIFF. Default amount of processed images is all.

PDF

public static final InputType PDF

Scanned PDF document from file or from InputStream.

SingleImage

public static final InputType SingleImage

Supports GIF, PNG, JPEG, BMP, TIFF, JFIF, InputStream, BufferedImage.

TIFF

public static final InputType TIFF

Multipage TIFF, TIF document from file or from InputStream.

URL

public static final InputType URL

Link on the image. Supports GIF, PNG, JPEG, BMP, TIFF.

Zip

public static final InputType Zip

Full name of the ZIP archive. Nested archives and folders are not supported. Supports GIF, PNG, JPEG, BMP, TIFF, JFIF. Default amount of processed images is all.