Government and immigration teams need passport data to be right. A wrong digit in a passport number can cause a wrong decision at the border or the service counter. Many teams find that a scanning tool works well in a demo and then fails on real documents.
Most passport scanning uses optical character recognition (OCR), where software reads text from an image. Reading text is only the first step. The data must also be checked before anyone relies on it.
Why is MRZ validation critical in passport scanning?
The Machine Readable Zone (MRZ) is the two lines of coded text at the bottom of the photo page. Its layout is set by ICAO Document 9303, the international standard for travel documents.
The MRZ holds check digits. A check digit is a number worked out from the other characters in a field. Passport number, date of birth and expiry date each have one.
If the software recalculates a check digit and gets a different number, something is wrong. A character may have been misread. The document may also have been changed. Without this test, a system can pull out data that looks fine but is wrong.
How does the Visual Inspection Zone affect accuracy?
The Visual Inspection Zone (VIZ) is the printed part of the page that people read. It holds the name, place of birth and other details. It often uses more than one language and script.
This zone is harder to read than the MRZ. Holograms can scatter light and hide letters. Names in Arabic or Cyrillic can be misread by models that were not trained for those scripts.
The MRZ is usually cleaner, so it can act as a fallback. But this only helps if the system compares the two zones.
What are the common failure modes?
Several things go wrong before MRZ checks even start:
- Hologram glare: parts of the VIZ become unreadable.
- Non-Latin scripts: text comes out garbled if it goes to the wrong model.
- Phone photos: poor light, tilted angles and blur are common in digital onboarding.
- Worn or damaged pages: one zone may be readable while the other is not.
Each of these is a normal day in production. A demo set of clean scans rarely shows them.
Why do most implementations skip cross-zone checks?
Many projects stop at text extraction. Cross-zone validation means comparing the VIZ with the MRZ for the same person. It takes extra work to build, and it needs rules for what to do when the two disagree.
That extra work matters. A mismatch in the expiry date or the name can point to a read error or to tampering. If the VIZ name is hidden by glare, the MRZ can fill the gap. Without the check, nobody sees these cases until a person complains or a case goes wrong.
How we approach it
We are forward-deployed engineers. We work inside your team, with your document types and your review staff, and we build in production conditions from the start. We do not build a clean demo and hope it survives real documents. Our process covers discovery, proving the workflow on real documents, embedding, scaling and handover.
For a passport workflow, we design three safeguards from day one:
- Human review below a confidence level. When the software is unsure, or the MRZ and VIZ disagree, a trained person decides. Clear cases pass through on their own.
- An audit trail. Every read, every check result and every human decision is recorded. Supervisors can see why a document passed or failed.
- Data isolation. Passport data is personal data. We keep each team's documents separate, and we discuss on-premise or restricted setups with your security team early.
We also help your staff learn to run and tune the system. The goal is that your team owns it after handover. Our document AI and OCR work follows this approach.
What this means for your organisation
If you handle large volumes of passports, treat MRZ validation as a basic requirement. Check the digits. Compare the zones. Send doubtful cases to a person. Keep a record of every decision.
Scripts and document layouts vary widely in India and elsewhere. Test on your own documents, including worn ones and phone photos, before you go live.
FAQ
What is MRZ validation? It means recalculating the check digits in the coded lines of a passport and confirming they match the data that was read.
Why compare the MRZ and the VIZ? A mismatch shows a read error or possible tampering. A clean zone can also fill in for a damaged one.
How do holograms affect accuracy? They scatter light and hide letters in the printed zone. The MRZ is usually less affected, so comparing both zones helps.
Where should people stay in the loop? Whenever confidence is low or the two zones disagree. Everything else can run automatically, with a full record kept.
Next step
If your team has passport or government document checks in pilot but not in production, book a discovery call.
Saksham Gupta
Founder & CEO, EduBildSaksham Gupta is the founder and CEO of EduBild, which embeds forward-deployed AI engineers with enterprise teams to ship production AI. Ex-Daimler AG; KIT Germany.



