Public bug reported:

Tesseract fails with:

Error opening data file /usr/local/share/tessdata/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to the parent 
directory of your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
Could not initialize tesseract.

when no eng.traineddata is present in "tessdata", even if a different
language file has been specified. As far as I can tell, this was
introduced in r760 (http://code.google.com/p/tesseract-
ocr/source/detail?r=760&path=/trunk/api/tesseractmain.cpp) by the
addition of api.Init call with NULL language (which defaults to 'eng'),
and fixed in r811 (http://code.google.com/p/tesseract-
ocr/source/detail?r=811&path=/trunk/api/tesseractmain.cpp).

** Affects: tesseract (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1189995

Title:
  Tesseract fails if there's no eng.traineddata present

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tesseract/+bug/1189995/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to