InputType

InputType enum

Module: models

Types of image/ documents for processing / recognition.

Enum Values

NameValueDescription
BASE646 base64 string with the image or path to the .txt file with the base64 content. Supports GIF, PNG, JPEG, BMP, TIFF.
DIRECTORY4 Path to the directory. Nested archives and folders are not supported. Supports GIF, PNG, JPEG, BMP, TIFF. Default amount of processed images is all.
PDF1 Scanned PDF document from file or from bynary array.
SINGLE_IMAGE0 Supports GIF, PNG, JPEG, BMP, TIFF, JFIF, binary array.
TIFF2 Multipage TIFF, TIF document from file or from InputStream.
URL3 Link on the image. Supports GIF, PNG, JPEG, BMP, TIFF.
ZIP5 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.

InputType.BASE64

Type: int

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

InputType.DIRECTORY

Type: int

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

InputType.PDF

Type: int

Value: 1 Scanned PDF document from file or from bynary array.

InputType.SINGLE_IMAGE

Type: int

Value: 0 Supports GIF, PNG, JPEG, BMP, TIFF, JFIF, binary array.

InputType.TIFF

Type: int

Value: 2 Multipage TIFF, TIF document from file or from InputStream.

InputType.URL

Type: int

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

InputType.ZIP

Type: int

Value: 5 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.