您的位置:首页 > 其它

tesseract-ocr开源的OCR识别引擎

2017-07-18 19:47 399 查看
windows环境

下载安装包 https://github.com/tesseract-ocr/tesseract/wiki/4.0-with-LSTM#400-alpha-for-windows

下载中文字库 https://github.com/tesseract-ocr/tesseract/wiki/Data-Files

中文简体 https://github.com/tesseract-ocr/tessdata/raw/4.00/chi_sim.traineddata

中文繁体 https://github.com/tesseract-ocr/tessdata/raw/4.00/chi_tra.traineddata

拷贝到安装路径 C:\Program Files (x86)\Tesseract-OCR\tessdata

设置环境变量 TESSDATA_PREFIX C:\Program Files (x86)\Tesseract-OCR\tessdata

# python ocr
$ (env)> pip install pytesseract
$ (env)> pip install Pillow

References

https://pypi.python.org/pypi/pytesseract

https://github.com/tesseract-ocr/tesseract

https://github.com/tesseract-ocr/tesseract/blob/master/README.md
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息