This is state-of-the-art Machine Readable Zone / Travel Documents (MRZ / MRTD) dectector and recognizer using deep learning.
Unlike other solutions you can find on the web, you don’t need to adjust the camera/image to define a Region Of Interest (ROI). We also don’t try to use small ROI to decrease the processing time or false-positives. The whole image (up to 4K supported) is processed and every pixel is checked. No matter if the MRZ lines are small, far away, blurred, partially occluded, skewed or slanted, our implementation can accurately detect and recognize every character.
The detector is agnostic and doesn’t decode (recognize/OCR) the text to check it against some pre-defined rules (regular expressions) which means we support all MRZ types (Travel Documents 1/2/3, MRVA, MRVB…) regardless the font, content, shape or country. You can use our implementation to extract information from local identity cards, passports, enhanced driver licenses, visas, resident cards…
In addition to being highly accurate our implementation is very fast and can run at up to 50fps on ARM devices (iPhone7) and 114fps on x86_64 (Core i7-4790K) using HD images (720p). See benchmark section for more information.
The Github repository contains the SDK binaries for Android, iOS, Raspberry Pi and Windows. You can contact us if you want binaries for other platforms.
Don’t take our word for it, come check our implementation. No registration, license key or internet connection is needed, just clone the code from Github and start coding/testing: https://github.com/DoubangoTelecom/ultimateMRZ-SDK. Everything runs on the device, no data is leaving your computer. The code released on Github comes with many ready-to-use samples to help you get started easily.
You can also check our online cloud-based implementation (no registration required) at https://www.doubango.org/webapps/mrz/ to check out the accuracy and precision before starting to play with the SDK.
Github repo: https://github.com/DoubangoTelecom/ultimateMRZ-SDK
Cloud-based implementation: https://www.doubango.org/webapps/mrz/
Open source Computer Vision library: https://github.com/DoubangoTelecom/compv
- C++ API
- Supported countries
- Architecture overview
- Configuration options
- Sample applications
- Getting started
- Muti-threading design
- Memory management design
- Detection techniques
- Image Enhancement for Low Contrast Document (IELCD)
- MRZ formats
- MRZ parser
- Determine the document type
- Parsing TD1 format
- Parsing TD2 format
- Parsing TD3 format
- Parsing MRVA format
- Parsing MRVB format
- Data validation
- Improving the accuracy
- Improving the speed
- Best JSON config
- Debugging the SDK
- Frequently Asked Questions (FAQ)
- Known issues