I am using python-tesseract to extract words from an image. This is a python wrapper for tesseract which is an OCR code.
I am using the following code for getting th
Would comment under lennon310 but don't have enough reputation to comment...
To run his command line command tesseract test.jpg result hocr in a python script:
tesseract test.jpg result hocr
from subprocess import check_call tesseractParams = ['tesseract', 'test.jpg', 'result', 'hocr'] check_call(tesseractParams)