Saturday, August 2, 2008

how to install ocropus-0.2 (for newbies)

this guide is based on ubuntu 8.04LTS

download ocropus-0.2,tesseract(use svn) and openfst.

open terminal (Applications->accessories->terminal)
make sure you are connected to internet.
then enter the fellowing commands -

$ sudo apt-get install libpng12
$ sudo apt-get install libpng12-dev
$ sudo apt-get install libtiff4
$ sudo apt-get install libtiff4-dev
$ sudo apt-get install libjpeg62
$ sudo apt-get install libjpeg62-dev
$ sudo apt-get install ftjam
$ sudo apt-get install zlib
$ sudo apt-get install libleptonica
$ sudo apt-get install libleptonica-dev
$ sudo apt-get install libedit-dev
$ sudo apt-get install aspell-en
$ sudo apt-get install libaspell-dev

to build and install tesseract go to the tesseract root dir
commands are:

$sudo make install

to build and install go to the openfst root dir

$cd fst
$make all
$sudo mkdir -p /usr/local/include/fst/lib
$sudo cp
-v fst/lib/*.h /usr/local/include/fst/lib
$sudo cp fst/lib/*.a /usr/local/lib

make sure that all the *.h files in
has the permision "read-only" for "others" catagory
make sure
/usr/local/lib/libfst.a has the same permission

to do this run these command:
$sudo chmod -R 755
$sudo chmod 755

go to the ocropus root dir the run these commands
$./configure --without-SDL
$sudo jam install



Md. Abul Hasnat said...

Souro, thanks again.

sriranga said...

Kindly post "how to install ocropus -0.3
or using sVN update for newbies" and also consolidated list of commandslines to be used in ocropus for benefit of newbies.

111 said...
This comment has been removed by a blog administrator.
kiss said...

Weekends to peopleig2tmean that they can have a two-day wowgold4europe good rest. For example, people gameusdcan go out to enjoy themselves or get meinwowgoldtogether with relatives and friends to talk with each storeingameother or watch interesting video tapes with the speebiewhole family.
Everyone spends agamegoldweekends in his ownmmoflyway. Within two days,some people can relax themselves by listening to music, reading novels,or watchingogeworld films. Others perhaps are more active by playing basketball,wimming ormmorpgvipdancing. Different people have different gamesavorrelaxations.
I often spend weekends withoggsalemy family or my friends. Sometimes my parents take me on a visit to their old friends. Sometimesgamersell I go to the library to study or borrow some books tommovirtexgain much knowledge. I also go to see various exhibition to broadenrpg tradermy vision. An excursion to seashore or mountain resorts is my favorite way of spending weekends. Weekends are always enjoyable for me.