RGLProcessParams

Objective-C

@interface RGLProcessParams : NSObject

/// Documents processing scenario.
@property (nonatomic, strong, nullable) NSString *scenario;

/// Documents processing scenario for the Capture button.
@property (nonatomic, strong, nullable) NSString *captureButtonScenario;

/// If set to `true`, the DocumentReader logs will be shown in the console.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *logs;

/// If set to `true`, processing of more than one page of the document (if they exist) will be triggered, otherwise, only one page will be processed.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *multipageProcessing;

/// If set to `true`, document focus check will be omitted.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *disableFocusingCheck;

/// Change the format string of displayed dates in the results. Mask examples: `dd/mm/yyyy`, `mm/dd/yyyy`, `dd-mm-yyyy`, `mm-dd-yyyy`, `dd/mm/yy`.
/// Set to `nil` to revert default value.
/// Default: depends on the device's locale.
@property (nonatomic, strong, null_resettable) NSString *dateFormat;

/// Takes the list of the document IDs to process. All documents will be processed if it's empty.
/// Type: Array of Integer.
@property (nonatomic, strong, nullable) NSArray<NSNumber *> *documentIDList;

/// The path to the logs folder of the last session.
@property (readonly, nonatomic, strong, nullable) NSString *sessionLogFolder;

/// If you recognize the MRZ of documents, all fields will be extracted.
/// If you recognize the Visual zone of documents, you can set the list of field types that you wish to extract, other fields will be skipped during processing.
/// All fields will be extracted if it is empty.
/// Type: Array of `RGLFieldType` enum.
@property (nonatomic, strong, nullable) NSArray<NSNumber *> *fieldTypesFilter;

/// Set types of barcodes that you wish to recognize. All barcodes will be recognized if it's empty.
/// Type: Array of `RGLBarcodeType` enum.
@property (nonatomic, strong, nullable) NSArray<NSNumber *> *barcodeTypes;

/// Measure system of fields' values that are presented in results.
/// Default: If the country code is `US` or `LR` or `MM`, the `Imperial` system of measurement, otherwise, the `Metric`.
@property (nonatomic, assign) RGLMeasureSystem measureSystem;

/// If set to `true`, an original (uncropped) image will be received, which is sent for recognition.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *returnUncroppedImage;

/// If set to `true`, an image with cropped barcode will be returned.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *returnCroppedBarcode;

/// If set to `true`, allows to process up to two pages of the document (so-called "a double-page spread")
/// for one-shot if they are presented on the frame (image).
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *doublePageSpread;

/// There are documents that contain barcodes which data can be parsed only if document type verification is performed.
/// The following property allows setting the barcode parser type which should be used during recognition.
/// It allows parsing barcode data without performing document type verification.
/// Type: Integer.
@property (nonatomic, strong, nullable) NSNumber *barcodeParserType;

/// Allows you to set the time limit for document recognition (in seconds), beyond which the recognition does not continue regardless of its result.
/// The countdown starts from the moment the scenario starts.
/// Setting value to `0` means infinity.
/// Type: `NSTimeInterval`.
@property (nonatomic, strong, nullable) NSNumber *timeout;

/// Allows you to set the time limit for document recognition (in seconds), beyond which the recognition does not continue regardless of its result.
/// The countdown starts from the moment the document is detected.
/// Setting value to `0` means infinity.
/// Type: `NSTimeInterval`.
@property (nonatomic, strong, nullable) NSNumber *timeoutFromFirstDetect;

/// Allows you to set the time limit for document recognition (in seconds), beyond which the recognition does not continue regardless of its result.
/// The countdown starts from the moment the document type is recognized.
/// Setting value to `0` means infinity.
/// Type: `NSTimeInterval`.
@property (nonatomic, strong, nullable) NSNumber *timeoutFromFirstDocType;

/// Allows to build an integral image, taking into account the quality of fixation of each of the individual images.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *integralImage;

/// Allows you to set the minimum acceptable DPI value of the camera frame that is passed for recognition.
/// Camera frames the DPI of which are less than you set won't be passed for recognition.
/// Type: Integer.
@property (nonatomic, strong, nullable) NSNumber *minDPI;

/// Allows you to set the maximum value of the deviation of the corners of the document from the value of `90` degrees.
/// Type: Integer.
@property (nonatomic, strong, nullable) NSNumber *perspectiveAngle;

