To run the program you will need to have python 3.6* installed https://wiki.python.org/moin/BeginnersGuide/Download
-
Clone the repo and cd into the folder
-
install required dependencies
pip install -r requirements.txt -
Install Teseract OCR
Windows:
-
Download Tesseract OCR executables from https://github.com/UB-Mannheim/tesseract/wiki
-
Add the tesseract directory to your PATH. It is most likely present in
C:\Program Files (x86)\Tesseract-OCR/tesseract -
Set the environment variable
TESSDATA_PREFIXto the location where foldertessdatais present. Most probablyTESSDATA_PREFIX=C:\Program Files (x86)\Tesseract-OCR.
Mac:
brew install tesseract -
-
Run the program with the command
Windows:
python app.pyMac:
python3 app.py