linux 安装imagemagick + RTesseract图片解析软件

1.安装imagemagick之前,先安装

tar -zxvf jpegsrc.v9.tar.gz
tar -zxvf libpng-1.5.2.tar.gz
tar -zxvf tiff-4.0.3.tar.gz
tar -zxvf freetype-2.4.10.tar.gz

进入每个目录,安装
./configure
make
make install

 

2.安装imagemagick

sudo apt-get install imagemagick

 

3.安装leptonica-1.69,

tar -zxvf leptonica-1.69.tar.gz
cd leptonica-1.69
./configure
make
sudo make install

 

 

4.安装tesseract-3.01

./autogen.sh
./configure 或 CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure
make
sudo make install

 

5.安装

gem install mini_magick 

 

你可能感兴趣的:(ImageMagick)