ImageQA

interface ImageQA {
    angleThreshold?: number;
    brightnessThreshold?: number;
    colornessCheck?: boolean;
    documentPositionIndent?: number;
    dpiThreshold?: number;
    focusCheck?: boolean;
    glaresCheck?: boolean;
}

Properties

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.

ImageQA

brightnessThreshold?: number

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

ImageQA

colornessCheck?: boolean

This option enables colorness check while performing image quality validation.

ImageQA

documentPositionIndent?: number

This parameter specifies the necessary margin. Default 0.

ImageQA

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.

ImageQA

focusCheck?: boolean

This option enables focus check while performing image quality validation.

ImageQA

glaresCheck?: boolean

This option enables glares check while performing image quality validation.

ImageQA