MRZ Explained: What MRZ Is and How OCR Systems Recognize It
Learn what MRZ is, how OCR systems recognize it, and why accurate machine-readable zone scanning matters for KYC, border control, and identity verification.
ID scanning systems are widely deployed in remote identity verification, yet they do not inherently detect procedural violations. Policies typically require presenting the physical original document; submitting a photocopy is a violation, even if unintentional. For modern KYC and onboarding processes, merely relying on OCR is no longer sufficient. Today, robust identity verification solutions must also detect a broad class of presentation attacks, including photocopies. In this article, we break down why this matters and how OCR Studio addresses this challenge through specialized PAD technologies.
Imagine your KYC system receives an image of an ID and finds nothing suspicious. No deepfake, no digital tampering, no replaced portrait or edited fields. The system approves it as genuine. But in reality, the user is a fraudster who used a leaked photo of someone else’s real ID. The name, date of birth, document number, portrait, MRZ, and layout all come from a real document – there are no alterations for the system to detect. This manipulation, known as a photocopy, is cheap, simple, and dangerous because it does not require the attacker to forge anything.
The threat is not theoretical. Recent breaches show how government IDs can leak through financial institutions, hotels, social platforms, and third-party verification vendors. For instance, in 2025, Italian hotel systems were reportedly breached with around 70,000 guest ID documents stolen – according to police, hackers acquired high-resolution scans of passports, ID cards and other documents used by tourists and business travellers. Later that year, Discord confirmed that its users may have had government-ID photos exposed through a third-party customer service provider.
Standard OCR checks will flag a photocopy as genuine because the underlying data is authentic. This is precisely why an identity verification system needs specialized PAD mechanisms, rather than relying only on signals of editing, tampering, or structural manipulation in the document image. Without dedicated PAD capabilities, even the most advanced KYC pipeline remains vulnerable to this simple, low-cost, and increasingly common attack vector.
OCR Studio detects photocopies with advanced OVD verification by checking whether the presented document behaves like an original physical ID. OVD stands for optical variable device – one of the most critical security features in modern identity documents. This typically includes holograms, and other optically variable elements that change their appearance depending on viewing angle, movement, and lighting.
A printed photocopy cannot reproduce these dynamic optical effects – it remains flat and static. To reliably verify the presence and authenticity of OVD, an ID scanning system must capture how these elements behave in motion. This is precisely what OCR Studio achieves through video flow: the system analyzes a short real-time sequence of the document, allowing it to check OVD presence in real time.
In practice, OVD recognition helps detect whether:
OCR Studio’s video-based ID verification enables the system to analyze whether expected optical security elements are present and whether they react as they should. If a hologram or another OVD area looks static, this becomes a signal that the document may be a photocopy.
Another powerful defense against photocopy-based fraud is NFC chip reading, which checks a trust layer that cannot be reproduced on printed paper. More than 140 states and non-state entities now issue ePassports, and over one billion ePassports are already in circulation – these documents contain an electronic RFID chip that stores personal data and digital security information.
OCR Studio’s NFC Chip Reading SDK helps verify whether:
This creates an additional protection layer against printed copies, especially when the presented document type is expected to contain a chip.
While OVD recognition and NFC chip reading help determine whether the document itself is an original physical ID, they do not address one critical question: is the person presenting the document its legitimate owner?
This question is particularly important in photocopy-based fraud. A common attack scenario involves a fraudster obtaining a photocopy or a high-resolution scan of someone else’s ID – for example, from a data leak – and then attempting to pass ID verification using that printed copy. Since the document data is entirely genuine, the system sees a valid ID, but the person holding it is not the actual document owner.
OCR Studio helps detect impersonation attempts with photocopied IDs by checking whether the person presenting the document is the same person shown in the ID photo. Face Matching SDK compares the portrait in the document with a real-time selfie of the user and returns a similarity score. Even if a photocopy of a legitimate ID passes OVD and NFC checks, the face comparison ensures that the presenter matches the document owner. This adds another layer of defense against photocopy-based identity fraud.
The key advantage of OCR Studio’s photocopy detection technologies is that they provide full personal data locality: document recognition and authenticity checks run on-device or on-premise. No document images, selfies, or identity document data ever stored, transmitted, or reviewed by human operators.
For businesses, this privacy-first approach helps reduce exposure under data protection frameworks such as GDPR, CCPA/CPRA, LGPD, and PIPL. The table below illustrates how OCR Studio’s approach compares to a standard ID scanner when it comes to detecting fraudulent attacks:
| Capability | Standard OCR | OCR Studio’s ID Scanner |
| Document data extraction and validation | Extracts text and MRZ | Advanced data extraction and cross-validation across all document zones (VIZ, MRZ, barcodes, and chip data) |
| Digital tampering detection | Typically not designed for image forensics; may only check format consistency | Full coverage: detects deepfakes, edited fields, replaced portraits, and structural manipulations using advanced image analysis |
| Photocopy detection | Relies solely on static image, cannot assess physical security features | OVD recognition via video-flow analysis: detects hologram behavior, dynamic optical variable devices, and other security elements to identify printed copies |
| NFC chip-based document verification | Cannot access NFC chip; relies only on visual zone and MRZ | NFC chip reading: verifies chip presence, matches chip data with VIZ and MRZ, and validates chip portrait against the document and user’s selfie |
| Impersonation detection | Assumes document holder is the presenter | Face matching: compares document portrait with a live selfie, returns similarity score |
| Data privacy and security | Often uploads images to cloud; data may be stored or reviewed by operators | Fully on-device/on-premise processing: no document images, selfies, or identity data ever stored, transmitted, or reviewed |
Your ID verification system may be advanced enough to detect deepfakes, edited fields, replaced portraits, forged layouts, and database inconsistencies – and still miss a basic photocopy attack.
To detect this class of attacks, organizations need technologies built specifically for presentation attack detection. OCR Studio combines OVD recognition, NFC Chip Reading SDK, Face Matching SDK, and on-device document processing to help identify photocopied IDs before they pass through onboarding, authentication, or account recovery flows.
Learn more about OCR Studio’s solutions for photocopy detection
1. Can a standard ID scanner detect a photocopy?
Not always. Standard OCR focuses on extracting document data, so a high-quality photocopy may still pass verification. Detecting photocopies requires dedicated presentation attack detection (PAD) technologies.
2. How does OCR Studio detect photocopied IDs?
OCR Studio uses multiple technologies to detect photocopied IDs. OVD recognition analyzes whether optical security features behave like those on an original document, NFC chip reading verifies the presence and authenticity of embedded chip data, and Face Matching SDK confirms that the person presenting the document is its legitimate owner. Together, these technologies help identify fraudulent attacks that standard OCR alone cannot detect.
3. Why is NFC chip reading important for photocopy detection?
A printed copy cannot replicate the secure NFC chip embedded in modern ePassports and many electronic ID cards. OCR Studio’s ID scanner enables RFID data extraction, and compares it with the document’s VIZ and MRZ information for an additional layer of security.
4. How does Face Matching help prevent identity fraud?
Face Matching compares the portrait on the ID with a live selfie of the user to confirm they are the legitimate document holder. This helps detect impersonation attempts, even when a genuine document or a high-quality photocopy is presented.
5. What makes OCR Studio’s document verification different from a standard ID scanner?
OCR Studio combines OCR, document authentication, OVD recognition, NFC chip reading, and face matching into a single verification workflow. All processing runs on-device or on-premise, helping organizations strengthen fraud prevention while keeping sensitive identity data local.
Learn what MRZ is, how OCR systems recognize it, and why accurate machine-readable zone scanning matters for KYC, border control, and identity verification.
Last year, OCR Studio made its debut at the 18th International Conference on Machine Vision (ICMV 2025) in Paris, France.
In the era of booming online services, many companies worldwide now rely on remote identity verification systems for KYC (Know-Your-Customer) checks and client onboarding.
For comprehensive details about our complete
range of solutions and services.
Or contact our sales team: