On Mon, May 28, 2012 at 8:18 PM, steve8918 <[email protected]> wrote:

> Hi, I'm finding a discrepancy between the results I get from version 3.01
> and the most current code in svn.
>
> I'm working on WinXP SP3 32-bit, and using Visual Studio 2008 (regular
> version, not express).
>
> Using the tesseract-ocr-setup-3.01-1.exe from the main Tesseract page, I
> was able to install it and run it against various PNG files successfully.
>
> An example command line I would use would be:
>
> "c:\Program Files\Tesseract-OCR\tesseract.exe" b.png  a.txt -psm 10
>
> This would create a.txt.txt with the value of "B" (since b.png contains
> only a single character "B").  I attached the png to this post, in case
> anyone is interested.
>
> Then I wanted to build Tesseract locally, so I downloaded the code using
> svn locally, and followed all the instructions on the site/googlecode, etc.
>  I successfully built both libtesseract.dll and tesseract.exe.
>
> However, when I point the TESSDATA_PREFIX to the same 3.01 tessdata
> directory that came with the full install, I get a different result for
> b.png. Instead of B, I get %.
>
> you can set temporary TESSDATA_PREFIX  to different location in command
line with:

set TESSDATA_PREFIX=c:/my path/to/tesseract-ocr


> Would anyone know the revision number that corresponds to the version
> 3.01-1 that the Windows install is built from, so that I can back-date my
> code and try to figure out what the differences are?
>

try this:

svn checkout 
http://tesseract-ocr.googlecode.com/svn/tags/release-3.01tesseract-3.01

list of tags can be found here:
http://code.google.com/p/tesseract-ocr/source/browse/#svn%2Ftags


-- 
Zdenko

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to