InputType
Inheritance: java.lang.Object, java.lang.Enum
public enum InputType extends Enum<InputType>
Types of image/ documents for processing / recognition.
Fields
Field | Description |
---|---|
Base64 | base64 string with the image or path to the .txt file with the base64 content. |
Directory | Path to the directory. |
Scanned PDF document from file or from InputStream. | |
SingleImage | Supports GIF, PNG, JPEG, BMP, TIFF, JFIF, InputStream, BufferedImage. |
TIFF | Multipage TIFF, TIF document from file or from InputStream. |
URL | Link on the image. |
Zip | Full 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.
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.