pytesseract wrapper
- Install Tesseract OCR on your system. Make sure that Tesseract is accessible from the command line:
tesseract --version
- Install
pytesseract
wrapper from the command line:
pip install pytesseract
- Recognize text in image using Tesseract OCR::
import pytesseract
text = pytesseract.image_to_string('test.png')
print(text)
Leave a Comment
Cancel reply