Привет, Я пытаюсь python library pytesseract извлечь текст из изображения. Пожалуйста, найдите код:Ошибка pytesseract Ошибка Windows [Ошибка 2]
from PIL import Image
from pytesseract import image_to_string
print image_to_string(Image.open(r'D:\new_folder\img.png'))
Но пришло следующее сообщение об ошибке:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\pytesseract\pytesseract.py", line 161, in image_to_string
config=config)
File "C:\Python27\lib\site-packages\pytesseract\pytesseract.py", line 94, in run_tesseract
stderr=subprocess.PIPE)
File "C:\Python27\lib\subprocess.py", line 710, in __init__
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
я не нашел конкретное решение этой проблемы. Может ли кто-нибудь помочь мне, что делать. Все, что больше, чтобы быть загружено или от того, где я могу скачать его и т.д ..
Заранее спасибо :)