MrzReader

interface MrzReader

Machine Readable Zone component.

Types

Link copied to clipboard
data class Configuration @JvmOverloads constructor(val context: Context)

Configuration for the Machine Readable Zone component.

Link copied to clipboard
class ReadingException(val message: String, val cause: Throwable) : RuntimeException

Thrown if travel document type resolution, text recognition, or text parsing are unsuccessful.

Link copied to clipboard
data class Result

MRZ Reading result.

Functions

Link copied to clipboard
abstract fun read(bgraRawImage: BgraRawImage, document: DocumentDetector.Document, travelDocumentType: TravelDocumentType? = null): MrzReader.Result

Read Machine Readable Zone (MRZ) in the document image.