RGLImageQA

Objective-C


@interface RGLImageQA : NSObject

Swift

class ImageQA : NSObject

Interface contains properties to configure image quality

  • This parameter sets threshold for Image QA check of the presented document physical dpi. If actual document dpi is below this threshold, check will fail. Type: Integer.

    Declaration

    Objective-C

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

    Swift

    var dpiThreshold: NSNumber? { get set }
  • This parameter sets threshold for Image QA check of the presented document perspective angle in degrees. If actual document perspective angle is above this threshold, check will fail. Type: Integer.

    Declaration

    Objective-C

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

    Swift

    var angleThreshold: NSNumber? { get set }
  • This option disabled focus check during performing image quality validation. Type: Bool.

    Declaration

    Objective-C

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

    Swift

    var focusCheck: NSNumber? { get set }
  • This option disabled glares check during performing image quality validation. Type: Bool.

    Declaration

    Objective-C

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

    Swift

    var glaresCheck: NSNumber? { get set }
  • Parameters for glares image quality validation.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) RGLGlaresCheckParams *glaresCheckParams;

    Swift

    var glaresCheckParams: RGLGlaresCheckParams? { get set }
  • This option disabled colorness check during performing image quality validation. Type: Bool.

    Declaration

    Objective-C

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

    Swift

    var colornessCheck: NSNumber? { get set }
  • This option disabled moire patterns check during performing image quality validation. Type: Bool.

    Declaration

    Objective-C

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

    Swift

    var screenCapture: NSNumber? { get set }
  • This parameter sets threshold for Image QA check of the presented document brightness. If actual document brightness is above this threshold, check will fail. Type: Double.

    Declaration

    Objective-C

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

    Swift

    var brightnessThreshold: NSNumber? { get set }
  • This option controls the quality checks that the image should pass in order to be considered a valid input during the scanning process.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<RGLImageQualityCheckType> *expectedPass;

    Swift

    var expectedPass: [ImageQualityCheckType]? { get set }
  • Specify the minimum indent from the corners of the document to the borders of the image. The value reflects the allowed percentage for the indent relative to the width of the document. If it is detected that the corners of the document are closer than the specified value, the status will contain an error in the RGLDocumentReaderResults.imageQuality.imageQualityList.result field. Type: Bool.

    Declaration

    Objective-C

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

    Swift

    var documentPositionIndent: NSNumber? { get set }