-
Install system dependencies
$ sudo apt-get install tesseract-ocr
-
Download the latest Opencv from https://opencv.org/
-
Follow these instructions to install opencv http://stackoverflow.com/questions/15790501/why-cv2-so-missing-after-opencv-installed and set PYTHONPATH like it's said
export PYTHONPATH=~/projects/opencv/release/lib:$PYTHONPATH
-
Install python dependencies
$ pip install -r requirements.txt
It will recognise text from test.jpg
$ python recognise.py