Step to run application locally:
-
Create the copy of the project.
-
Open command prompt and change your current path to folder where you can find 'app.py' file.
-
Create environment by command given below- conda create -name .
-
Activate environment by command as follows- conda activate .
-
Install tesseract using windows installer available here.
-
Note the tesseract path from the installation. Default installation path at the time of this edit was:
C:\ProgramFiles\Tesseract-OCR. It may change so please check the installation path.
-
pytesseract.pytesseract.tesseract_cmd = r'C:\ProgramFiles\Tesseract-OCR\tesseract.exe'
-
Use command below to install required dependencies- python -m pip install -r requirements.txt
-
Run application by command- python app.py. You will get url copy it and paste in browser.
-
You have sample_data folder where you can get images to test.