系统
ubuntu 18.06
安装tesseract
sudo apt install tesseract-ocr
如果希望安装开发工具执行命令
sudo apt install libtesseract-dev
Ubuntu系统需要安装如下依赖库
sudo apt-get install g++ # or clang++ (presumably)
sudo apt-get install autoconf automake libtool
sudo apt-get install pkg-config
sudo apt-get install libpng-dev
sudo apt-get install libjpeg8-dev
sudo apt-get install libtiff5-dev
sudo apt-get install zlib1g-dev
如果希望安装训练工具,需要安装下面的依赖库
sudo apt-get install libicu-dev
sudo apt-get install libpango1.0-dev
sudo apt-get install libcairo2-dev
官方安装文档参考:
https://github.com/tesseract-ocr/tesseract/wiki/Compiling#linux