解决 python中 使用tesserocr,File "tesserocr.pyx", line 2401, in tesserocr._tesserocr.image_to_text 报错问题...

在使用 pycharm ,调用 tesserocr 时报错File "tesserocr.pyx", line 2401, in tesserocr._tesserocr.image_to_text

解决 python中 使用tesserocr,File "tesserocr.pyx", line 2401, in tesserocr._tesserocr.image_to_text 报错问题...

 

试了网上添加环境变量,拷贝tessdata文件夹到各种目录下...  所有教程都无效

最后再自己的 Python 文件夹中,把  Tesseract-OCR下的tessdata文件夹拷贝到 python 的根目录下即可解决

解决 python中 使用tesserocr,File "tesserocr.pyx", line 2401, in tesserocr._tesserocr.image_to_text 报错问题...