Result

data class Result(val rawLines: List<String> = emptyList(), val travelDocumentType: TravelDocumentType? = null, val machineReadableZone: MachineReadableZone? = null, val exception: MrzReader.ReadingException? = null)

MRZ Reading result.

Constructors

Link copied to clipboard
constructor(rawLines: List<String> = emptyList(), travelDocumentType: TravelDocumentType? = null, machineReadableZone: MachineReadableZone? = null, exception: MrzReader.ReadingException? = null)

Properties

Link copied to clipboard

Exception is present if travel document type resolution, text recognition, or text parsing are unsuccessful. Even when the exception occurs, some parts of the result may still be present.

Link copied to clipboard

Machine Readable Zone.

Link copied to clipboard

Raw lines detected on the document by OCR.

Link copied to clipboard

Travel document type.