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.
1
const eCheckDiagnose = {
2
UNKNOWN: 0,
3
PASS: 1,
4
INVALID_INPUT_DATA: 2,
5
INTERNAL_ERROR: 3,
6
EXCEPTION_IN_MODULE: 4,
7
UNCERTAIN_VERIFICATION: 5,
8
NECESSARY_IMAGE_NOT_FOUND: 7,
9
PHOTO_SIDES_NOT_FOUND: 8,
10
INVALID_CHECKSUM: 10,
11
SYNTAX_ERROR: 11,
12
LOGIC_ERROR: 12,
13
SOURCES_COMPARISON_ERROR: 13,
14
FIELDS_COMPARISON_LOGIC_ERROR: 14,
15
INVALID_FIELD_FORMAT: 15,
16
TRUE_LUMINISCENCE_ERROR: 20,
17
FALSE_LUMINISCENCE_ERROR: 21,
18
FIXED_PATTERN_ERROR: 22,
19
LOW_CONTRAST_IN_IR_LIGHT: 23,
20
INCORRECT_BACKGROUND_LIGHT: 24,
21
BACKGROUND_COMPARISON_ERROR: 25,
22
INCORRECT_TEXT_COLOR: 26,
23
PHOTO_FALSE_LUMINISCENCE: 27,
24
TOO_MUCH_SHIFT: 28,
25
FIBERS_NOT_FOUND: 30,
26
TOO_MANY_OBJECTS: 31,
27
SPECKS_IN_UV: 33,
28
TOO_LOW_RESOLUTION: 34,
29
INVISIBLE_ELEMENT_PRESENT: 40,
30
VISIBLE_ELEMENT_ABSENT: 41,
31
ELEMENT_SHOULD_BE_COLORED: 42,
32
ELEMENT_SHOULD_BE_GRAYSCALE: 43,
33
PHOTO_WHITE_IR_DONT_MATCH: 44,
34
UV_DULL_PAPER_MRZ: 50,
35
FALSE_LUMINISCENCE_IN_MRZ: 51,
36
UV_DULL_PAPER_PHOTO: 52,
37
UV_DULL_PAPER_BLANK: 53,
38
UV_DULL_PAPER_ERROR: 54,
39
FALSE_LUMINISCENCE_IN_BLANK: 55,
40
BAD_AREA_IN_AXIAL: 60,
41
FALSE_IPI_PARAMETERS: 65,
42
FIELD_POS_CORRECTOR_HIGHLIGHT_IR: 80,
43
FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: 81,
44
OVI_IR_INVISIBLE: 90,
45
OVI_INSUFFICIENT_AREA: 91,
46
OVI_COLOR_INVARIABLE: 92,
47
OVI_BAD_COLOR_FRONT: 93,
48
OVI_BAD_COLOR_SIDE: 94,
49
OVI_WIDE_COLOR_SPREAD: 95,
50
OVI_BAD_COLOR_PERCENT: 96,
51
HOLOGRAM_ELEMENT_ABSENT: 100,
52
HOLOGRAM_SIDE_TOP_IMAGES_ABSENT: 101,
53
HOLOGRAM_ELEMENT_PRESENT: 102,
54
HOLOGRAM_FRAMES_IS_ABSENT: 103,
55
HOLOGRAM_HOLO_FIELD_IS_ABSENT: 104,
56
PHOTO_PATTERN_INTERRUPTED: 110,
57
PHOTO_PATTERN_SHIFTED: 111,
58
PHOTO_PATTERN_DIFFERENT_COLORS: 112,
59
PHOTO_PATTERN_IR_VISIBLE: 113,
60
PHOTO_PATTERN_NOT_INTERSECT: 114,
61
PHOTO_SIZE_IS_WRONG: 115,
62
PHOTO_PATTERN_INVALID_COLOR: 116,
63
PHOTO_PATTERN_SHIFTED_VERT: 117,
64
PHOTO_PATTERN_PATTERN_NOT_FOUND: 118,
65
PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS: 119,
66
PHOTO_IS_NOT_RECTANGLE: 120,
67
PHOTO_CORNERS_IS_WRONG: 121,
68
DOCUMENT_IS_CANCELLING: 122,
69
TEXT_COLOR_SHOULD_BE_BLUE: 130,
70
TEXT_COLOR_SHOULD_BE_GREEN: 131,
71
TEXT_COLOR_SHOULD_BE_RED: 132,
72
TEXT_SHOULD_BE_BLACK: 133,
73
BARCODE_WAS_READ_WITH_ERRORS: 140,
74
BARCODE_DATA_FORMAT_ERROR: 141,
75
BARCODE_SIZE_PARAMS_ERROR: 142,
76
NOT_ALL_BARCODES_READ: 143,
77
PORTRAIT_COMPARISON_PORTRAITS_DIFFER: 150,
78
PORTRAIT_COMPARISON_NO_SERVICE_REPLY: 151,
79
PORTRAIT_COMPARISON_SERVICE_ERROR: 152,
80
PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES: 153,
81
PORTRAIT_COMPARISON_NO_LIVE_PHOTO: 154,
82
PORTRAIT_COMPARISON_NO_SERVICE_LICENSE: 155,
83
PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED: 156,
84
MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS: 160,
85
MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE: 161,
86
FINGERPRINTS_COMPARISON_MISMATCH: 170,
87
HOLO_PHOTO_FACE_NOT_DETECTED: 180,
88
HOLO_PHOTO_FACE_COMPARISON_FAILED: 181,
89
HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT: 182,
90
HOLO_ELEMENT_SHAPE_ERROR: 183,
91
ALGORITHM_STEPS_ERROR: 184,
92
HOLO_AREAS_NOT_LOADED: 185,
93
FINISHED_BY_TIMEOUT: 186,
94
LAST_DIAGNOSE_VALUE: 190,
95
}
Copied!
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 modified 1mo ago
Copy link