X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=BiY nPmbng+cOiObhplfF5bf+4UbUueagigds+qNKtfza/Nbcs8dnxXGg4m7GGKhtbYJ BntRkJR+jpmvKGfjATNjRUIyMiwuYkzKva0iinFatCXfHUqIJyam0bCS2ytzzXJt UuOK8JsD8+jxOc2hZD6gxTbDhpLiusCD2Xi0NR4E= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=mxr8EGZcS yH/VivV/QOR4+TiYmE=; b=WK8AxYxjnhb/rzCGTQzsIjZrdAd5Y4KlZKn+ca2QF DQgqCNCFHq9gOdz0M+wH41LMapwOJ0CEVo1pFQvnnHNUHMFHLbZoj3qx6QRwZqWu w6jWYtZJowMn/3XW6ZBff5QOua4Vk0cD7bgLtLmB3YzcOaeCgNLi5SeRXjwPYatK yA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 From: "Schmitz, Marco" To: "cygwin AT cygwin DOT com" Subject: Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox Date: Mon, 21 Sep 2015 09:03:38 +0000 Message-ID: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t8L94FND026046 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