Package-level declarations

Types

Link copied to clipboard

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

Link copied to clipboard
object MrzParser

Parses MRZ text into an io.lightine.tessera.mrz.model.MrzDocument per ICAO Doc 9303.

Link copied to clipboard
sealed class ParseResult

The result of parsing an MRZ: Success, PartialSuccess, or Failure.

Link copied to clipboard
data class ResultMetadata(val readMethod: ReadMethod, val warnings: List<MrzWarning>, val validationFailures: List<MrzValidationError>, val transliterationDetails: TransliterationDetails? = null, val checks: List<MrzCheckRecord> = emptyList())

The reading method, warnings, validation failures, and check records attached to every parse and generation result.

Functions

Link copied to clipboard

Returns whether a character is in the MRZ alphabet: A-Z, 0-9, or <.