Difference between revisions of "Cuneiform"

From OpenKM Documentation
Jump to: navigation, search
(Created page with 'You can grab binaries from these sites: * http://pkgs.org/package/cuneiform * http://ftp.es.debian.org/debian/pool/non-free/c/cuneiform == Compile from source code == You can d…')
(No difference)

Revision as of 10:04, 11 January 2012

You can grab binaries from these sites:

Compile from source code

You can download the source code from http://code.google.com/p/tesseract-ocr/ and compile yourself. Also download the language files you need and uncompress them in the same folder of the application.

$ aptitude install cmake g++ imagemagick libmagick++-dev
$ tar xjvf cuneiform-linux-1.0.0.tar.bz2
$ cd cuneiform-linux-1.0.0
$ mkdir builddir
$ cd builddir
$ cmake -DCMAKE_BUILD_TYPE=release ..
$ make install

Once installed, edit the file /etc/bash.bashrc and add at the end:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64