main.py 171 B

12345
  1. from PIL import Image
  2. import pytesseract
  3. file = Image.open('C:/Users/Caner/Desktop/OCR/123/001.jpg')
  4. result = pytesseract.image_to_string(file, lang='test')
  5. print(result)