Install PassportEye
masterInstall the package via pip. Note that PassportEye depends on numpy, scipy, matplotlib, and scikit-image. If installation fails due to missing system libraries, consider using a Python distribution like Anaconda or installing dependencies via OS-specific binary packages.
Prerequisites:
- Python 3.6 or higher.
- Tesseract OCR must be installed and available in your system
PATH(thetesseractcommand must work in your terminal). - Legacy Tesseract Models: For better MRZ detection, it is recommended to use Tesseract's "legacy" models. If your installation doesn't include them, download the
eng.traineddatafile from the official Tesseract repository and replace your existing one.
$ pip install PassportEye