问题:pytesseract 中文识别:pytesseract.pytesseract.TesseractError: (1, ‘Tesseract Open Source OCR Engine v3.04.01 with Leptonica Error opening data file /usr/share/tesseract-ocr/tessdata/chi_sim.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your “tessdata” directory. Failed loading language ‘chi_sim’ Tesseract couldn’t load any languages! Could not initialize tesseract.’)
解决方案:
检查是否安装对应的中文库
具体检查支持的语料库及其安装,请参考:https://blog.csdn.net/magicianofcodes/article/details/79401622
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)