flutter_mrz_scanner 2.1.1 copy "flutter_mrz_scanner: ^2.1.1" to clipboard
flutter_mrz_scanner: ^2.1.1 copied to clipboard

Scans MRZ (Machine Readable Zone) from identity documents for iOS and Android.

flutter_mrz_scanner #

Scan MRZ (Machine Readable Zone) from identity documents (passport, id, visa) using iOS and Android. Heavily insipred by QKMRZScanner.

To plugin users #

Hello,

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: #

  • TD1
  • TD2
  • TD3
  • MRV-A
  • MRV-B

Usage #

Import the package #

Add to pubspec.yaml

dependencies:
  flutter_mrz_scanner: <latest_version_here>
copied to clipboard

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>
copied to clipboard

For Android #

Add

<uses-permission android:name="android.permission.CAMERA" />
copied to clipboard

to AndroidManifest.xml

Use the widget #

Use MRZScanner widget:

MRZScanner(
  withOverlay: true, // optional overlay
  onControllerCreated: (controller) =>
    onControllerCreated(controller),
  )
copied to clipboard

Refer to example project for the complete app sample.

Acknowledgements #

License #

flutter_mrz_scanner is released under a MIT License. See LICENSE for details.

38
likes
160
points
1.93k
downloads

Publisher

verified publisherleushchenko.com

Weekly Downloads

2024.10.03 - 2025.04.17

Scans MRZ (Machine Readable Zone) from identity documents for iOS and Android.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, mrz_parser

More

Packages that depend on flutter_mrz_scanner