uwolfer / mrz-scanner

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

Home Page:https://uwolfer.github.io/mrz-scanner/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://uwolfer.github.io/mrz-scanner/

License:GNU General Public License v3.0


Languages

Language:JavaScript 58.8%Language:CSS 26.0%Language:HTML 15.2%