我安装了Tesseract OCR引擎和pytesseract
客户端库,以便我可以读取图像中包含的字符串。无论我切蛋糕的方式如何,我都会收到以下错误。有什么想法吗?
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
pytesseract.image_to_string(i)
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 740] The requested operation requires elevation