Tesseract languages in rigo?

Discussions Regarding Software

Moderator: Moderators

Tesseract languages in rigo?

Postby desputin » Wed Sep 26, 2012 7:26

Hi,
I didn't find the tesseract OCR-Languages in rigo. When I type tesseract there is only the main package with English recognition. How do I get the other languages?

best regards
desputin
desputin
Young Hen
 
Posts: 32
Joined: Sat Sep 22, 2012 16:15
Location: Germany

Re: Tesseract languages in rigo?

Postby Fitzcarraldo » Wed Sep 26, 2012 8:20

If you look at the details for the Entropy package on the SL Packages Web page https://packages.sabayon.org/quicksearch?q=tesseract (click on the 'Details' link), you'll see that the package was built for the Entropy repository with all the linguas USE flags turned off except for 'en'. Therefore, if you want Tesseract to recognise another language you need to install Tesseract using the Portage package manager with the appropriate USE flag set. For example:

Code: Select all
USE="de en" emerge -1v tesseract::sabayon


BTW, note that the USE flags for the Tesseract ebuild in the sabayon Portage overlay are different to the USE flags for the Tesseract ebuild in the main Portage tree and some other Portage overlays. For example: de (sabayon overlay) versus linguas_de (gentoo distro). Therefore, if you were merging the package using the ebuild in the Portage main tree or from e.g. the stuff Portage overlay, the command would instead be:

Code: Select all
USE="linguas_de linguas_en" emerge -1v tesseract::gentoo

or:

Code: Select all
USE="linguas_de linguas_en" emerge -1v tesseract::stuff
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Software in General

Who is online

Users browsing this forum: No registered users and 1 guest