MRZ Scanner 2
One scanner core for phones, desktops, servers and the browser.
L898902C36UTO7408122F12041
Accurate and fast
Point the camera at a passport, ID card or visa. A box follows the machine readable zone and shows the read on screen, in AR mode.
Every read is checked against the document's check digits, and in camera mode it is confirmed over agreeing frames before your app gets it.
It also reads still photos and files, for documents your users upload.
await MRZScanner.registerLicense('MRZ2...');
const result = await MRZScanner.scan({
documentTypes: ['passport', 'id'],
continuous: false,
torch: false,
});
const fromPhoto = await MRZScanner.scanImage({ path });Easy to use, in any framework
Native SDKs for iOS and Android own the camera screen. The plugins for React Native, Flutter, .NET MAUI, Capacitor and Cordova pass straight through to them, with the same three calls everywhere: registerLicense, scan and scanImage (in C#: RegisterLicenseAsync, ScanAsync and ScanImageAsync).
Settings for continuous scanning, document types, a region of interest, torch and zoom are the same on every platform.
L898902C36UTO7408122F12041
mrz-core.wasm · ~1.1 MB · runs offline
On the desktop, the server and the web
A C library for Windows and Linux with no dependencies, the same library as a Python package, and the scanner compiled to WebAssembly for web pages (in early access).
Batch-check scanned documents on your server, scan webcam frames at a desk, or let customers scan in your web check-in.
Python · Linux · Windows · WebAssembly
Reliable and private
Recognition runs entirely on the device or your own server, offline. No image or document data is sent anywhere unless your app sends it.
The licence key is checked on the device too, so scanning needs no network connection.
Reads come back as named fields: names, document number, nationality, dates of birth and expiry, and more.
Start scanning in 3 easy steps
- 1 Try it free Create an account and get a 30-day trial key in the portal at once.
- 2 Add it to your app Install the package for your platform and register your key at start.
- 3 Scan and go live Request a production licence for your platforms; one key covers them all.
Coming from MRZ Scanner 1.x?
MRZ Scanner 2 has new packages and one API across all of them. Apps on 1.x keep working with their licences; a new MRZ Scanner 2 key covers every platform in your licence.