Skip to content

RGLCheckDiagnose

The RGLCheckDiagnose enumeration contains identificators that determine the result of the text field comparison from different sources.

typedef NS_ENUM(NSInteger, RGLCheckDiagnose) {
        RGLCheckDiagnoseUnknown = 0,
        RGLCheckDiagnosePass = 1,
        RGLCheckDiagnoseInvalidInputData = 2,
        RGLCheckDiagnoseInternalError = 3,
        RGLCheckDiagnoseExceptionInModule = 4,
        RGLCheckDiagnoseUncertainVerification = 5,
        RGLCheckDiagnoseNecessaryImageNotFound = 7,
        RGLCheckDiagnosePhotoSidesNotFound = 8,
        RGLCheckDiagnoseInvalidChecksum = 10,
        RGLCheckDiagnoseSyntaxError = 11,
        RGLCheckDiagnoseLogicError = 12,
        RGLCheckDiagnoseSourcesComparisonError = 13,
        RGLCheckDiagnoseFieldsComparisonLogicError = 14,
        RGLCheckDiagnoseInvalidFieldFormat = 15,
        RGLCheckDiagnoseTrueLuminiscenceError = 20,
        RGLCheckDiagnoseFalseLuminiscenceError = 21,
        RGLCheckDiagnoseFixedPatternError = 22,
        RGLCheckDiagnoseLowContrastInIRLight = 23,
        RGLCheckDiagnoseIncorrectBackgroundLight = 24,
        RGLCheckDiagnoseBackgroundComparisonError = 25,
        RGLCheckDiagnoseIncorrectTextColor = 26,
        RGLCheckDiagnosePhotoFalseLuminiscence = 27,
        RGLCheckDiagnoseTooMuchShift = 28,
        RGLCheckDiagnoseFibersNotFound = 30,
        RGLCheckDiagnoseTooManyObjects = 31,
        RGLCheckDiagnoseSpecksInUV = 33,
        RGLCheckDiagnoseTooLowResolution = 34,
        RGLCheckDiagnoseInvisibleElementPresent = 40,
        RGLCheckDiagnoseVisibleElementAbsent = 41,
        RGLCheckDiagnoseElementShouldBeColored = 42,
        RGLCheckDiagnoseElementShouldBeGrayscale = 43,
        RGLCheckDiagnosePhotoWhiteIRDontMatch = 44,
        RGLCheckDiagnoseUVDullPaper_MRZ = 50,
        RGLCheckDiagnoseFalseLuminiscenceInMRZ = 51,
        RGLCheckDiagnoseUVDullPaper_Photo = 52,
        RGLCheckDiagnoseUVDullPaper_Blank = 53,
        RGLCheckDiagnoseUVDullPaperError = 54,
        RGLCheckDiagnoseFalseLuminiscenceInBlank = 55,
        RGLCheckDiagnoseBadAreaInAxial = 60,
        RGLCheckDiagnoseFalseIPIParameters = 65,
        RGLCheckDiagnoseFieldPosCorrector_Highlight_IR = 80,
        RGLCheckDiagnoseFieldPosCorrector_GlaresInPhotoArea = 81,
        RGLCheckDiagnoseOVIIRInvisible = 90,
        RGLCheckDiagnoseOVIInsufficientArea = 91,
        RGLCheckDiagnoseOVIColorInvariable = 92,
        RGLCheckDiagnoseOVIBadColorFront = 93,
        RGLCheckDiagnoseOVIBadColorSide = 94,
        RGLCheckDiagnoseOVIWideColorSpread = 95,
        RGLCheckDiagnoseOVIBadColorPercent = 96,
        RGLCheckDiagnoseHologramElementAbsent = 100,
        RGLCheckDiagnoseHologramSideTopImagesAbsent = 101,
        RGLCheckDiagnoseHologramElementPresent = 102,
        RGLCheckDiagnoseHologramFramesIsAbsent = 103,
        RGLCheckDiagnoseHologramHoloFieldIsAbsent = 104,
        RGLCheckDiagnosePhotoPatternInterrupted = 110,
        RGLCheckDiagnosePhotoPatternShifted = 111,
        RGLCheckDiagnosePhotoPatternDifferentColors = 112,
        RGLCheckDiagnosePhotoPatternIRVisible = 113,
        RGLCheckDiagnosePhotoPatternNotIntersect = 114,
        RGLCheckDiagnosePhotoSizeIsWrong = 115,
        RGLCheckDiagnosePhotoPatternInvalidColor = 116,
        RGLCheckDiagnosePhotoPatternShiftedVert = 117,
        RGLCheckDiagnosePhotoPatternPatternNotFound = 118,
        RGLCheckDiagnosePhotoPatternDifferentLinesThickness = 119,
        RGLCheckDiagnosePhotoIsNotRectangle = 120,
        RGLCheckDiagnosePhotoCornersIsWrong = 121,
        RGLCheckDiagnoseDocumentIsCancelling = 122,
        RGLCheckDiagnoseTextColorShouldBeBlue = 130,
        RGLCheckDiagnoseTextColorShouldBeGreen = 131,
        RGLCheckDiagnoseTextColorShouldBeRed = 132,
        RGLCheckDiagnoseTextShouldBeBlack = 133,
        RGLCheckDiagnoseBarcodeWasReadWithErrors = 140,
        RGLCheckDiagnoseBarcodeDataFormatError = 141,
        RGLCheckDiagnoseBarcodeSizeParamsError = 142,
        RGLCheckDiagnoseNotAllBarcodesRead = 143,
        RGLCheckDiagnosePortraitComparisonPortraitsDiffer = 150,
        RGLCheckDiagnosePortraitComparisonNoServiceReply = 151,
        RGLCheckDiagnosePortraitComparisonServiceError = 152,
        RGLCheckDiagnosePortraitComparisonNotEnoughImages = 153,
        RGLCheckDiagnosePortraitComparisonNoLivePhoto = 154,
        RGLCheckDiagnosePortraitComparisonNoServiceLicense = 155,
        RGLCheckDiagnosePortraitComparisonNoPortraitDetected = 156,
        RGLCheckDiagnoseMobileImagesUnsuitableLightConditions = 160,
        RGLCheckDiagnoseMobileImagesWhiteUVNoDifference = 161,
        RGLCheckDiagnoseFingerprintsComparisonMismatch = 170,
        RGLCheckDiagnoseHoloPhotoFaceNotDetected = 180,
        RGLCheckDiagnoseHoloPhotoFaceComparisonFailed = 181,
        RGLCheckDiagnoseHoloPhotoFaceGlareInCenterAbsent = 182,
        RGLCheckDiagnoseHoloElementShapeError = 183,
        RGLCheckDiagnoseAlgorithmStepsError = 184,
        RGLCheckDiagnoseHoloAreasNotLoaded = 185,
        RGLCheckDiagnoseFinishedByTimeout = 186,
        RGLCheckDiagnoseLastDiagnoseValue = 190,
} NS_SWIFT_NAME(CheckDiagnose);
Constant Description
RGLCheckDiagnoseUnknown check was not performed
RGLCheckDiagnosePass check was OK
RGLCheckDiagnoseInvalidInputData invalid input data
RGLCheckDiagnoseInternalError internal error in module
RGLCheckDiagnoseExceptionInModule exception caught
RGLCheckDiagnoseUncertainVerification can't make a reliable decision
RGLCheckDiagnoseNecessaryImageNotFound image in the necessary light was not found
RGLCheckDiagnosePhotoSidesNotFound the necessary side of a photo was not found
RGLCheckDiagnoseInvalidChecksum invalid checksum
RGLCheckDiagnoseSyntaxError syntactical error
RGLCheckDiagnoseLogicError logical error
RGLCheckDiagnoseSourcesComparisonError comparison was incorrect
RGLCheckDiagnoseFieldsComparisonLogicError logical error, for example, the current date is less than issue date
RGLCheckDiagnoseInvalidFieldFormat wrong field format
RGLCheckDiagnoseTrueLuminiscenceError element of the luminescence in the UV does not meet the standard
RGLCheckDiagnoseFalseLuminiscenceError presence of excess luminescence in UV
RGLCheckDiagnoseFixedPatternError pattern does not match the standard
RGLCheckDiagnoseLowContrastInIRLight low contrast of object in the transmitted IR light
RGLCheckDiagnoseIncorrectBackgroundLight background of the page is too light or has an invalid color
RGLCheckDiagnoseBackgroundComparisonError background lightness of two pages is different
RGLCheckDiagnoseIncorrectTextColor text has an incorrect color of luminescence in UV light
RGLCheckDiagnosePhotoFalseLuminiscence invalid luminescence in photo area
RGLCheckDiagnoseTooMuchShift object is too shifted from standard coordinates
RGLCheckDiagnoseFibersNotFound no protective fibers were found in UV
RGLCheckDiagnoseTooManyObjects error finding fibers, too many objects
RGLCheckDiagnoseSpecksInUV speck or exposure in UV image
RGLCheckDiagnoseTooLowResolution resolution too low for fibers search
RGLCheckDiagnoseInvisibleElementPresent erroneous visibility of the element in IR
RGLCheckDiagnoseVisibleElementAbsent element is absent in IR
RGLCheckDiagnoseElementShouldBeColored element should be in color
RGLCheckDiagnoseElementShouldBeGrayscale element should be in grayscale
RGLCheckDiagnoseUVDullPaper_MRZ glow paper in MRZ
RGLCheckDiagnoseFalseLuminiscenceInMRZ luminescence characters in MRZ
RGLCheckDiagnoseUVDullPaper_Photo glow in the field of photo paper
RGLCheckDiagnoseUVDullPaper_Blank glow of the whole paper form
RGLCheckDiagnoseUVDullPaperError glow of the document in UV
RGLCheckDiagnoseFalseLuminiscenceInBlank element of blank has luminescence
RGLCheckDiagnoseBadAreaInAxial violation of the retro-reflective protection
RGLCheckDiagnoseFalseIPIParameters invalid params for IPI check
RGLCheckDiagnoseFieldPosCorrector_Highlight_IR IR image is too bright
RGLCheckDiagnoseFieldPosCorrector_GlaresInPhotoArea glares in photo area
RGLCheckDiagnoseOVIIRInvisible OVI object is not visible in IR
RGLCheckDiagnoseOVIInsufficientArea insufficient area of the object OVI
RGLCheckDiagnoseOVIColorInvariable OVI color of an object does not change
RGLCheckDiagnoseOVIBadColorFront impossible to determine the color of the AXIAL image
RGLCheckDiagnoseOVIBadColorSide impossible to determine the color of the WHITE image
RGLCheckDiagnoseOVIWideColorSpread wide color spread
RGLCheckDiagnoseOVIBadColorPercent not enough color information
RGLCheckDiagnoseHologramElementAbsent hologram element is absent
RGLCheckDiagnoseHologramSideTopImagesAbsent there are no side or top images. The check is cancelled.
RGLCheckDiagnoseHologramElementPresent hologram element is present
RGLCheckDiagnosePhotoPatternInterrupted pattern is interrupted
RGLCheckDiagnosePhotoPatternShifted some of the patterns are shifted in relation to each other
RGLCheckDiagnosePhotoPatternDifferentColors some parts of the pattern have different color
RGLCheckDiagnosePhotoPatternIRVisible pattern visible in the infrared
RGLCheckDiagnosePhotoPatternNotIntersect edge of the photo does not intersect with the pattern. The check is cancelled.
RGLCheckDiagnosePhotoSizeIsWrong size of the photo does not correspond to the requirements
RGLCheckDiagnosePhotoPatternInvalidColor some parts of the pattern have invalid color
RGLCheckDiagnosePhotoPatternShiftedVert some patterns are relatively shifted
RGLCheckDiagnosePhotoPatternPatternNotFound pattern is not found. The check is cancelled.
RGLCheckDiagnosePhotoPatternDifferentLinesThickness different lines thickness
RGLCheckDiagnosePhotoIsNotRectangle photo shape is not rectangular
RGLCheckDiagnosePhotoCornersIsWrong photo corners don't satisfy the requirements
RGLCheckDiagnoseDocumentIsCancelling for internal use
RGLCheckDiagnoseTextColorShouldBeBlue text color should be blue
RGLCheckDiagnoseTextColorShouldBeGreen text color should be green
RGLCheckDiagnoseTextColorShouldBeRed text color should be red
RGLCheckDiagnoseTextShouldBeBlack text should be black
RGLCheckDiagnoseBarcodeWasReadWithErrors barcode read with errors
RGLCheckDiagnoseBarcodeDataFormatError barcode data format error
RGLCheckDiagnoseBarcodeSizeParamsError barcode size parameters error
RGLCheckDiagnoseNotAllBarcodesRead this document should contain more barcodes
RGLCheckDiagnosePortraitComparisonPortraitsDiffer the portraits do not match
RGLCheckDiagnosePortraitComparisonNoServiceReply the service does not respond
RGLCheckDiagnosePortraitComparisonServiceError service error
RGLCheckDiagnosePortraitComparisonNotEnoughImages not enough images
RGLCheckDiagnosePortraitComparisonNoLivePhoto there is no camera image
RGLCheckDiagnosePortraitComparisonNoServiceLicense there is no license for the service
RGLCheckDiagnosePortraitComparisonNoPortraitDetected no portraits detected
RGLCheckDiagnoseMobileImagesUnsuitableLightConditions unsuitable light conditions
RGLCheckDiagnoseMobileImagesWhiteUVNoDifference no difference in visible and UV mobile images. Possible UV torch malfunction
RGLCheckDiagnoseFingerprintsComparisonMismatch fingerprints comparison mismatch
RGLCheckDiagnoseHoloPhotoFaceNotDetected face isn’t detected
RGLCheckDiagnoseHoloPhotoFaceComparisonFailed face comparison failed
RGLCheckDiagnoseHoloPhotoFaceGlareInCenterAbsent glare in center is absent
RGLCheckDiagnoseHoloElementShapeError hologram element shape error
RGLCheckDiagnoseAlgorithmStepsError algorithm steps error
RGLCheckDiagnoseHoloAreasNotLoaded hologram areas not loaded
RGLCheckDiagnoseFinishedByTimeout hologram check is finished by time out
RGLCheckDiagnoseLastDiagnoseValue for internal use
Back to top