This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AW: Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox


On 22/09/2015 14:18, Schmitz, Marco wrote:
Okay, my shell script problem "not finding makebox" was a line ending problem (CR+LF).

But how about TESSDATA_PREFIX ?

-----Ursprüngliche Nachricht-----
Von: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] Im Auftrag von Schmitz, Marco
Gesendet: Dienstag, 22. September 2015 13:23
An: Marco Atzeri <marco.atzeri@gmail.com>; cygwin@cygwin.com
Betreff: AW: Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox

Hi Marco,

without setting TESSDATA_PREFIX (neither Windows environment variables nor .bash_profile) I get:

$ tesseract --list-langs
Error opening data file C:\DEV\tesseract\Tesseract-OCR\tessdata/eng.traineddata

This file path is surely not coming from cygwin tesseract default.
have you another version around in the path ?

 $ which tesseract
/usr/bin/tesseract

$ tesseract --version
tesseract 3.04.00
 leptonica-1.72
libgif 4.1.6(?) : libjpeg 8d (libjpeg-turbo 1.3.1) : libpng 1.6.17 : libtiff 4.0.3 : zlib 1.2.8 : libwebp 0.4.3


As reported on https://www.cygwin.com/problems.html please

Run cygcheck -s -v -r > cygcheck.out and include that file as an attachment in your report. Please do not compress or otherwise encode the output. Just attach it as a straight text file so that it can be easily viewed.

Regards
Marco

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]