/// If set to `true`, allows you to manually set the document's bounds after it is detected.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *manualCrop;

/// If set to `true`, a document's holograms presence will be checked.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *checkHologram RGL_DEPRECATED(7.1, "Use `authenticityParams.checkLiveness` instead.");

/// If set to `true`, personal information will be removed from logs.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *depersonalizeLog;

/// If set to `true`, in case required fields are not read, their values will be empty.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *checkRequiredTextFields;

/// Types of results to return in response. See 'RGLResultType' enum for available options.
/// Type: Array of `RGLResultType` enum.
@property (nonatomic, strong, nullable) NSArray<NSNumber *> *resultTypeOutput;

/// When enabled together with `doublePageSpread` and there is a passport with two pages spread in the image,
/// pages will be cropped, straightened and aligned together, as if the document was captured on a flatbed scanner.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *generateDoublePageSpreadImage;

/// This option controls maximum resolution in dpi of output images.
/// Resolution will remain original in case `0` is set.
/// Type: Integer.
@property (nonatomic, strong, nullable) NSNumber *imageDpiOutMax;

/// This option can be set to `true` if you know for sure that the image you provide contains
/// already cropped document by its edges. This was designed to process on the
/// server side images captured and cropped on mobile.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *alreadyCropped;

/// Force use of specific template ID and skip document type identification step.
/// Type: Integer.
@property (nonatomic, strong, nullable) NSNumber *forceDocID;

/// When disabled, text field OCR will be done as is and then the recognized value will be
/// matched to the field mask for validity. If enabled, we are trying to read a field value with maximum efforts
/// to match the mask and provide a correctly formatted value, making assumptions based on the provided field mask
/// in the template.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *matchTextFieldMask;

/// When enabled, shorten the list of candidates to process during document detection in
/// single image process mode. Reduces processing time for specific
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *fastDocDetect RGL_DEPRECATED(7.1, "Deprecated property.");

/// When enabled, fail OCR field validity, if there is a glare over the text field on the image.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *updateOCRValidityByGlare;

/// When enabled no graphic fields will be cropped from document image.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *noGraphics;

/// Controls properties of ImageQA checks. See `RGLImageQA` for more information.
@property (nonatomic, strong, nonnull) RGLImageQA *imageQA;

/// Force use of specified document format when locating and recognizing document to reduce the number of candidates.
/// Type: `RGLDocFormat` enum.
@property (nonatomic, strong, nullable) NSNumber *forceDocFormat;

/// Specifies minimal area of the image that document should cover to be treated as candidate when locating.
/// Value should be in range from `0` to `1`, where `1` is when document should fully cover the image.
/// Type: Float.
@property (nonatomic, strong, nullable) NSNumber *documentAreaMin;

/// This option allows locating and cropping multiple documents from one image if enabled.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *multiDocOnImage;

/// This option allows shifting the date of expiry into the future or past for number of months specified.
/// This is useful, for example, in some cases when document might be still valid for some period after original expiration date
/// to prevent negative validity status for such documents.
/// Or by shifting the date to the past will set negative validity for the documents that is about to expire in a specified number of months.
/// Type: Integer.
@property (nonatomic, strong, nullable) NSNumber *shiftExpiryDate;

/// This options allows specifying the minimal age in years of the document holder for the document to be considered valid.
/// Type: Integer.
@property (nonatomic, strong, nullable) NSNumber *minimalHolderAge;

/// This option allows limiting MRZ formats to be recognized by specifying them in array.
/// Type: Array of `RGLMRZFormat` enum.
@property (nonatomic, strong, nullable) NSArray<NSNumber *> *mrzFormatsFilter;

/// This option can be set to `true` to make sure that in series processing MRZ is located fully inside the result document image, if present on the document.
/// Enabling this option may add extra processing time, by disabling optimizations, but allows more stability in output image quality.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *forceReadMrzBeforeLocate;

/// Takes JSON with parameters that are not presented in the DocumentReader.
@property (nonatomic, strong, nullable) NSDictionary *customParams;

/// When set to `false`, the Barcode code parsing will be skipped and the raw information from the code will be returned instead.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *parseBarcodes;

/// When set to `true`, the `rawResults` property of the `RGLDocumentReaderResults` will contain the encrypted containers
/// of scanning results that may be used for later reprocessing.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *shouldReturnPackageForReprocess;

