Windowserror: [error 2] The System Cannot Find The File Specified For Pytesseract
I am trying to do OCR using pytesseract but getting an Windowserror. Kindly help. from PIL import Image from pytesseract import image_to_string import matplotlib.pyplot as plt Loa
Solution 1:
You have to make sure tesseract.exe is on your computer (for example by installing Tesseract-OCR), then add the containing folder to your PATH environment variable, or declare it's location using
import pytesseract
pytesseract.pytesseract.tesseract_cmd attribute
Post a Comment for "Windowserror: [error 2] The System Cannot Find The File Specified For Pytesseract"