public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox
@ 2015-09-21  9:04 Schmitz, Marco
  2015-09-21 14:14 ` Marco Atzeri
  2015-09-22 16:43 ` Brian Inglis
  0 siblings, 2 replies; 10+ messages in thread
From: Schmitz, Marco @ 2015-09-21  9:04 UTC (permalink / raw)
  To: cygwin

I am using Windows 8.1 and Cygwin64 in order to run Tesseract 3.04.

Running the following command:

    tesseract arbeitsunfaehigkeit.hausarzt.exp0.jpg arbeitsunfaehigkeit batch.nochop makebox

results in the following output:

    Tesseract Open Source OCR Engine v3.04.00 with Leptonica
    read_params_file: Can't open makebox

And this is after I fixed the output:

    Tesseract Open Source OCR Engine v3.04.00 with Leptonica
    Error opening data file C:\DEV\tesseract\Tesseract-OCR\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.

Using the following line in .bash_profile:

    export TESSDATA_PREFIX="/cygdrive/c/DEV/cygwin64/usr/share/tessdata/"

It seems to be a Cygwin64 issue because using Windows command line (added C:\DEV\cygwin64\bin to PATH and setting TESSDATA_PREFIX to C:\DEV\cygwin64\usr\share\tessdata) it works nicely.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-06 10:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-21  9:04 Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox Schmitz, Marco
2015-09-21 14:14 ` Marco Atzeri
2015-09-22 11:23   ` AW: " Schmitz, Marco
2015-09-22 12:19     ` Schmitz, Marco
2015-09-22 16:15       ` Marco Atzeri
2015-10-05  9:09         ` AW: " Schmitz, Marco
2015-10-06  4:44           ` Marco Atzeri
2015-10-06  8:00             ` AW: " Schmitz, Marco
2015-10-06 10:01               ` Marco Atzeri
2015-09-22 16:43 ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).