From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86799 invoked by alias); 21 Sep 2015 09:04:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 86773 invoked by uid 89); 21 Sep 2015 09:04:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.8 required=5.0 tests=AWL,BAYES_05,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mx5.adesso.de Received: from mx5.adesso.de (HELO mx5.adesso.de) (85.22.63.2) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 21 Sep 2015 09:04:03 +0000 Received: from ex2010-cas01.adesso.local (gw-do-ext.adesso.de [172.20.20.1]) by mx5.adesso.de (8.14.7/8.14.7) with ESMTP id t8L93x3g000858 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 21 Sep 2015 11:04:00 +0200 Received: from EX2010-DB01.adesso.local ([10.1.1.215]) by ex2010-cas01.adesso.local ([fe80::20c5:eb2f:1c87:b7b8%11]) with mapi id 14.03.0248.002; Mon, 21 Sep 2015 11:04:00 +0200 From: "Schmitz, Marco" To: "cygwin@cygwin.com" Subject: Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox Date: Mon, 21 Sep 2015 09:04:00 -0000 Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00297.txt.bz2 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 bat= ch.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.tra= ineddata 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=3D"/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\u= sr\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