All Projects → uwolfer → mrz-scanner

uwolfer / mrz-scanner

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

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].