Skip to content

eCheckDiagnose

eCheckDiagnose enumeration contains identificators which determinate the result of the text field comparison from the different sources.

class eCheckDiagnose {
  static const int UNKNOWN = 0;
  static const int PASS = 1;
  static const int INVALID_INPUT_DATA = 2;
  static const int INTERNAL_ERROR = 3;
  static const int EXCEPTION_IN_MODULE = 4;
  static const int UNCERTAIN_VERIFICATION = 5;
  static const int NECESSARY_IMAGE_NOT_FOUND = 7;
  static const int PHOTO_SIDES_NOT_FOUND = 8;
  static const int INVALID_CHECKSUM = 10;
  static const int SYNTAX_ERROR = 11;
  static const int LOGIC_ERROR = 12;
  static const int SOURCES_COMPARISON_ERROR = 13;
  static const int FIELDS_COMPARISON_LOGIC_ERROR = 14;
  static const int INVALID_FIELD_FORMAT = 15;
  static const int TRUE_LUMINISCENCE_ERROR = 20;
  static const int FALSE_LUMINISCENCE_ERROR = 21;
  static const int FIXED_PATTERN_ERROR = 22;
  static const int LOW_CONTRAST_IN_IR_LIGHT = 23;
  static const int INCORRECT_BACKGROUND_LIGHT = 24;
  static const int BACKGROUND_COMPARISON_ERROR = 25;
  static const int INCORRECT_TEXT_COLOR = 26;
  static const int PHOTO_FALSE_LUMINISCENCE = 27;
  static const int TOO_MUCH_SHIFT = 28;
  static const int FIBERS_NOT_FOUND = 30;
  static const int TOO_MANY_OBJECTS = 31;
  static const int SPECKS_IN_UV = 33;
  static const int TOO_LOW_RESOLUTION = 34;
  static const int INVISIBLE_ELEMENT_PRESENT = 40;
  static const int VISIBLE_ELEMENT_ABSENT = 41;
  static const int ELEMENT_SHOULD_BE_COLORED = 42;
  static const int ELEMENT_SHOULD_BE_GRAYSCALE = 43;
  static const int PHOTO_WHITE_IR_DONT_MATCH = 44;
  static const int UV_DULL_PAPER_MRZ = 50;
  static const int FALSE_LUMINISCENCE_IN_MRZ = 51;
  static const int UV_DULL_PAPER_PHOTO = 52;
  static const int UV_DULL_PAPER_BLANK = 53;
  static const int UV_DULL_PAPER_ERROR = 54;
  static const int FALSE_LUMINISCENCE_IN_BLANK = 55;
  static const int BAD_AREA_IN_AXIAL = 60;
  static const int FALSE_IPI_PARAMETERS = 65;
  static const int FIELD_POS_CORRECTOR_HIGHLIGHT_IR = 80;
  static const int FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA = 81;
  static const int OVI_IR_INVISIBLE = 90;
  static const int OVI_INSUFFICIENT_AREA = 91;
  static const int OVI_COLOR_INVARIABLE = 92;
  static const int OVI_BAD_COLOR_FRONT = 93;
  static const int OVI_BAD_COLOR_SIDE = 94;
  static const int OVI_WIDE_COLOR_SPREAD = 95;
  static const int OVI_BAD_COLOR_PERCENT = 96;
  static const int HOLOGRAM_ELEMENT_ABSENT = 100;
  static const int HOLOGRAM_SIDE_TOP_IMAGES_ABSENT = 101;
  static const int HOLOGRAM_ELEMENT_PRESENT = 102;
  static const int HOLOGRAM_FRAMES_IS_ABSENT = 103;
  static const int HOLOGRAM_HOLO_FIELD_IS_ABSENT = 104;
  static const int PHOTO_PATTERN_INTERRUPTED = 110;
  static const int PHOTO_PATTERN_SHIFTED = 111;
  static const int PHOTO_PATTERN_DIFFERENT_COLORS = 112;
  static const int PHOTO_PATTERN_IR_VISIBLE = 113;
  static const int PHOTO_PATTERN_NOT_INTERSECT = 114;
  static const int PHOTO_SIZE_IS_WRONG = 115;
  static const int PHOTO_PATTERN_INVALID_COLOR = 116;
  static const int PHOTO_PATTERN_SHIFTED_VERT = 117;
  static const int PHOTO_PATTERN_PATTERN_NOT_FOUND = 118;
  static const int PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS = 119;
  static const int PHOTO_IS_NOT_RECTANGLE = 120;
  static const int PHOTO_CORNERS_IS_WRONG = 121;
  static const int DOCUMENT_IS_CANCELLING = 122;
  static const int TEXT_COLOR_SHOULD_BE_BLUE = 130;
  static const int TEXT_COLOR_SHOULD_BE_GREEN = 131;
  static const int TEXT_COLOR_SHOULD_BE_RED = 132;
  static const int TEXT_SHOULD_BE_BLACK = 133;
  static const int BARCODE_WAS_READ_WITH_ERRORS = 140;
  static const int BARCODE_DATA_FORMAT_ERROR = 141;
  static const int BARCODE_SIZE_PARAMS_ERROR = 142;
  static const int NOT_ALL_BARCODES_READ = 143;
  static const int PORTRAIT_COMPARISON_PORTRAITS_DIFFER = 150;
  static const int PORTRAIT_COMPARISON_NO_SERVICE_REPLY = 151;
  static const int PORTRAIT_COMPARISON_SERVICE_ERROR = 152;
  static const int PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES = 153;
  static const int PORTRAIT_COMPARISON_NO_LIVE_PHOTO = 154;
  static const int PORTRAIT_COMPARISON_NO_SERVICE_LICENSE = 155;
  static const int PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED = 156;
  static const int MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS = 160;
  static const int MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE = 161;
  static const int FINGERPRINTS_COMPARISON_MISMATCH = 170;
  static const int HOLO_PHOTO_FACE_NOT_DETECTED = 180;
  static const int HOLO_PHOTO_FACE_COMPARISON_FAILED = 181;
  static const int HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT = 182;
  static const int HOLO_ELEMENT_SHAPE_ERROR = 183;
  static const int ALGORITHM_STEPS_ERROR = 184;
  static const int HOLO_AREAS_NOT_LOADED = 185;
  static const int FINISHED_BY_TIMEOUT = 186;
  static const int LAST_DIAGNOSE_VALUE = 190;
}
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
FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA glares in photo area
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
PORTRAIT_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
PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED no portraits detected
MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS unsuitable light conditions
MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE no difference in visible and UV mobile images. Possible UV torch malfunction
FINGERPRINTS_COMPARISON_MISMATCH fingerprints comparison mismatch
HOLO_PHOTO_FACE_NOT_DETECTED face isn’t detected
HOLO_PHOTO_FACE_COMPARISON_FAILED face comparison failed
HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT glare in center absent
HOLO_ELEMENT_SHAPE_ERROR hologram element shape error
ALGORITHM_STEPS_ERROR algorithm steps error
HOLO_AREAS_NOT_LOADED hologram areas not loaded
FINISHED_BY_TIMEOUT hologram check finished by time out
LAST_DIAGNOSE_VALUE for internal use