eCheckDiagnose
This page covers the description of the eCheckDiagnose enumeration
eCheckDiagnose
enumeration contains identificators which determinate the result of the text field comparison from the different sources.
public class eCheckDiagnose {
public static final int UNKNOWN = 0;
public static final int PASS = 1;
public static final int INVALID_INPUT_DATA = 2;
public static final int INTERNAL_ERROR = 3;
public static final int EXCEPTION_IN_MODULE = 4;
public static final int UNCERTAIN_VERIFICATION = 5;
public static final int NECESSARY_IMAGE_NOT_FOUND = 7;
public static final int PHOTO_SIDES_NOT_FOUND = 8;
public static final int INVALID_CHECKSUM = 10;
public static final int SYNTAX_ERROR = 11;
public static final int LOGIC_ERROR = 12;
public static final int SOURCES_COMPARISON_ERROR = 13;
public static final int FIELDS_COMPARISON_LOGIC_ERROR = 14;
public static final int INVALID_FIELD_FORMAT = 15;
public static final int TRUE_LUMINISCENCE_ERROR = 20;
public static final int FALSE_LUMINISCENCE_ERROR = 21;
public static final int FIXED_PATTERN_ERROR = 22;
public static final int LOW_CONTRAST_IN_IR_LIGHT = 23;
public static final int INCORRECT_BACKGROUND_LIGHT = 24;
public static final int BACKGROUND_COMPARISON_ERROR = 25;
public static final int INCORRECT_TEXT_COLOR = 26;
public static final int PHOTO_FALSE_LUMINISCENCE = 27;
public static final int TOO_MUCH_SHIFT = 28;
public static final int FIBERS_NOT_FOUND = 30;
public static final int TOO_MANY_OBJECTS = 31;
public static final int SPECKS_IN_UV = 33;
public static final int TOO_LOW_RESOLUTION = 34;
public static final int INVISIBLE_ELEMENT_PRESENT = 40;
public static final int VISIBLE_ELEMENT_ABSENT = 41;
public static final int ELEMENT_SHOULD_BE_COLORED = 42;
public static final int ELEMENT_SHOULD_BE_GRAYSCALE = 43;
public static final int UV_DULL_PAPER_MRZ = 50;
public static final int FALSE_LUMINISCENCE_IN_MRZ = 51;
public static final int UV_DULL_PAPER_PHOTO = 52;
public static final int UV_DULL_PAPER_BLANK = 53;
public static final int UV_DULL_PAPER_ERROR = 54;
public static final int FALSE_LUMINISCENCE_IN_BLANK = 55;
public static final int BAD_AREA_IN_AXIAL = 60;
public static final int FALSE_IPI_PARAMETERS = 65;
public static final int FIELD_POS_CORRECTOR_HIGHLIGHT_IR = 80;
public static final int OVI_IR_INVISIBLE = 90;
public static final int OVI_INSUFFICIENT_AREA = 91;
public static final int OVI_COLOR_INVARIABLE = 92;
public static final int OVI_BAD_COLOR_FRONT = 93;
public static final int OVI_BAD_COLOR_SIDE = 94;
public static final int OVI_WIDE_COLOR_SPREAD = 95;
public static final int OVI_BAD_COLOR_PERCENT = 96;
public static final int HOLOGRAM_ELEMENT_ABSENT = 100;
public static final int HOLOGRAM_SIDE_TOP_IMAGES_ABSENT = 101;
public static final int HOLOGRAM_ELEMENT_PRESENT = 102;
public static final int PHOTO_PATTERN_INTERRUPTED = 110;
public static final int PHOTO_PATTERN_SHIFTED = 111;
public static final int PHOTO_PATTERN_DIFFERENT_COLORS = 112;
public static final int PHOTO_PATTERN_IR_VISIBLE = 113;
public static final int PHOTO_PATTERN_NOT_INTERSECT = 114;
public static final int PHOTO_SIZE_IS_WRONG = 115;
public static final int PHOTO_PATTERN_INVALID_COLOR = 116;
public static final int PHOTO_PATTERN_SHIFTED_VERT = 117;
public static final int PHOTO_PATTERN_PATTERN_NOT_FOUND = 118;
public static final int PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS = 119;
public static final int PHOTO_IS_NOT_RECTANGLE = 120;
public static final int PHOTO_CORNERS_IS_WRONG = 121;
public static final int DOCUMENT_IS_CANCELLING = 122;
public static final int TEXT_COLOR_SHOULD_BE_BLUE = 130;
public static final int TEXT_COLOR_SHOULD_BE_GREEN = 131;
public static final int TEXT_COLOR_SHOULD_BE_RED = 132;
public static final int TEXT_SHOULD_BE_BLACK = 133;
public static final int BARCODE_WAS_READ_WITH_ERRORS = 140;
public static final int BARCODE_DATA_FORMAT_ERROR = 141;
public static final int BARCODE_SIZE_PARAMS_ERROR = 142;
public static final int NOT_ALL_BARCODES_READ = 143;
public static final int PORTRAIT_COMPARISON_PORTRAITS_DIFFER = 150;
public static final int PORTRAIT_COMPARISON_NO_SERVICE_REPLY = 151;
public static final int PORTRAIT_COMPARISON_SERVICE_ERROR = 152;
public static final int PPORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES = 153;
public static final int PORTRAIT_COMPARISON_NO_LIVE_PHOTO = 154;
public static final int PORTRAIT_COMPARISON_NO_SERVICE_LICENSE = 155;
}
Constant
Description
UNKNOWN
check was not performed
PASS
check was OK
INVALID_INPUT_DATA
invalid input data
INTERNAL_ERROR
internal error in module
EXCEPTION_IN_MODULE
exception caught
UNCERTAIN_VERIFICATION
can't make reliable decision
NECESSARY_IMAGE_NOT_FOUND
image in necessary light was not found
PHOTO_SIDES_NOT_FOUND
necessary side of photo was not found
INVALID_CHECKSUM
invalid checksum
SYNTAX_ERROR
syntactical error
LOGIC_ERROR
logical error
SOURCES_COMPARISON_ERROR
comparison was incorrect
FIELDS_COMPARISON_LOGIC_ERROR
logical error, e.g. the current date is less than issue date
INVALID_FIELD_FORMAT
wrong field format
TRUE_LUMINISCENCE_ERROR
element of the luminescense in the UV does not meet the standard
FALSE_LUMINISCENCE_ERROR
the presence of excess luminescence in UV
FIXED_PATTERN_ERROR
pattern does not match the standard
LOW_CONTRAST_IN_IR_LIGHT
low contrast of object in transmitted IR light
INCORRECT_BACKGROUND_LIGHT
background of page is too light or has invalid color
BACKGROUND_COMPARISON_ERROR
background lightness of two pages is different
INCORRECT_TEXT_COLOR
text has incorrect color of luminescence in UV light
PHOTO_FALSE_LUMINISCENCE
invalid luminescence in photo area
TOO_MUCH_SHIFT
object is too shifted from standard coordinates
FIBERS_NOT_FOUND
no protective fibers were found in UV
TOO_MANY_OBJECTS
error finding fibers, too many objects
SPECKS_IN_UV
speck or exposure in UV image
TOO_LOW_RESOLUTION
resolution too low for fibers search
INVISIBLE_ELEMENT_PRESENT
erroneous visibility of the element in IR
VISIBLE_ELEMENT_ABSENT
element is absent in IR
ELEMENT_SHOULD_BE_COLORED
element should be in color
ELEMENT_SHOULD_BE_GRAYSCALE
element should be in grayscale
UV_DULL_PAPER_MRZ
glow paper in MRZ
FALSE_LUMINISCENCE_IN_MRZ
luminescence characters in MRZ
UV_DULL_PAPER_PHOTO
glow in the field of photo paper
UV_DULL_PAPER_BLANK
glow of the whole paper form
UV_DULL_PAPER_ERROR
glow of the document in UV
FALSE_LUMINISCENCE_IN_BLANK
element of blank has luminescence
BAD_AREA_IN_AXIAL
violation of the retro-reflective protection
FALSE_IPI_PARAMETERS
invalid params for IPI check
FIELD_POS_CORRECTOR_HIGHLIGHT_IR
IR image too bright
OVI_IR_INVISIBLE
OVI object is not visible in IR
OVI_INSUFFICIENT_AREA
insufficient area of the object OVI
OVI_COLOR_INVARIABLE
OVI color of an object does not change
OVI_BAD_COLOR_FRONT
impossible to determine the color of the AXIAL image
OVI_BAD_COLOR_SIDE
impossible to determine the color of the WHITE image
OVI_WIDE_COLOR_SPREAD
wide color spread
OVI_BAD_COLOR_PERCENT
not enough color information
HOLOGRAM_ELEMENT_ABSENT
hologram element absent
HOLOGRAM_SIDE_TOP_IMAGES_ABSENT
there are no side or top images. Check cancelled
HOLOGRAM_ELEMENT_PRESENT
hologram element present
PHOTO_PATTERN_INTERRUPTED
pattern is interrupted
PHOTO_PATTERN_SHIFTED
some of the patterns are shifted relative to each other
PHOTO_PATTERN_DIFFERENT_COLORS
some parts of the pattern have different color
PHOTO_PATTERN_IR_VISIBLE
pattern visible in the infrared
PHOTO_PATTERN_NOT_INTERSECT
edge of the photo does not intersect with the pattern. Check cancelled
PHOTO_SIZE_IS_WRONG
size of the photo does not correspond to requirements
PHOTO_PATTERN_INVALID_COLOR
some parts of the pattern have invalid color
PHOTO_PATTERN_SHIFTED_VERT
some patterns are relatively shifted
PHOTO_PATTERN_PATTERN_NOT_FOUND
not found Pattern. Check cancelled
PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS
different lines thickness
PHOTO_IS_NOT_RECTANGLE
photo shape is not rectangular
PHOTO_CORNERS_IS_WRONG
photo corners don't satisfy the requirements
DOCUMENT_IS_CANCELLING
for internal use
TEXT_COLOR_SHOULD_BE_BLUE
text color should be blue
TEXT_COLOR_SHOULD_BE_GREEN
text color should be green
TEXT_COLOR_SHOULD_BE_RED
text color should be red
TEXT_SHOULD_BE_BLACK
text should be black
BARCODE_WAS_READ_WITH_ERRORS
barcode read with errors
BARCODE_DATA_FORMAT_ERROR
barcode data format error
BARCODE_SIZE_PARAMS_ERROR
barcode size parameters error
NOT_ALL_BARCODES_READ
this document should contain more barcodes
PORTRAIT_COMPARISON_PORTRAITS_DIFFER
the portraits do not match
PORTRAIT_COMPARISON_NO_SERVICE_REPLY
the service does not respond
PORTRAIT_COMPARISON_SERVICE_ERROR
service error
PPORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES
not enough images
PORTRAIT_COMPARISON_NO_LIVE_PHOTO
there is no camera image
PORTRAIT_COMPARISON_NO_SERVICE_LICENSE
there is no license for the service
Last updated
Was this helpful?