Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Note

Ocropus 0.4+ is now available.

Following notes are based on the instructions for installing OCRopus 3.0. The following notes were generated in the following environment:

...

...

Code Block

svn co http://tesseract-ocr.googlecode.com/svn/trunk/ tesseract-ocr

...


cd tesseract-ocr

...


./configure

...


make

...


sudo make install

...

Installing OCRopus

...

      

3. Installing OCRopus

Following the instructions listed here: http://sites.google.com/site/ocropus/install-0-3

Code Block

./configure --without-fst --without-leptonica
make
sudo make install
Note

OCRopus instructions only tell you to run make install, but you should be using sudo make install to install properly.

  • Note: running configure with the --without-SDL – OKran make – ERROR flag will cause an error during the make process:
Code Block
/home/leviticus/ocropus/iulib/utils/dgraphics.cc:154: undefined reference to `SDL_FillRect'
/home/leviticus/ocropus/iulib/utils/dgraphics.cc:155: undefined reference to `SDL_UpdateRect'
/home/leviticus/ocropus/iulib/utils/dgraphics.cc:157: undefined reference to `SDL_UpdateRect'
collect2: ld returned 1 exit status
make[1]: *** [ocroscript] Error 1
make[1]: Leaving directory `/home/leviticus/ocropus/ocropus-0.3/ocroscript'
make: *** [all-recursive] Error 1

...

Therefore, make sure to not use the --without-

...

SDL flag.

4. Running OCRopus

Run at command line:
ocroscript recognize data/pages/alive_1.png

...