pytesseract-no such file or directory error

前端 未结 3 1248
一个人的身影
一个人的身影 2020-12-05 23:18

I am using Ubuntu 14.04. I have the following code:

import Image
import pytesseract
im = Image.open(\'test.png\')
print pytesseract.image_to_string(im)
         


        
3条回答
  •  难免孤独
    2020-12-06 00:14

    If you're on windows and have PIP installed go to your project directory and run:

    pip install tesseract-ocr

提交回复
热议问题