Constants

The following constants are available globally.

  • Undocumented

    Declaration

    Objective-C

    extern double DocumentReaderVersionNumber

    Swift

    var DocumentReaderVersionNumber: Double
  • Undocumented

    Declaration

    Objective-C

    extern const unsigned char DocumentReaderVersionString[]
  • Undocumented

    Declaration

    Objective-C

    extern _Nonnull NSErrorDomain const RGLDocumentReaderDomain

    Swift

    let RGLDocumentReaderDomain: String
  • Processing scenario for obtaining MRZ data

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_MRZ

    Swift

    let RGL_SCENARIO_MRZ: String
  • Processing scenario for obtaining barcode data

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_BARCODE

    Swift

    let RGL_SCENARIO_BARCODE: String
  • Processing scenario for detecting document boundaries

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_LOCATE

    Swift

    let RGL_SCENARIO_LOCATE: String
  • Processing scenario for obtaining visual zone OCR results

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_OCR

    Swift

    let RGL_SCENARIO_OCR: String
  • Processing scenario for document type recognition

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_DOCTYPE

    Swift

    let RGL_SCENARIO_DOCTYPE: String
  • Processing scenario for obtaining MRZ and/or barcode data

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_MRZ_OR_BARCODE

    Swift

    let RGL_SCENARIO_MRZ_OR_BARCODE: String
  • Processing scenario for detecting document boundaries and/or obtaining MRZ data

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_MRZ_OR_LOCATE

    Swift

    let RGL_SCENARIO_MRZ_OR_LOCATE: String
  • Processing scenario for detecting document boundaries and obtaining MRZ data

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_MRZ_AND_LOCATE

    Swift

    let RGL_SCENARIO_MRZ_AND_LOCATE: String
  • Processing scenario for detecting document boundaries and obtaining barcode data

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_BARCODE_AND_LOCATE

    Swift

    let RGL_SCENARIO_BARCODE_AND_LOCATE: String
  • Processing scenario for obtaining MRZ data or visual zone OCR results

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_MRZ_OR_OCR

    Swift

    let RGL_SCENARIO_MRZ_OR_OCR: String
  • Processing scenario for obtaining MRZ or barcode or visual zone OCR results

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_MRZ_OR_BARCODE_OR_OCR

    Swift

    let RGL_SCENARIO_MRZ_OR_BARCODE_OR_OCR: String
  • Processing scenario for detecting document boundaries and obtaining MRZ data or visual zone OCR results

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_LOCATE_VISUAL_AND_MRZ_OR_OCR

    Swift

    let RGL_SCENARIO_LOCATE_VISUAL_AND_MRZ_OR_OCR: String
  • Processing scenario for obtaining all document data

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_FULL_PROCESS

    Swift

    let RGL_SCENARIO_FULL_PROCESS: String
  • Processing scenario for obtaining all document data and document authentication

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_FULL_AUTH

    Swift

    let RGL_SCENARIO_FULL_AUTH: String
  • Processing scenario for obtaining visual zone OCR results from Russian National Passport and MRZ data from any document

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_ID3RUS

    Swift

    let RGL_SCENARIO_ID3RUS: String
  • Processing scenario for obtaining data from registration stamps in Russian passports

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_RUS_STAMP

    Swift

    let RGL_SCENARIO_RUS_STAMP: String
  • Processing scenario for obtaining OCR results of any image

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_OCR_FREE

    Swift

    let RGL_SCENARIO_OCR_FREE: String
  • Processing scenario for obtaining bank card data

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_CREDIT_CARD

    Swift

    let RGL_SCENARIO_CREDIT_CARD: String
  • Scenario for obtaining an original image without any processing

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_CAPTURE

    Swift

    let RGL_SCENARIO_CAPTURE: String
  • Scenario for Digital Travel Credentials (DTC) processing

    Declaration

    Objective-C

    extern NSString *const RGL_SCENARIO_DTC

    Swift

    let RGL_SCENARIO_DTC: String
  • Glares presence check.

    Declaration

    Objective-C

    extern const RGLImageQualityCheckType _Nonnull RGLImageQualityCheckTypeImageGlares

    Swift

    static let imageGlares: ImageQualityCheckType
  • Focus quality check.

    Declaration

    Objective-C

    extern const RGLImageQualityCheckType _Nonnull RGLImageQualityCheckTypeImageFocus

    Swift

    static let imageFocus: ImageQualityCheckType
  • Image resolution check.

    Declaration

    Objective-C

    extern const RGLImageQualityCheckType _Nonnull RGLImageQualityCheckTypeImageResolution

    Swift

    static let imageResolution: ImageQualityCheckType
  • Image colorness check.

    Declaration

    Objective-C

    extern const RGLImageQualityCheckType _Nonnull RGLImageQualityCheckTypeImageColorness

    Swift

    static let imageColorness: ImageQualityCheckType
  • Image perspective check, i.e. the deviation of the corners of the document from the value of 90 degrees is checked.

    Declaration

    Objective-C

    extern const RGLImageQualityCheckType _Nonnull RGLImageQualityCheckTypeImagePerspective

    Swift

    static let imagePerspective: ImageQualityCheckType
  • Image quality check if the whole document page is completely within the image.

    Declaration

    Objective-C

    extern const RGLImageQualityCheckType _Nonnull RGLImageQualityCheckTypeImageBounds

    Swift

    static let imageBounds: ImageQualityCheckType
  • Image moire check.

    Declaration

    Objective-C

    extern const RGLImageQualityCheckType _Nonnull RGLImageQualityCheckTypeScreenCapture

    Swift

    static let screenCapture: ImageQualityCheckType
  • Portrait image check.

    Declaration

    Objective-C

    extern const RGLImageQualityCheckType _Nonnull RGLImageQualityCheckTypePortrait

    Swift

    static let portrait: ImageQualityCheckType
  • Handwritten image check.

    Declaration

    Objective-C

    extern const RGLImageQualityCheckType _Nonnull RGLImageQualityCheckTypeHandwritten

    Swift

    static let handwritten: ImageQualityCheckType
  • Handwritten image check.

    Declaration

    Objective-C

    extern const RGLImageQualityCheckType _Nonnull RGLImageQualityCheckTypeBrightness

    Swift

    static let brightness: ImageQualityCheckType
  • Fatal error

    Declaration

    Objective-C

    extern const RGLLogLevel RGLLogLevelFatalError

    Swift

    static let fatalError: RGLLogLevel
  • Error

    Declaration

    Objective-C

    extern const RGLLogLevel RGLLogLevelError

    Swift

    static let error: RGLLogLevel
  • Warning

    Declaration

    Objective-C

    extern const RGLLogLevel RGLLogLevelWarning

    Swift

    static let warning: RGLLogLevel
  • Info

    Declaration

    Objective-C

    extern const RGLLogLevel RGLLogLevelInfo

    Swift

    static let info: RGLLogLevel
  • Debug

    Declaration

    Objective-C

    extern const RGLLogLevel RGLLogLevelDebug

    Swift

    static let debug: RGLLogLevel