Introduction
Machine Readable Zone (MRZ) scanning is a powerful feature designed to detect, read, and extract data from the MRZ sections of documents such as passports, visas, ID cards, and other machine-readable travel documents. The MRZ contains standardized alphanumeric information, such as document numbers, expiration dates, and personal details, encoded for quick and reliable machine reading.
By utilizing advanced detection and recognition algorithms, MRZ scanning ensures accurate data extraction even under challenging conditions, such as poor lighting, tilted documents, or partially visible MRZ areas. The extracted data is provided in a structured format, enabling seamless integration into applications for further processing or verification.
MRZ scanning is widely used across industries such as travel, banking, and security, where automated and reliable data extraction enhances efficiency, reduces manual errors, and improves user experience.
Integration
There are two ways to integrate the component into the application:
- Ready to use UI component (more about RTU UI)
- Classic UI component (more about Classic components)
Please be aware that processing really large images may lead to out-of-memory crashes on iOS. Since this limit is highly dynamic and untransparent in iOS, depending on the device, your app's current memory usage, the other running apps, the iOS version, the system configuration and many other unknown variables, we did not add a hard limit for image sizes.
As a general rule of thumb, it is quite safe to assume that processing images of the resolution the camera can shoot will most likely not crash your app. On most modern iOS devices this currently translates to 12 megapixels. But even much larger images may work without crashing as well.
Thus we cannot take responsibility for out-of-memory crashes when dealing with very high-resolution images. It is your responsibility, as an app developer, to properly manage the handling of large images and keep the memory footprint of your app as small as possible.
In case you have any questions on this topic, please reach out to our support team.
Please do not use multiple scanners at the same time. For example, do not combine Document Data Extractor, Health Insurance Scanner, Text Pattern Scanner, etc. at the same time! Each scanner instance requires a lot of memory, GPU, and processor resources. Using multiple scanners will lead to performance issues for the entire application.
Take a look at our example apps to see how to integrate the MRZ Scanner:
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get your free Trial LicenseWhat do you think of this documentation?
What can we do to improve it? Please be as detailed as you like.