ManualMrzReader

Reads an MRZ a person typed in; reports MANUAL_ENTRY as the reading method.

It runs the same parse and validation as MrzParser. Only ResultMetadata.readMethod differs.

Since

0.4.0

Functions

Link copied to clipboard
fun read(input: String, referenceTime: Instant = Clock.System.now()): ParseResult

Reads typed MRZ text, detecting the format from its line count and line lengths.

fun read(@ObjCName(name = "lines") input: List<String>, referenceTime: Instant = Clock.System.now()): ParseResult

Reads typed MRZ lines, detecting the format from their count and lengths.

Link copied to clipboard
fun readMRVA(input: String, referenceTime: Instant = Clock.System.now()): ParseResult

Reads typed MRZ text as MRV-A (Type-A visa).

fun readMRVA(@ObjCName(name = "lines") input: List<String>, referenceTime: Instant = Clock.System.now()): ParseResult

Reads typed MRZ lines as MRV-A (Type-A visa).

Link copied to clipboard
fun readMRVB(input: String, referenceTime: Instant = Clock.System.now()): ParseResult

Reads typed MRZ text as MRV-B (Type-B visa).

fun readMRVB(@ObjCName(name = "lines") input: List<String>, referenceTime: Instant = Clock.System.now()): ParseResult

Reads typed MRZ lines as MRV-B (Type-B visa).

Link copied to clipboard
fun readTD1(input: String, referenceTime: Instant = Clock.System.now()): ParseResult

Reads typed MRZ text as TD1 (identity card).

fun readTD1(@ObjCName(name = "lines") input: List<String>, referenceTime: Instant = Clock.System.now()): ParseResult

Reads typed MRZ lines as TD1 (identity card).

Link copied to clipboard
fun readTD2(input: String, referenceTime: Instant = Clock.System.now()): ParseResult

Reads typed MRZ text as TD2.

fun readTD2(@ObjCName(name = "lines") input: List<String>, referenceTime: Instant = Clock.System.now()): ParseResult

Reads typed MRZ lines as TD2.

Link copied to clipboard
fun readTD3(input: String, referenceTime: Instant = Clock.System.now()): ParseResult

Reads typed MRZ text as TD3 (passport).

fun readTD3(@ObjCName(name = "lines") input: List<String>, referenceTime: Instant = Clock.System.now()): ParseResult

Reads typed MRZ lines as TD3 (passport).