Class eCheckDiagnose

java.lang.Object
com.regula.documentreader.api.enums.eCheckDiagnose

public class eCheckDiagnose extends Object
Enumeration contains identificators which determinate the result of the text field comparison from the different sources
  • Field Details

    • UNKNOWN

      public static final int UNKNOWN
      Check was not performed
      See Also:
    • PASS

      public static final int PASS
      Check was OK
      See Also:
    • INVALID_INPUT_DATA

      public static final int INVALID_INPUT_DATA
      Invalid input data
      See Also:
    • INTERNAL_ERROR

      public static final int INTERNAL_ERROR
      Internal error in module
      See Also:
    • EXCEPTION_IN_MODULE

      public static final int EXCEPTION_IN_MODULE
      Exception caught
      See Also:
    • UNCERTAIN_VERIFICATION

      public static final int UNCERTAIN_VERIFICATION
      can't make reliable decision
      See Also:
    • NECESSARY_IMAGE_NOT_FOUND

      public static final int NECESSARY_IMAGE_NOT_FOUND
      Image in necessary light was not found
      See Also:
    • PHOTO_SIDES_NOT_FOUND

      public static final int PHOTO_SIDES_NOT_FOUND
      Necessary side of photo was not found
      See Also:
    • INVALID_CHECKSUM

      public static final int INVALID_CHECKSUM
      Invalid checksum
      See Also:
    • SYNTAX_ERROR

      public static final int SYNTAX_ERROR
      Syntactical error
      See Also:
    • LOGIC_ERROR

      public static final int LOGIC_ERROR
      Logical error
      See Also:
    • SOURCES_COMPARISON_ERROR

      public static final int SOURCES_COMPARISON_ERROR
      Comparison was incorrect
      See Also:
    • FIELDS_COMPARISON_LOGIC_ERROR

      public static final int FIELDS_COMPARISON_LOGIC_ERROR
      Logical error, e.g. the current date is less than issue date
      See Also:
    • INVALID_FIELD_FORMAT

      public static final int INVALID_FIELD_FORMAT
      Wrong field format
      See Also:
    • TRUE_LUMINISCENCE_ERROR

      public static final int TRUE_LUMINISCENCE_ERROR
      Element of the luminescense in the UV does not meet the standard
      See Also:
    • FALSE_LUMINISCENCE_ERROR

      public static final int FALSE_LUMINISCENCE_ERROR
      The presence of excess luminescence in UV
      See Also:
    • FIXED_PATTERN_ERROR

      public static final int FIXED_PATTERN_ERROR
      Pattern does not match the standard
      See Also:
    • LOW_CONTRAST_IN_IR_LIGHT

      public static final int LOW_CONTRAST_IN_IR_LIGHT
      Low contrast of object in transmitted IR light
      See Also:
    • INCORRECT_BACKGROUND_LIGHT

      public static final int INCORRECT_BACKGROUND_LIGHT
      Background of page is too light or has invalid color
      See Also:
    • BACKGROUND_COMPARISON_ERROR

      public static final int BACKGROUND_COMPARISON_ERROR
      Background lightness of two pages is different
      See Also:
    • INCORRECT_TEXT_COLOR

      public static final int INCORRECT_TEXT_COLOR
      Text has incorrect color of luminescence in UV light
      See Also:
    • PHOTO_FALSE_LUMINISCENCE

      public static final int PHOTO_FALSE_LUMINISCENCE
      Invalid luminescence in photo area
      See Also:
    • TOO_MUCH_SHIFT

      public static final int TOO_MUCH_SHIFT
      Object is too shifted from standard coordinates
      See Also:
    • CONTACT_CHIP_TYPE_MISMATCH

      public static final int CONTACT_CHIP_TYPE_MISMATCH
      Contact chip type mismatch
      See Also:
    • FIBERS_NOT_FOUND

      public static final int FIBERS_NOT_FOUND
      No protective fibers were found in UV
      See Also:
    • TOO_MANY_OBJECTS

      public static final int TOO_MANY_OBJECTS
      Error finding fibers, too many objects
      See Also:
    • SPECKS_IN_UV

      public static final int SPECKS_IN_UV
      Speck or exposure in UV image
      See Also:
    • TOO_LOW_RESOLUTION

      public static final int TOO_LOW_RESOLUTION
      Resolution too low for fibers search
      See Also:
    • INVISIBLE_ELEMENT_PRESENT

      public static final int INVISIBLE_ELEMENT_PRESENT
      Erroneous visibility of the element in IR
      See Also:
    • VISIBLE_ELEMENT_ABSENT

      public static final int VISIBLE_ELEMENT_ABSENT
      Element is absent in IR
      See Also:
    • ELEMENT_SHOULD_BE_COLORED

      public static final int ELEMENT_SHOULD_BE_COLORED
      Element should be in color
      See Also:
    • ELEMENT_SHOULD_BE_GRAYSCALE

      public static final int ELEMENT_SHOULD_BE_GRAYSCALE
      Element should be in grayscale
      See Also:
    • PHOTO_WHITE_IR_DONT_MATCH

      public static final int PHOTO_WHITE_IR_DONT_MATCH
      See Also:
    • UV_DULL_PAPER_MRZ

      public static final int UV_DULL_PAPER_MRZ
      Glow paper in MRZ
      See Also:
    • FALSE_LUMINISCENCE_IN_MRZ

      public static final int FALSE_LUMINISCENCE_IN_MRZ
      Luminescence characters in MRZ
      See Also:
    • UV_DULL_PAPER_PHOTO

      public static final int UV_DULL_PAPER_PHOTO
      Glow in the field of photo paper
      See Also:
    • UV_DULL_PAPER_BLANK

      public static final int UV_DULL_PAPER_BLANK
      Glow of the whole paper form
      See Also:
    • UV_DULL_PAPER_ERROR

      public static final int UV_DULL_PAPER_ERROR
      Glow of the document in UV
      See Also:
    • FALSE_LUMINISCENCE_IN_BLANK

      public static final int FALSE_LUMINISCENCE_IN_BLANK
      Element of blank has luminescence
      See Also:
    • BAD_AREA_IN_AXIAL

      public static final int BAD_AREA_IN_AXIAL
      Violation of the retro-reflective protection
      See Also:
    • FALSE_IPI_PARAMETERS

      public static final int FALSE_IPI_PARAMETERS
      Invalid params for IPI check
      See Also:
    • FIELD_POS_CORRECTOR_HIGHLIGHT_IR

      public static final int FIELD_POS_CORRECTOR_HIGHLIGHT_IR
      IR image too bright
      See Also:
    • FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA

      public static final int FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA
      Glares in photo area
      See Also:
    • FIELD_POS_CORRECTOR_PHOTO_REPLACED

      public static final int FIELD_POS_CORRECTOR_PHOTO_REPLACED
      Photo replaced
      See Also:
    • OVI_IR_INVISIBLE

      public static final int OVI_IR_INVISIBLE
      OVI object is not visible in IR
      See Also:
    • OVI_INSUFFICIENT_AREA

      public static final int OVI_INSUFFICIENT_AREA
      Insufficient area of the object OVI
      See Also:
    • OVI_COLOR_INVARIABLE

      public static final int OVI_COLOR_INVARIABLE
      OVI color of an object does not change
      See Also:
    • OVI_BAD_COLOR_FRONT

      public static final int OVI_BAD_COLOR_FRONT
      Impossible to determine the color of the AXIAL image
      See Also:
    • OVI_BAD_COLOR_SIDE

      public static final int OVI_BAD_COLOR_SIDE
      Impossible to determine the color of the WHITE image
      See Also:
    • OVI_WIDE_COLOR_SPREAD

      public static final int OVI_WIDE_COLOR_SPREAD
      Wide color spread
      See Also:
    • OVI_BAD_COLOR_PERCENT

      public static final int OVI_BAD_COLOR_PERCENT
      Not enough color information
      See Also:
    • HOLOGRAM_ELEMENT_ABSENT

      public static final int HOLOGRAM_ELEMENT_ABSENT
      Hologram element absent
      See Also:
    • HOLOGRAM_SIDE_TOP_IMAGES_ABSENT

      public static final int HOLOGRAM_SIDE_TOP_IMAGES_ABSENT
      There are no side or top images. Check cancelled
      See Also:
    • HOLOGRAM_ELEMENT_PRESENT

      public static final int HOLOGRAM_ELEMENT_PRESENT
      Hologram element present
      See Also:
    • HOLOGRAM_FRAMES_IS_ABSENT

      public static final int HOLOGRAM_FRAMES_IS_ABSENT
      See Also:
    • HOLOGRAM_HOLO_FIELD_IS_ABSENT

      public static final int HOLOGRAM_HOLO_FIELD_IS_ABSENT
      See Also:
    • PHOTO_PATTERN_INTERRUPTED

      public static final int PHOTO_PATTERN_INTERRUPTED
      Pattern is interrupted
      See Also:
    • PHOTO_PATTERN_SHIFTED

      public static final int PHOTO_PATTERN_SHIFTED
      Some of the patterns are shifted relative to each other
      See Also:
    • PHOTO_PATTERN_DIFFERENT_COLORS

      public static final int PHOTO_PATTERN_DIFFERENT_COLORS
      Some parts of the pattern have different color
      See Also:
    • PHOTO_PATTERN_IR_VISIBLE

      public static final int PHOTO_PATTERN_IR_VISIBLE
      Pattern visible in the infrared
      See Also:
    • PHOTO_PATTERN_NOT_INTERSECT

      public static final int PHOTO_PATTERN_NOT_INTERSECT
      Edge of the photo does not intersect with the pattern. Check cancelled
      See Also:
    • PHOTO_SIZE_IS_WRONG

      public static final int PHOTO_SIZE_IS_WRONG
      Size of the photo does not correspond to requirements
      See Also:
    • PHOTO_PATTERN_INVALID_COLOR

      public static final int PHOTO_PATTERN_INVALID_COLOR
      Some parts of the pattern have invalid color
      See Also:
    • PHOTO_PATTERN_SHIFTED_VERT

      public static final int PHOTO_PATTERN_SHIFTED_VERT
      Some patterns are relatively shifted
      See Also:
    • PHOTO_PATTERN_PATTERN_NOT_FOUND

      public static final int PHOTO_PATTERN_PATTERN_NOT_FOUND
      Not found Pattern. Check cancelled
      See Also:
    • PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS

      public static final int PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS
      Different lines thickness
      See Also:
    • PHOTO_IS_NOT_RECTANGLE

      public static final int PHOTO_IS_NOT_RECTANGLE
      Photo shape is not rectangular
      See Also:
    • PHOTO_CORNERS_IS_WRONG

      public static final int PHOTO_CORNERS_IS_WRONG
      Photo corners don't satisfy the requirements
      See Also:
    • DOCUMENT_IS_CANCELLING

      public static final int DOCUMENT_IS_CANCELLING
      For internal use
      See Also:
    • TEXT_COLOR_SHOULD_BE_BLUE

      public static final int TEXT_COLOR_SHOULD_BE_BLUE
      Text color should be blue
      See Also:
    • TEXT_COLOR_SHOULD_BE_GREEN

      public static final int TEXT_COLOR_SHOULD_BE_GREEN
      Text color should be green
      See Also:
    • TEXT_COLOR_SHOULD_BE_RED

      public static final int TEXT_COLOR_SHOULD_BE_RED
      Text color should be red
      See Also:
    • TEXT_SHOULD_BE_BLACK

      public static final int TEXT_SHOULD_BE_BLACK
      Text should be black
      See Also:
    • BARCODE_WAS_READ_WITH_ERRORS

      public static final int BARCODE_WAS_READ_WITH_ERRORS
      Barcode read with errors
      See Also:
    • BARCODE_DATA_FORMAT_ERROR

      public static final int BARCODE_DATA_FORMAT_ERROR
      Barcode data format error
      See Also:
    • BARCODE_SIZE_PARAMS_ERROR

      public static final int BARCODE_SIZE_PARAMS_ERROR
      Barcode size parameters error
      See Also:
    • NOT_ALL_BARCODES_READ

      public static final int NOT_ALL_BARCODES_READ
      This document should contain more barcodes
      See Also:
    • GLARES_IN_BARCODE_AREA

      public static final int GLARES_IN_BARCODE_AREA
      Glares in barcode area
      See Also:
    • PORTRAIT_COMPARISON_PORTRAITS_DIFFER

      public static final int PORTRAIT_COMPARISON_PORTRAITS_DIFFER
      The portraits do not match
      See Also:
    • PORTRAIT_COMPARISON_NO_SERVICE_REPLY

      public static final int PORTRAIT_COMPARISON_NO_SERVICE_REPLY
      The service does not respond
      See Also:
    • PORTRAIT_COMPARISON_SERVICE_ERROR

      public static final int PORTRAIT_COMPARISON_SERVICE_ERROR
      Service error
      See Also:
    • PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES

      public static final int PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES
      Not enough images
      See Also:
    • PORTRAIT_COMPARISON_NO_LIVE_PHOTO

      public static final int PORTRAIT_COMPARISON_NO_LIVE_PHOTO
      There is no camera image
      See Also:
    • PORTRAIT_COMPARISON_NO_SERVICE_LICENSE

      public static final int PORTRAIT_COMPARISON_NO_SERVICE_LICENSE
      There is no license for the service
      See Also:
    • PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED

      public static final int PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED
      No portraits detected
      See Also:
    • MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS

      public static final int MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS
      Unsuitable light conditions
      See Also:
    • MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE

      public static final int MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE
      No difference in visible and UV mobile images. Possible UV torch malfunction
      See Also:
    • FINGERPRINTS_COMPARISON_MISMATCH

      public static final int FINGERPRINTS_COMPARISON_MISMATCH
      Fingerprints comparison mismatch
      See Also:
    • HOLO_PHOTO_FACE_NOT_DETECTED

      public static final int HOLO_PHOTO_FACE_NOT_DETECTED
      Face isn’t detected
      See Also:
    • HOLO_PHOTO_FACE_COMPARISON_FAILED

      public static final int HOLO_PHOTO_FACE_COMPARISON_FAILED
      Face comparison failed
      See Also:
    • HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT

      public static final int HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT
      Glare in center absent
      See Also:
    • HOLO_ELEMENT_SHAPE_ERROR

      public static final int HOLO_ELEMENT_SHAPE_ERROR
      Hologram element shape error
      See Also:
    • ALGORITHM_STEPS_ERROR

      public static final int ALGORITHM_STEPS_ERROR
      Algorithm steps error
      See Also:
    • HOLO_AREAS_NOT_LOADED

      public static final int HOLO_AREAS_NOT_LOADED
      Hologram areas not loaded
      See Also:
    • FINISHED_BY_TIMEOUT

      public static final int FINISHED_BY_TIMEOUT
      Hologram check finished by time out
      See Also:
    • HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME

      public static final int HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME
      See Also:
    • LIVENESS_DEPTH_CHECK_FAILED

      public static final int LIVENESS_DEPTH_CHECK_FAILED
      See Also:
    • MRZ_QUALITY_WRONG_SYMBOL_POSITION

      public static final int MRZ_QUALITY_WRONG_SYMBOL_POSITION
      Wrong mrz dpi
      See Also:
    • MRZ_QUALITY_WRONG_BACKGROUND

      public static final int MRZ_QUALITY_WRONG_BACKGROUND
      Wrong background
      See Also:
    • MRZ_QUALITY_WRONG_MRZ_WIDTH

      public static final int MRZ_QUALITY_WRONG_MRZ_WIDTH
      See Also:
    • MRZ_QUALITY_WRONG_MRZ_HEIGHT

      public static final int MRZ_QUALITY_WRONG_MRZ_HEIGHT
      See Also:
    • MRZ_QUALITY_WRONG_LINE_POSITION

      public static final int MRZ_QUALITY_WRONG_LINE_POSITION
      See Also:
    • MRZ_QUALITY_WRONG_FONT_TYPE

      public static final int MRZ_QUALITY_WRONG_FONT_TYPE
      See Also:
    • OCR_QUALITY_TEXT_POSITION

      public static final int OCR_QUALITY_TEXT_POSITION
      See Also:
    • OCR_QUALITY_INVALID_FONT

      public static final int OCR_QUALITY_INVALID_FONT
      See Also:
    • OCR_QUALITY_INVALID_BACKGROUND

      public static final int OCR_QUALITY_INVALID_BACKGROUND
      See Also:
    • LAS_INK_INVALID_LINES_FREQUENCY

      public static final int LAS_INK_INVALID_LINES_FREQUENCY
      See Also:
    • DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED

      public static final int DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED
      Traces of an electronic device were found in the image
      See Also:
    • DOC_LIVENESS_INVALID_BARCODE_BACKGROUND

      public static final int DOC_LIVENESS_INVALID_BARCODE_BACKGROUND
      Invalid barcode background
      See Also:
    • LAST_DIAGNOSE_VALUE

      public static final int LAST_DIAGNOSE_VALUE
      For internal use
      See Also:
  • Constructor Details

    • eCheckDiagnose

      public eCheckDiagnose()