python3环境,安装完tesserocr和pillow之后,执行测试代码发现报错
import tesserocr
from PIL import Image
image=Image.open('CheckCode.jpg')
result=tesserocr.image_to_text(image)
print(result)
QQ截图20190213162106.png
import tesserocr
from PIL import Image
image=Image.open('CheckCode.jpg')
result=tesserocr.image_to_text(image)
print(result)
QQ截图20190213162106.png
本文标题:RuntimeError: Failed to init API
本文链接:https://www.haomeiwen.com/subject/ngydeqtx.html
网友评论