public final class ImageType
extends java.lang.Enum
Modifier and Type | Field and Description |
---|---|
static ImageType |
DEBUG_DETECTION
This is the image that was used as scratch surface to display document detection process (if any).
|
static ImageType |
DEBUG_DEWARPED
This is the dewarped image that is obtained after performing perspecitve correction
of each element that needs to be scanned.
|
static ImageType |
DEBUG_MARKED_DEWARPED
This is same as DEBUG_DEWARPED, except it also contains visualisation of OCR result layered
onto image.
|
static ImageType |
DEBUG_OCR_INPUT
This is grayscale image preprocessed with OCR engine.
|
static ImageType |
DEWARPED
This is the dewarped image that is obtained after performing perspective correction
of the detected item.
|
static ImageType |
ORIGINAL
This is the original image that arrived from camera.
|
static ImageType |
SUCCESSFUL_SCAN
This is the original image that arrived from camera that was used to recognize
item.
|
Modifier and Type | Method and Description |
---|---|
static ImageType |
valueOf(java.lang.String name) |
static ImageType[] |
values() |
public static final ImageType ORIGINAL
public static final ImageType SUCCESSFUL_SCAN
public static final ImageType DEWARPED
public static final ImageType DEBUG_DETECTION
public static final ImageType DEBUG_OCR_INPUT
public static final ImageType DEBUG_DEWARPED
public static final ImageType DEBUG_MARKED_DEWARPED