我安装了 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