from PIL import Image import pytesseract pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files (x86)\Tesseract-OCR\tesseract.exe' im = Image.open('C:/Users/Kiran Lalwani/Desktop/dss/56db21ec-8d4d-4128-889a-948e81eb7127.jpg') text = pytesseract.image_to_string(im, lang='eng')