OCRopus

Aus Doku-Wiki
Zur Navigation springenZur Suche springen

Links

iulib

tesseract-ocr

OCRopus

Installation

Benötigte Pakete

aptitude install libdirectfb-1.2-0 libiulib0 libjpeg62 liblua5.1-0 libsdl-gfx1.2-4 libsdl1.2debian libsysfs2 libtiff4 libts-0.0-0 tsconf subversion 
aptitude install libleptonica libleptonica-dev g++ scons build-essential ftjam libpng12-dev libjpeg62-dev libtiff4-dev aspell autoconf automake libtool
aptitude install libglobus-libtool libglobus-libtool-dev libtool-doc libtoolkit-perl hg-load-dirs
aptitude install libavcodec-dev libavformat-dev libsdl-gfx1.2-dev libsdl-image1.2-dev imagemagick

tesseract-ocr

mkdir  /usr/local/src/tesseract-ocr 
cd /usr/local/src/tesseract-ocr
wget http://tesseract-ocr.googlecode.com/files/tesseract-3.00.tar.gz
tar xzvf tesseract-3.00.tar.gz
cd tesseract-3.00
cd  /usr/local/src/tesseract-ocr/tesseract-3.00
./runautoconf
./configure 
make
make install
  • Testen von Tesseract
cd  /usr/local/src/tesseract-ocr/tesseract-3.00
ldconfig
tesseract phototest.tif out
  - Ausgabe= Tesseract Open Source OCR Engine v3.01 with Leptonica

OCRopus

mkdir /usr/local/src/ocropus
cd /usr/local/src/ocropus
wget http://ocropus.googlecode.com/files/ocropus-0.4.tar.gz
tar xzvf ocropus-0.4.tar.gz

iulib

cd /usr/local/src/ocropus-[VERSION]/iulib
scons
sudo scons install 

ocropus

cd /usr/local/src/ocropus-[VERSION]/ocropus
scons
scons install

scons