ParsingMode

How tolerant candidate extraction is of OCR formatting noise.

Neither mode changes a data character; both fold case to upper. MrzFrameAnalyzer and the live scanners default to STRICT. SavedImageMrzReader defaults to LENIENT. Disambiguating ambiguous characters is the separate tolerant option of SavedImageMrzReader.

Since

0.2.0

Entries

Link copied to clipboard

Accepts only lines of the exact MRZ length after trimming and upper-casing. A space inside a line disqualifies it, so a line that OCR splits with stray spaces is not detected.

Link copied to clipboard

Also removes every space inside a line before checking its length. Changes no other character.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.