delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/22/12:15:47

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=VSiC0g00EX2sVOMT
pZ8jvQtMUDwgotGH2AXNG5SYCkhxoU3Lx3+HbuXysJreUpGPR+JSqvU5sZgaS1jg
qyf5PLEoss16avOz+AzmxVfC8sUb/AeH7aGKgvfb07o8I/kY2MqhGdZwH+T6Gpms
/TATvXNfmEIJ3i5CKhf1O+Vy5RM=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=ZRvZv4Bif91MTsn6jgFqej
2KoEc=; b=Emu5+I5VbTTOyyQYBhf3nYixP3CZCzXwHcHPs0DGfU1UFbad7iOWUr
511CyQVjB7cftQjXbMgaCrsUE1FJH1I5QxpgWzGjm/pkiG31+8ZB0Y+qLOG6L53o
KDyE2/NdIVrqvO/nANaKfsVjI4TCWYavxlpmreUo2nVXWwXf+Nrnc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=1.2 required=5.0 tests=AWL,BAYES_50,CYGWIN_OWNER_BODY,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-wi0-f170.google.com
X-Received: by 10.180.92.225 with SMTP id cp1mr21274716wib.2.1442938527638; Tue, 22 Sep 2015 09:15:27 -0700 (PDT)
Subject: Re: AW: Tesseract 3.04 - Cygwin64 - Windows 8.1 - Can't open makebox
To: "Schmitz, Marco" <marco DOT schmitz AT adesso-mobile DOT de>,
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <D347C6895A0AB142BAA2D2F876C96CAA83360F13 AT ex2010-db01> <560010D0 DOT 4010903 AT gmail DOT com> <D347C6895A0AB142BAA2D2F876C96CAA83361896 AT ex2010-db01> <D347C6895A0AB142BAA2D2F876C96CAA83361900 AT ex2010-db01>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <56017E9C.8060501@gmail.com>
Date: Tue, 22 Sep 2015 18:15:24 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <D347C6895A0AB142BAA2D2F876C96CAA83361900@ex2010-db01>
X-IsSubscribed: yes

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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] Im Auftrag von Schmitz, Marco
> Gesendet: Dienstag, 22. September 2015 13:23
> An: Marco Atzeri <marco DOT atzeri AT gmail DOT com>; cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019