[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OCR questions



On Sat, Jul 21, 2007 at 22:25:43 +0200, Rodolfo Medina wrote:

[...]

> I installed tesseract with configure, make, make install, then tried to run it
> but got the following error message:
> 
>  Unable to load unicharset file /usr/local/share/tessdata/eng.unicharset
> 
> .  In the README file there is:
> 
> Non-Windows:
> You have to tell Tesseract through a standard unix mechanism where to find
> its data directory. You must either:
> ./configure
> make
> make install
> to move the data files to the standard place, or:
> export TESSDATA_PREFIX="directory in which your tessdata resides/"
> (or equivalent) in your .profile or whatever or setenv to set the environment
> variable. Note that the directory must end in a /
> HAVING tesseract and tessdata IN THE SAME DIRECTORY DOES NOT WORK ANY MORE.
> 
> 
> .  I tried with `export TESSDATA_PREFIX="/usr/local/share/tessdata/"', but
> nothing.  Now I'm stuck.  Any suggestion please?

Why not use the Debian package? It is called "tesseract-ocr".

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: