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.
const eCheckDiagnose = {
UNKNOWN: 0,
PASS: 1,
INVALID_INPUT_DATA: 2,
INTERNAL_ERROR: 3,
EXCEPTION_IN_MODULE: 4,
UNCERTAIN_VERIFICATION: 5,
NECESSARY_IMAGE_NOT_FOUND: 7,
PHOTO_SIDES_NOT_FOUND: 8,
INVALID_CHECKSUM: 10,
SYNTAX_ERROR: 11,
LOGIC_ERROR: 12,
SOURCES_COMPARISON_ERROR: 13,
FIELDS_COMPARISON_LOGIC_ERROR: 14,
INVALID_FIELD_FORMAT: 15,
TRUE_LUMINISCENCE_ERROR: 20,
FALSE_LUMINISCENCE_ERROR: 21,
FIXED_PATTERN_ERROR: 22,
LOW_CONTRAST_IN_IR_LIGHT: 23,
INCORRECT_BACKGROUND_LIGHT: 24,
BACKGROUND_COMPARISON_ERROR: 25,
INCORRECT_TEXT_COLOR: 26,
PHOTO_FALSE_LUMINISCENCE: 27,
TOO_MUCH_SHIFT: 28,
FIBERS_NOT_FOUND: 30,
TOO_MANY_OBJECTS: 31,
SPECKS_IN_UV: 33,
TOO_LOW_RESOLUTION: 34,
INVISIBLE_ELEMENT_PRESENT: 40,
VISIBLE_ELEMENT_ABSENT: 41,
ELEMENT_SHOULD_BE_COLORED: 42,
ELEMENT_SHOULD_BE_GRAYSCALE: 43,
PHOTO_WHITE_IR_DONT_MATCH: 44,
UV_DULL_PAPER_MRZ: 50,
FALSE_LUMINISCENCE_IN_MRZ: 51,
UV_DULL_PAPER_PHOTO: 52,
UV_DULL_PAPER_BLANK: 53,
UV_DULL_PAPER_ERROR: 54,
FALSE_LUMINISCENCE_IN_BLANK: 55,
BAD_AREA_IN_AXIAL: 60,
FALSE_IPI_PARAMETERS: 65,
FIELD_POS_CORRECTOR_HIGHLIGHT_IR: 80,
FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: 81,
OVI_IR_INVISIBLE: 90,
OVI_INSUFFICIENT_AREA: 91,
OVI_COLOR_INVARIABLE: 92,
OVI_BAD_COLOR_FRONT: 93,
OVI_BAD_COLOR_SIDE: 94,
OVI_WIDE_COLOR_SPREAD: 95,
OVI_BAD_COLOR_PERCENT: 96,
HOLOGRAM_ELEMENT_ABSENT: 100,
HOLOGRAM_SIDE_TOP_IMAGES_ABSENT: 101,
HOLOGRAM_ELEMENT_PRESENT: 102,
HOLOGRAM_FRAMES_IS_ABSENT: 103,
HOLOGRAM_HOLO_FIELD_IS_ABSENT: 104,
PHOTO_PATTERN_INTERRUPTED: 110,
PHOTO_PATTERN_SHIFTED: 111,
PHOTO_PATTERN_DIFFERENT_COLORS: 112,
PHOTO_PATTERN_IR_VISIBLE: 113,
PHOTO_PATTERN_NOT_INTERSECT: 114,
PHOTO_SIZE_IS_WRONG: 115,
PHOTO_PATTERN_INVALID_COLOR: 116,
PHOTO_PATTERN_SHIFTED_VERT: 117,
PHOTO_PATTERN_PATTERN_NOT_FOUND: 118,
PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS: 119,
PHOTO_IS_NOT_RECTANGLE: 120,
PHOTO_CORNERS_IS_WRONG: 121,
DOCUMENT_IS_CANCELLING: 122,
TEXT_COLOR_SHOULD_BE_BLUE: 130,
TEXT_COLOR_SHOULD_BE_GREEN: 131,
TEXT_COLOR_SHOULD_BE_RED: 132,
TEXT_SHOULD_BE_BLACK: 133,
BARCODE_WAS_READ_WITH_ERRORS: 140,
BARCODE_DATA_FORMAT_ERROR: 141,
BARCODE_SIZE_PARAMS_ERROR: 142,
NOT_ALL_BARCODES_READ: 143,
PORTRAIT_COMPARISON_PORTRAITS_DIFFER: 150,
PORTRAIT_COMPARISON_NO_SERVICE_REPLY: 151,
PORTRAIT_COMPARISON_SERVICE_ERROR: 152,
PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES: 153,
PORTRAIT_COMPARISON_NO_LIVE_PHOTO: 154,
PORTRAIT_COMPARISON_NO_SERVICE_LICENSE: 155,
PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED: 156,
MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS: 160,
MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE: 161,
FINGERPRINTS_COMPARISON_MISMATCH: 170,
HOLO_PHOTO_FACE_NOT_DETECTED: 180,
HOLO_PHOTO_FACE_COMPARISON_FAILED: 181,
HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT: 182,
HOLO_ELEMENT_SHAPE_ERROR: 183,
ALGORITHM_STEPS_ERROR: 184,
HOLO_AREAS_NOT_LOADED: 185,
FINISHED_BY_TIMEOUT: 186,
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
Last updated
Was this helpful?