A mounting system relies centos
yum install -y automake autoconf libtool gcc gcc-c++ yum install -y libpng-devel libjpeg-devel libtiff-devel
2
Installation 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
Install 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
- In https://github.com/tesseract-ocr/tessdata model file to download the corresponding language
- Move model file to / usr / local / share / tessdata
(eng.traineddata osd.traineddata)
https://www.cnblogs.com/arachis/p/OCR.html
https://blog.csdn.net/diyiday/article/details/80004793