@regulaforensics/document-reader
    Preparing search index...

    Class ImageQA

    Class contains properties to configure image quality.

    Index
    angleThreshold?: number

    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.

    brightnessThreshold?: number

    Set the threshold for an actual document brightness below which the check fails.

    colornessCheck?: boolean

    This option disabled colorness check during performing image quality validation.

    documentPositionIndent?: number

    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 DocumentReaderResults.imageQuality.imageQualityList.result field.

    dpiThreshold?: number

    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.

    expectedPass?: ImageQualityCheckType[]

    This option controls the quality checks that the image should pass in order to be considered a valid input during the scanning process.

    Unmodifiable property. Use setter instead of editing.

    focusCheck?: boolean

    This option disabled focus check during performing image quality validation.

    glaresCheck?: boolean

    This option disabled glares check during performing image quality validation.

    glaresCheckParams?: GlaresCheckParams

    Parameters for glares image quality validation.

    occlusionCheck?: boolean

    This option checks document image occlusion.

    screenCapture?: boolean

    This option disabled moire patterns check during performing image quality validation.

    • Allows you to deserialize object.

      Parameters

      • jsonObject: any

      Returns ImageQA