mrz_parser/mrz_utils library

Functions

computeMrzCheckDigit(String input) → int
normalizeChar(String char, {bool isDigit = false, bool isAlpha = false}) → String
Corrects common OCR errors for a single character based on context.
normalizeLine(String line, int expectedLength) → String
Aggressively normalizes a line of OCR text to conform to MRZ standards.
parseMrzDate(String yymmdd) → DateTime?