Fixing passport MRZ OCR errors with check digits, and knowing when not to guess
OCR on the machine-readable zone of passports often confuses look-alike characters such as O and 0, or I and 1. Fields that must contain only digits, like dates and check digits, can be converted back to digits directly. Mixed fields such as the document number can be repaired by trying confusable character swaps until the check digit matches. Because a single check digit passes a wrong repair about one time in ten, the safe approach keeps readings that already pass, accepts a repair only when exactly one candidate needs the fewest changes, and otherwise requests a new photo. Further confirmation can come from the composite check digit, the printed visual zone, or reading the e-passport chip.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in