Re: Include Tesseract in C++ code

2012-04-27 Thread Pavel Mazniker
> Hi, > I have a linking to tesseract problem in Qt C++ project on Windows, > > Hello. I've build the libraries ( together with one that is already within the tesseract-3.01-win_vs - > vs2008 ) : 04/27/2012 08:47 AM 5,124,542 ccmain.lib 04/27/2012 08:48 AM 3,192,960

Re: Include Tesseract in C++ code

2012-04-27 Thread Pavel Mazniker
Hi, You made great work with tesseract!Thanks! I succeed to link it to Qt project using one of the tesseract projects posted at github ( tesseract using mingw ). Is it full ( does that project include also training ? ) Now I try to imrove the performance and accuracy such as recognizing t

Re: Include Tesseract in C++ code

2012-04-27 Thread Pavel Mazniker
*1. tesseract-ocr 3.01 do not (officially) support/create dll. As far as I remember, only static linking was successful. Use 3.02 (in svn).* What libs exactly should I create for linking and compiling on MinGW build system ? I built previously using visual studio compiler and got above libs but

Re: tesseract under windows and paths

2012-04-29 Thread Pavel Mazniker
Hi, I checked out full r724 from repository, I get when running configure in ming+msys system terminal: next "checking for pixCreate in -llept... no configure: leptonica library missing" on windows, nevertheless I copied leptonica .dll and .lib files to Windows/System directory, Can a

Re: Include Tesseract in C++ code

2012-04-29 Thread Pavel Mazniker
Hi, trying to build using MinGW + MSYS the 3.02 checked from svn r724. Is that right ? then runned in msys terminal on the root directory of the checkout ./autogen.sh and got: " Running aclocal ./autogen.sh : line50 : aclocal : command not found Something went wrong, bailing out!

Re: Include Tesseract in C++ code

2012-04-29 Thread Pavel Mazniker
Hi, *Just compile tesseract-3.02 in mingw+msys environment and it will create everything you need.* Trying to build. I checked r724 - is that O.K. version 3.02? when running ./configure on the r724 root folder from mingw-msys terminal I get following: checking for pixCreate in -llept...

Re: Include Tesseract in C++ code

2012-04-29 Thread Pavel Mazniker
> Hi, > > I checked out full r724 from repository, > > I get when running configure in ming+msys system terminal: "checking for pixCreate in -llept... no configure: leptonica library missing" on windows, nevertheless I copied leptonica .dll and .lib files to Windows/System director

Re: help installing tesseract-ocr on my windows 7 computer

2012-04-29 Thread Pavel Mazniker
> Hi, > > yes of course you need leptonica to be "installed" before configure and install tesseract to use it in applications. I have a similar problem to build tesseract r724 on windows: I checked out full r724 from repository, I get when running configure in ming+msys system terminal:

Re: tesseract under windows and paths

2012-04-29 Thread Pavel Mazniker
> Hi, > > I checked out full r724 from repository, - is it tesseract 3.02 version ( > latest ) ? > > I get when running configure in mingw+msys system terminal: next > > "checking for pixCreate in -llept... no > configure: leptonica library missing" > > that is on windows, nevertheless I

Building tesseract 3.02 on Windows unsing mingw+msys

2012-04-29 Thread Pavel Mazniker
> > Hi, > > I checked out full r724 from repository, - is it tesseract 3.02 version ( > latest ) ? > > I get when running configure in mingw+msys system terminal: next > > > "checking for pixCreate in -llept... no > configure: leptonica library missing" > > that is on windows, neve

Tesseract set accuracy as speed

2012-04-30 Thread Pavel Mazniker
Hi, there is a wrapper : void ofxTesseract::setAccuracy(Accuracy accuracy) { tess.SetAccuracyVSpeed((tesseract::AccuracyVSpeed) accuracy); } In openFrameworks - tesseract. But I can't find the function SetAccuracyVSpeed(...) in r724 in tesseract C++ . In what file(class)

Tesseract remove non-text regions

2012-04-30 Thread Pavel Mazniker
Hi, I work on text recognition in complex image that contains also not-textual regions. There is remove_nontext_regions function in osdetect.cpp Is it called "automatically" when Recognize(...) function called or should I call the function explicitly before performing recognition in order t

Re: Building tesseract 3.02 on Windows unsing mingw+msys

2012-05-01 Thread Pavel Mazniker
ill trying to solve the issue. Any help will be very appreciated. Kind Regards, Paul On Monday, 30 April 2012 11:12:09 UTC+3, Nick White wrote: > > On Sun, Apr 29, 2012 at 07:12:11AM -0700, Pavel Mazniker wrote: > > How to make ./configure to find leptonica on windows when b

Cube language model params for Thai Language

2012-05-01 Thread Pavel Mazniker
Hi, Where can I get cube language model params tha.cube.lm for Thai language ? Because when I put tess.Init("tessdata",thai,tesseract::OEM_TESSERACT_CUBE_COMBINED) I got : Cube ERROR (CubeRecoContext::Load): unable to read cube language model params from /usr/local/share/tessdata/tha.cu

Re: Building tesseract 3.02 on Windows unsing mingw+msys

2012-05-01 Thread Pavel Mazniker
O.K. thanks I will check later again what is the problem at my place with the building. Just wanted to know , is it possible to get the .dlls for leptonica and tesseract *already built* on Windows ( x86/x64 ) using mingw ? Thanks. -- You received this message because you are subscribed to

Tesseract variables

2012-05-01 Thread Pavel Mazniker
Hi, The question is: There is a list of internal tesseract variables ( >600 ) such as "image_default_resolution" , ... that could be setted by calling SetVariable(...) function on instance of TessBaseApi and that could be printed in latest version using PrintVariables(...) function. Where ca