/// When enabled, OCR of perforated fields in the document template will not be performed.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *disablePerforationOCR;

/// Array of specific eligible document types from `RGLDiDocType` enum to recognize from.
/// You may, for example, specify only passports to be recognized by setting this property.
@property (nonatomic, strong, nullable) NSArray<NSNumber *> *documentGroupFilter;

/// The list of LCID types to ignore during the recognition.
/// If empty, values with all LCID types will be extracted.
/// Narrowing down the list can reduce processing time.
/// Empty by default.
@property (nonatomic, strong, nullable) NSArray<NSNumber *> *lcidIgnoreFilter;

/// The list of LCID types to recognize.
/// If empty, values with all LCID types will be extracted.
/// Empty by default.
@property (nonatomic, strong, nullable) NSArray<NSNumber *> *lcidFilter;

/// When enabled, image quality checks status affects document optical and overall status.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *respectImageQuality;

/// When enabled, the Surname and GivenNames field (`RGLDocumentReaderTextField`) will be divided into fields with fieldTypes `RGLFieldTypeFt_First_Name, RGLFieldTypeFt_Second_Name, RGLFieldTypeFt_Third_Name, RGLFieldTypeFt_Fourth_Name, RGLFieldTypeFt_Last_Name`.
@property (nonatomic, strong, nullable) NSNumber *splitNames;

/// Allowed `RGLAuthenticity`.
/// Accepts sum of `RGLAuthenticity` values.
@property (nonatomic, strong, nullable) NSNumber *processAuth;

/// This option allows output text case transformation.
/// No changes applied by default to original values.
@property (nonatomic, strong, nullable) RGLTextProcessing *convertCase;

/// Maximum width of output images. In pixels.
@property (nonatomic, strong, nullable) NSNumber *imageOutputMaxWidth;

/// Maximum height of output images. In pixels.
@property (nonatomic, strong, nullable) NSNumber *imageOutputMaxHeight;

/// If set to `true`, images will be saved to the application's directory.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *debugSaveImages;

/// If set to `true`, cropped images will be saved to the application's directory.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *debugSaveCroppedImages;

/// If set to `true`, RFID sessions will be saved to the application's directory.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *debugSaveRFIDSession;

/// If set to `true`, text logs will be saved to the application's directory.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *debugSaveLogs;

/// Enable the CAN (Card Access Number) detection when using scenarios with document location
/// and MRZ reading, such as the MrzAndLocate scenario.
@property (nonatomic, strong, nullable) NSNumber *doDetectCan;

/// Custom RFID params. See `RGLRFIDParams` for more information.
@property (nonatomic, strong, nullable) RGLRFIDParams *rfidParams;

/// Use this property to set up the Face API integration.
/// Type: Bool.
@property (nonatomic, strong, nullable) NSNumber *useFaceApi;

/// Custom Face API integration params. See `RGLFaceAPIParams` for more information.
@property (nonatomic, strong, nullable) RGLFaceAPIParams *faceApiParams;

@property (nonatomic, strong, nullable) NSNumber *useAuthenticityCheck;
@property (nonatomic, strong, nullable) RGLAuthenticityParams *authenticityParams;

@property (nonatomic, strong, nullable) RGLBackendProcessingConfig *backendProcessingConfig;

@end

Swift

class ProcessParams : NSObject

