Install dependency
#tar -jxzf leptonica-1.69.tar.bz2
#cd leptonica-1.69
#./configure
#make -j4
#sudo make install
--------------------------
download tesseract-ocr-3.02.02.tar.gz
#tar -xzf tesseract-ocr-3.02.02.tar.gz
#cd tesseract-ocr
download language packags and unpack it to tessdata dir (Note: mv all files in unpack dir to tessdata dir)
#./autogen.sh
#./configure
#make
#make install
#sudo ldconfig
3.set env
vi ~/.bashrc
export TESSDATA_PREFIX=/path/to/tesseract-ocr
source ~/.bashrc
4. test
#tesseract menu.jpeg out2 -l chi_sim
Preferences
https://code.google.com/p/tesseract-ocr/
本文详细介绍了如何安装Tesseract OCR以及配置环境的过程,包括下载、解压、配置路径和进行基本测试。
6万+

被折叠的 条评论
为什么被折叠?



