Centos7 tesseract 安装
- 升级下基础包
1 | sudo yum update |
- 这个过程最好用root安装,或者使用sudo命令
1 | wget http://www.leptonica.org/source/leptonica-1.79.0.tar.gz |
- 安装tesseract
1 | wget https://github.com/tesseract-ocr/tesseract/archive/3.04.01.tar.gz |
- 安装模型文件
1 | wget https://sourceforge.net/projects/tesseract-ocr-alt/files/tesseract-ocr-3.02.eng.tar.gz |
- 安装ghostpdl
1 | wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs920/ghostscript-9.20.tar.gz |