On Tue, Oct 5, 2010 at 10:17 AM, Jimmy O'Regan <[email protected]> wrote:
> On 5 October 2010 07:45, zdenko podobny <[email protected]> wrote: > > > > On Tue, Oct 5, 2010 at 12:36 AM, Malky <[email protected]> wrote: > >> > >> I've compiled tesseract (and it works) but I don't know how to use the > >> language files from here: > >> https://code.google.com/p/tesseract-ocr/downloads/list > >> > >> I've unpacked language files into /usr/local/share/tessdata/ but I get > >> the error message "Error openning data file /usr/local/share/tessdata/ > >> english.traineddata" (or any other language) if I use the -l option > >> even for english. I've tried different language files and the message > >> was the same (of course, different names). If I do not choose the -l > >> option it works (as Engish). So how can I choose the languages indeed? > >> > > > > It looks like problem with paths. Can you please post result of 'which > > tesseract'? > > The traineddata files are gzipped: did you uncompress them? (gzip -d) > > > it is solved. Problem was in using "-l english" instead of "-l eng". I already got other feedback that user documentation should be improved.... -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en.

