| Enum Constant and Description |
|---|
DEBUG_DETECTION
This is the image that was used as scratch surface to display document detection process (if any).
|
DEBUG_DEWARPED
This is the dewarped image that is obtained after performing perspecitve correction
of each element that needs to be scanned.
|
DEBUG_MARKED_DEWARPED
This is same as DEBUG_DEWARPED, except it also contains visualisation of OCR result layered
onto image.
|
DEBUG_OCR_INPUT
This is grayscale image preprocessed with OCR engine.
|
DEWARPED
This is the dewarped image that is obtained after performing perspective correction
of the detected item.
|
ORIGINAL
This is the original image that arrived from camera.
|
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)
Returns the enum constant of this type with the specified name.
|
static ImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
public static ImageType[] values()
for (ImageType c : ImageType.values()) System.out.println(c);
public static ImageType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null