flutter_mrz_scanner 2.1.0 flutter_mrz_scanner: ^2.1.0 copied to clipboard
Scans MRZ (Machine Readable Zone) from identity documents for iOS and Android.
Scan MRZ (Machine Readable Zone) from identity documents (passport, id, visa) using iOS and Android. Heavily insipred by QKMRZScanner.
To plugin users #
Sorry that the plugin didn’t work well for all of you. Unfortunately, I don’t have testing devices and time for investigations and fixing issues at the moment. Please feel free to create new tickets. I would be even more grateful for pull requests. I’m not abandoning the plugin and promise to merge contributions with fixes and new functionality, hence I would kindly ask for help with the development 🙂
Thanks in advance!
Supported formats: #
Import the package #
dependencies: flutter_mrz_scanner: ^2.0.0
For iOS #
Set iOS deployment target to 12.
The plugin uses the device camera, so do not forget to provide the
NSCameraUsageDescription. You may specify it in
Info.plist like that:
<key>NSCameraUsageDescription</key> <string>May I scan a MRZ please?</string>
For Android #
<uses-permission android:name="android.permission.CAMERA" />
Use the widget #
MRZScanner( withOverlay: true, // optional overlay onControllerCreated: (controller) => onControllerCreated(controller), )
example project for the complete app sample.
- Anna Domashych for helping with mrz_parser implementation in Dart
- Anton Derevyanko for hours of Android-related discussions
- Mattijah for beautiful QKMRZScanner library
flutter_mrz_scanner is released under a MIT License. See
LICENSE for details.