Skip to content

mrz-scanner is a PWA (progressive web app) for recognizing MRZ lines used on ID cards and passports

License

Notifications You must be signed in to change notification settings

uwolfer/mrz-scanner

Repository files navigation

mrz-scanner

mrz-scanner is a PWA (progressive web app) for recognizing MRZ lines used on ID cards and passports. All processing is done offline - no data for scanning will ever leave your computer.

Try it!

Dependencies

  • Tesseract.js (for text recognition / OCR)
  • Croppie (for zooming and range selection)
  • mrz (for parsing and validating MRZ lines)
  • exif-js (Croppie uses it for proper initial image orientation)

The icon has been taken from Font Awesome.

Development

You can run this app with parcel:

yarn parcel index.html

The deployment build can be created with:

yarn parcel build index.html --public-url ./

Ideas for improvements (Pull Requests are welcome!)

  • Wrap as reusable component (which can be used in other apps)
  • Embed Tesseract.js (not that easy because of the worker setup)
  • Better support for smaller displays
  • Improved display of MRZ results

Versioning

This library uses SemVer for versioning.

Authors

  • Urs Wolfer - Maintainer

License

This project is licensed under the GNU GPL v3.0 - see the LICENSE.md file for details.

About

mrz-scanner is a PWA (progressive web app) for recognizing MRZ lines used on ID cards and passports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published