dynamsoft_mrz_scanner_bundle_flutter 3.0.5200
dynamsoft_mrz_scanner_bundle_flutter: ^3.0.5200 copied to clipboard
DynamsoftMRZScannerBundle is a SDK designed to capture and extract user's information from machine-readable travel documents, especially ID cards and passports. Its sophisticated MRZ localization and [...]
Dynamsoft MRZ Scanner Bundle Flutter SDK #
DynamsoftMRZScannerBundle is a SDK designed to capture and extract user's information from machine-readable travel documents, especially ID cards and passports. Its sophisticated MRZ localization and decoding algorithms provide enterprise-grade accuracy and speed. Our MRZ scanner SDK delivers high performance under various usage scenarios such as scanning ID cards and passports with mobile phone.
Requirements #
Dev tools #
- Latest Flutter SDK
- For Android apps: Android SDK (API Level 21+), platforms and developer tools
- For iOS apps: iOS 13+, macOS with latest Xcode and command line tools
Mobile platforms #
- Android 5.0 (API Level 21) and higher
- iOS 13 and higher
How to use the SDK #
Installation #
Install the Dynamsoft MRZ Scanner Flutter SDK module by running the following command in your terminal or through your IDE:
$ flutter pub add dynamsoft_mrz_scanner_bundle_flutter
Add this import to the top of your file:
import 'package:dynamsoft_mrz_scanner_bundle_flutter/dynamsoft_mrz_scanner_bundle_flutter.dart';
Camera permissions
Our SDK needs camera access to scan from a live camera stream.
Android
do nothing.
iOS
Add this camera permission description to ios/{projectName}/Info.plist inside the
<key>NSCameraUsageDescription</key>
<string></string>
MRZ Scan #
Set the license and start scan:
var config = MRZScannerConfig(
license: '<YOUR_LICENSE_KEY>',
);
MRZScanResult mrzScanResult = await MRZScanner.launch(config);
if(mrzScanResult.status == EnumResultStatus.finished) {
// handle the result
}
Note
- You can request a 30-day trial license via the Request a Trial License link.
User Guide #
Samples #
You can view the MRZ Scanner Flutter sample via the following link: