passport_scanner 1.1.0
passport_scanner: ^1.1.0 copied to clipboard
Scans passports with the device camera or from a gallery photo and extracts the MRZ (name, document number, nationality, dates) on Android and iOS.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add passport_scannerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
passport_scanner: ^1.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:passport_scanner/passport_scanner.dart';