1 安装centos系统依赖
yum install -y automake autoconf libtool gcc gcc-c++ yum install -y libpng-devel libjpeg-devel libtiff-devel
2
安装leptonica
wget http://www.leptonica.org/source/leptonica-1.72.tar.gz tar xvzf leptonica-1.72.tar.gz cd leptonica-1.72/ ./configure make && make install
3
安装tesseract-ocr
wget https://github.com/tesseract-ocr/tesseract/archive/3.04.zip unzip 3.04.zip cd tesseract-3.04/ ./configure make && make install sudo ldconfig
4
(eng.traineddata osd.traineddata)
https://www.cnblogs.com/arachis/p/OCR.html
https://blog.csdn.net/diyiday/article/details/80004793
centos7下安装tesseract-ocr进行验证码识别,centos7 安装tesseract
原文:https://www.cnblogs.com/angdh/p/11459400.html