Skip to content


The RGLImageQualityCheckType enumeration contains possible values of the input image quality check result type.

typedef NS_ENUM(NSInteger, RGLImageQualityCheckType) {
  RGLEImageQualityCheckTypeImageGlares       = 0,
  RGLEImageQualityCheckTypeImageFocus        = 1,
  RGLEImageQualityCheckTypeImageResolution   = 2,
  RGLEImageQualityCheckTypeImageColorness    = 3,
  RGLEImageQualityCheckTypeImagePerspective  = 4,
  RGLEImageQualityCheckTypeImageBounds       = 5,
  RGLEImageQualityCheckTypeScreenCapture     = 6,
  RGLEImageQualityCheckTypePortrait          = 7, 
  RGLEImageQualityCheckTypeHandwritten       = 8
} NS_SWIFT_NAME(ImageQualityCheckType);
Constant Description
RGLEImageQualityCheckTypeImageGlares glares presence check
RGLEImageQualityCheckTypeImageFocus focus quality check
RGLEImageQualityCheckTypeImageResolution image resolution check
RGLEImageQualityCheckTypeImageColorness image colorness check
RGLEImageQualityCheckTypeImagePerspective document perspective check, that is the check of the deviation of the corners of the document from the value of 90 degrees
RGLEImageQualityCheckTypeImageBounds document bounds check, that is the check if the document bounds are fully in the frame
RGLEImageQualityCheckTypeScreenCapture image moire check
RGLEImageQualityCheckTypePortrait image quality check if the portrait is present
RGLEImageQualityCheckTypeHandwritten image quality check (visual OCR) if the document contains handwritten text