interface MrzScannerResult {
    checkDigitsCount: number;
    documentType: MRZDocumentTypes;
    mrz?: GenericDocument;
    rawString: string;
    recognitionSuccessful: boolean;
    validCheckDigitsCount: number;
}

Hierarchy (view full)

Properties

checkDigitsCount: number

Total number of check digits as required by the travel document type

documentType: MRZDocumentTypes

The recognized document type

MRZ Document represented as Generic Document

rawString: string

The raw string of the recognized machine readable zone.

recognitionSuccessful: boolean

True if the recognition was successful, false otherwise

validCheckDigitsCount: number

Number of successfully validated check digits.