mrz_parser_esp 1.0.3 copy "mrz_parser_esp: ^1.0.3" to clipboard
mrz_parser_esp: ^1.0.3 copied to clipboard

Parse MRZ (Machine Readable Zone) from identity documents. Enhanced support for European IDs with special focus on Spanish DNI and other EU documents.

mrz_parser (Dart/Flutter) #

Coverage Status

Parse MRZ (Machine Readable Zone) from identity documents. Heavily inspired by QKMRZParser.

Supported formats: #

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

Usage #

Import the package #

Add to pubspec.yaml

dependencies:
    mrz_parser: ^2.0.0

Parse MRZ #

final mrz = [
  'P<UTOERIKSSON<<ANNA<MARIA<<<<<<<<<<<<<<<<<<<',
  'L898902C36UTO7408122F1204159ZE184226B<<<<<10'
];

final result = MRZParser.tryParse(mrz);

// Alternatively use parse and catch MRZException descendants
try {
  final result = MRZParser.parse(mrz);
} on MRZException catch(e) {
  print(e);
}

Authors #

License #

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

0
likes
140
points
251
downloads

Publisher

unverified uploader

Weekly Downloads

Parse MRZ (Machine Readable Zone) from identity documents. Enhanced support for European IDs with special focus on Spanish DNI and other EU documents.

Repository (GitHub)
View/report issues

Topics

#mrz #document #identity #scanner #parser

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on mrz_parser_esp