Undocumented

  • Documents processing scenario.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *scenario;

    Swift

    var scenario: String? { get set }
  • Documents processing scenario for the Capture button.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *captureButtonScenario;

    Swift

    var captureButtonScenario: String? { get set }
  • If set to true, the DocumentReader logs will be shown in the console. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *logs;

    Swift

    var logs: NSNumber? { get set }
  • If set to true, processing of more than one page of the document (if they exist) will be triggered, otherwise, only one page will be processed. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *multipageProcessing;

    Swift

    var multipageProcessing: NSNumber? { get set }
  • If set to true, document focus check will be omitted. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *disableFocusingCheck;

    Swift

    var disableFocusingCheck: NSNumber? { get set }
  • Change the format string of displayed dates in the results. Mask examples: dd/mm/yyyy, mm/dd/yyyy, dd-mm-yyyy, mm-dd-yyyy, dd/mm/yy. Set to nil to revert default value. Default: depends on the device’s locale.

    Declaration

    Objective-C

    @property (nonatomic, strong, null_resettable) NSString *dateFormat;

    Swift

    var dateFormat: String! { get set }
  • Takes the list of the document IDs to process. All documents will be processed if it’s empty. Type: Array of Integer.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSNumber *> *documentIDList;

    Swift

    var documentIDList: [NSNumber]? { get set }
  • The path to the logs folder of the last session.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *sessionLogFolder;

    Swift

    var sessionLogFolder: String? { get }
  • If you recognize the MRZ of documents, all fields will be extracted. If you recognize the Visual zone of documents, you can set the list of field types that you wish to extract, other fields will be skipped during processing. All fields will be extracted if it is empty. Type: Array of RGLFieldType enum.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSNumber *> *fieldTypesFilter;

    Swift

    var fieldTypesFilter: [NSNumber]? { get set }
  • Set types of barcodes that you wish to recognize. All barcodes will be recognized if it’s empty. Type: Array of RGLBarcodeType enum.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSNumber *> *barcodeTypes;

    Swift

    var barcodeTypes: [NSNumber]? { get set }
  • Measure system of fields’ values that are presented in results. Default: If the country code is US or LR or MM, the Imperial system of measurement, otherwise, the Metric.

    Declaration

    Objective-C

    @property (nonatomic) RGLMeasureSystem measureSystem;

    Swift

    var measureSystem: MeasureSystem { get set }
  • If set to true, an original (uncropped) image will be received, which is sent for recognition. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *returnUncroppedImage;

    Swift

    var returnUncroppedImage: NSNumber? { get set }
  • If set to true, an image with cropped barcode will be returned. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *returnCroppedBarcode;

    Swift

    var returnCroppedBarcode: NSNumber? { get set }
  • If set to true, allows to process up to two pages of the document (so-called “a double-page spread”) for one-shot if they are presented on the frame (image). Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *doublePageSpread;

    Swift

    var doublePageSpread: NSNumber? { get set }
  • There are documents that contain barcodes which data can be parsed only if document type verification is performed. The following property allows setting the barcode parser type which should be used during recognition. It allows parsing barcode data without performing document type verification. Type: Integer.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *barcodeParserType;

    Swift

    var barcodeParserType: NSNumber? { get set }
  • Allows you to set the time limit for document recognition (in seconds), beyond which the recognition does not continue regardless of its result. The countdown starts from the moment the scenario starts. Setting value to 0 means infinity. Type: NSTimeInterval.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *timeout;

    Swift

    var timeout: NSNumber? { get set }
  • Allows you to set the time limit for document recognition (in seconds), beyond which the recognition does not continue regardless of its result. The countdown starts from the moment the document is detected. Setting value to 0 means infinity. Type: NSTimeInterval.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *timeoutFromFirstDetect;

    Swift

    var timeoutFromFirstDetect: NSNumber? { get set }
  • Allows you to set the time limit for document recognition (in seconds), beyond which the recognition does not continue regardless of its result. The countdown starts from the moment the document type is recognized. Setting value to 0 means infinity. Type: NSTimeInterval.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *timeoutFromFirstDocType;

    Swift

    var timeoutFromFirstDocType: NSNumber? { get set }
  • Allows to build an integral image, taking into account the quality of fixation of each of the individual images. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *integralImage;

    Swift

    var integralImage: NSNumber? { get set }
  • Allows you to set the minimum acceptable DPI value of the camera frame that is passed for recognition. Camera frames the DPI of which are less than you set won’t be passed for recognition. Type: Integer.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *minDPI;

    Swift

    var minDPI: NSNumber? { get set }
  • Allows you to set the maximum value of the deviation of the corners of the document from the value of 90 degrees. Type: Integer.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *perspectiveAngle;

    Swift

    var perspectiveAngle: NSNumber? { get set }
  • If set to true, allows you to manually set the document’s bounds after it is detected. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *manualCrop;

    Swift

    var manualCrop: NSNumber? { get set }
  • Deprecated

    Deprecated in DocumentReader 7.1. Use authenticityParams.checkLiveness instead.

    If set to true, a document’s holograms presence will be checked. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *checkHologram;

    Swift

    var checkHologram: NSNumber? { get set }
  • If set to true, personal information will be removed from logs. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *depersonalizeLog;

    Swift

    var depersonalizeLog: NSNumber? { get set }
  • If set to true, in case required fields are not read, their values will be empty. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *checkRequiredTextFields;

    Swift

    var checkRequiredTextFields: NSNumber? { get set }
  • Types of results to return in response. See ‘RGLResultType’ enum for available options. Type: Array of RGLResultType enum.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSNumber *> *resultTypeOutput;

    Swift

    var resultTypeOutput: [NSNumber]? { get set }
  • When enabled together with doublePageSpread and there is a passport with two pages spread in the image, pages will be cropped, straightened and aligned together, as if the document was captured on a flatbed scanner. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *generateDoublePageSpreadImage;

    Swift

    var generateDoublePageSpreadImage: NSNumber? { get set }
  • This option controls maximum resolution in dpi of output images. Resolution will remain original in case 0 is set. Type: Integer.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *imageDpiOutMax;

    Swift

    var imageDpiOutMax: NSNumber? { get set }
  • This option can be set to true if you know for sure that the image you provide contains already cropped document by its edges. This was designed to process on the server side images captured and cropped on mobile. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *alreadyCropped;

    Swift

    var alreadyCropped: NSNumber? { get set }
  • Force use of specific template ID and skip document type identification step. Type: Integer.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *forceDocID;

    Swift

    var forceDocID: NSNumber? { get set }
  • When disabled, text field OCR will be done as is and then the recognized value will be matched to the field mask for validity. If enabled, we are trying to read a field value with maximum efforts to match the mask and provide a correctly formatted value, making assumptions based on the provided field mask in the template. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *matchTextFieldMask;

    Swift

    var matchTextFieldMask: NSNumber? { get set }
  • Deprecated

    Deprecated in DocumentReader 7.1. Deprecated property.

    When enabled, shorten the list of candidates to process during document detection in single image process mode. Reduces processing time for specific Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *fastDocDetect;

    Swift

    var fastDocDetect: NSNumber? { get set }
  • When enabled, fail OCR field validity, if there is a glare over the text field on the image. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *updateOCRValidityByGlare;

    Swift

    var updateOCRValidityByGlare: NSNumber? { get set }
  • When enabled no graphic fields will be cropped from document image. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *noGraphics;

    Swift

    var noGraphics: NSNumber? { get set }
  • Controls properties of ImageQA checks. See RGLImageQA for more information.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) RGLImageQA *imageQA;

    Swift

    var imageQA: RGLImageQA { get set }
  • Force use of specified document format when locating and recognizing document to reduce the number of candidates. Type: RGLDocFormat enum.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *forceDocFormat;

    Swift

    var forceDocFormat: NSNumber? { get set }
  • Specifies minimal area of the image that document should cover to be treated as candidate when locating. Value should be in range from 0 to 1, where 1 is when document should fully cover the image. Type: Float.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *documentAreaMin;

    Swift

    var documentAreaMin: NSNumber? { get set }
  • This option allows locating and cropping multiple documents from one image if enabled. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *multiDocOnImage;

    Swift

    var multiDocOnImage: NSNumber? { get set }
  • This option allows shifting the date of expiry into the future or past for number of months specified. This is useful, for example, in some cases when document might be still valid for some period after original expiration date to prevent negative validity status for such documents. Or by shifting the date to the past will set negative validity for the documents that is about to expire in a specified number of months. Type: Integer.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *shiftExpiryDate;

    Swift

    var shiftExpiryDate: NSNumber? { get set }
  • This options allows specifying the minimal age in years of the document holder for the document to be considered valid. Type: Integer.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *minimalHolderAge;

    Swift

    var minimalHolderAge: NSNumber? { get set }
  • This option allows limiting MRZ formats to be recognized by specifying them in array. Type: Array of RGLMRZFormat enum.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSNumber *> *mrzFormatsFilter;

    Swift

    var mrzFormatsFilter: [NSNumber]? { get set }
  • This option can be set to true to make sure that in series processing MRZ is located fully inside the result document image, if present on the document. Enabling this option may add extra processing time, by disabling optimizations, but allows more stability in output image quality. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *forceReadMrzBeforeLocate;

    Swift

    var forceReadMrzBeforeLocate: NSNumber? { get set }
  • Takes JSON with parameters that are not presented in the DocumentReader.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSDictionary *customParams;

    Swift

    var customParams: [AnyHashable : Any]? { get set }
  • When set to false, the Barcode code parsing will be skipped and the raw information from the code will be returned instead. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *parseBarcodes;

    Swift

    var parseBarcodes: NSNumber? { get set }
  • When set to true, the rawResults property of the RGLDocumentReaderResults will contain the encrypted containers of scanning results that may be used for later reprocessing. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *shouldReturnPackageForReprocess;

    Swift

    var shouldReturnPackageForReprocess: NSNumber? { get set }
  • When enabled, OCR of perforated fields in the document template will not be performed. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *disablePerforationOCR;

    Swift

    var disablePerforationOCR: NSNumber? { get set }
  • Array of specific eligible document types from RGLDiDocType enum to recognize from. You may, for example, specify only passports to be recognized by setting this property.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSNumber *> *documentGroupFilter;

    Swift

    var documentGroupFilter: [NSNumber]? { get set }
  • The list of LCID types to ignore during the recognition. If empty, values with all LCID types will be extracted. Narrowing down the list can reduce processing time. Empty by default.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSNumber *> *lcidIgnoreFilter;

    Swift

    var lcidIgnoreFilter: [NSNumber]? { get set }
  • The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSNumber *> *lcidFilter;

    Swift

    var lcidFilter: [NSNumber]? { get set }
  • When enabled, image quality checks status affects document optical and overall status. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *respectImageQuality;

    Swift

    var respectImageQuality: NSNumber? { get set }
  • When enabled, the Surname and GivenNames field (RGLDocumentReaderTextField) will be divided into fields with fieldTypes RGLFieldTypeFt_First_Name, RGLFieldTypeFt_Second_Name, RGLFieldTypeFt_Third_Name, RGLFieldTypeFt_Fourth_Name, RGLFieldTypeFt_Last_Name.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *splitNames;

    Swift

    var splitNames: NSNumber? { get set }
  • Allowed RGLAuthenticity. Accepts sum of RGLAuthenticity values.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *processAuth;

    Swift

    var processAuth: NSNumber? { get set }
  • This option allows output text case transformation. No changes applied by default to original values.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) RGLTextProcessing *convertCase;

    Swift

    var convertCase: RGLTextProcessing? { get set }
  • Maximum width of output images. In pixels.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *imageOutputMaxWidth;

    Swift

    var imageOutputMaxWidth: NSNumber? { get set }
  • Maximum height of output images. In pixels.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *imageOutputMaxHeight;

    Swift

    var imageOutputMaxHeight: NSNumber? { get set }
  • If set to true, images will be saved to the application’s directory. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *debugSaveImages;

    Swift

    var debugSaveImages: NSNumber? { get set }
  • If set to true, cropped images will be saved to the application’s directory. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *debugSaveCroppedImages;

    Swift

    var debugSaveCroppedImages: NSNumber? { get set }
  • If set to true, RFID sessions will be saved to the application’s directory. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *debugSaveRFIDSession;

    Swift

    var debugSaveRFIDSession: NSNumber? { get set }
  • If set to true, text logs will be saved to the application’s directory. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *debugSaveLogs;

    Swift

    var debugSaveLogs: NSNumber? { get set }
  • Enable the CAN (Card Access Number) detection when using scenarios with document location and MRZ reading, such as the MrzAndLocate scenario.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *doDetectCan;

    Swift

    var doDetectCan: NSNumber? { get set }
  • Custom RFID params. See RGLRFIDParams for more information.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) RGLRFIDParams *rfidParams;

    Swift

    var rfidParams: RGLRFIDParams? { get set }
  • Use this property to set up the Face API integration. Type: Bool.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *useFaceApi;

    Swift

    var useFaceApi: NSNumber? { get set }
  • Custom Face API integration params. See RGLFaceAPIParams for more information.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) RGLFaceAPIParams *faceApiParams;

    Swift

    var faceApiParams: RGLFaceAPIParams? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *useAuthenticityCheck

    Swift

    var useAuthenticityCheck: NSNumber? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) RGLAuthenticityParams *authenticityParams

    Swift

    var authenticityParams: RGLAuthenticityParams? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) RGLBackendProcessingConfig *backendProcessingConfig

    Swift

    var backendProcessingConfig: RGLBackendProcessingConfig? { get set }