Hello,

After installing tesseract

http://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-ocr-setup-3.02.02.exe&can=2&q=

http://code.google.com/p/tesseract-ocr/wiki/ReadMe

I try to launch:

C:\Program Files (x86)\Tesseract-OCR>tesseract 
C:\Users\admin\AppData\Local\Temp\Untitled.png 
C:\Users\admin\AppData\Local\Temp\out

I get : Tesseract Open Source OCR Engine v3.02 with Leptonica

Seems all went fine, but

I tried to write "Test" in a white background and dark text "Test" in 
English for my image file.

http://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-ocr-3.02.eng.tar.gz&can=2&q=

I get as output in out.txt -> rssr instead of "Test".

I tried to write "My variable" in my image file and get "My vaname" as 
output.

Is it me or did I missed something?

Next issue, I want to do some manipulations with C# in VSO.

Bitmap image = new Bitmap(@"C:\Users\admin\AppData\Local\Temp\image.bmp");
> tessnet2.Tesseract ocr = new tessnet2.Tesseract();
> ocr.SetVariable("tessedit_char_whitelist", "0123456789"); // If digit only
> ocr.Init(@"c:\temp", "eng", false); // To use correct tessdata
> List<tessnet2.Word> result = ocr.DoOCR(image, Rectangle.Empty);
> foreach (tessnet2.Word word in result)
>         Console.WriteLine("{0} : {1}", word.Confidence, word.Text);
>

ocr.Init(@"c:\temp", "eng", false); // To use correct tessdata

Doesn't work. I have tokensz.exe/tokensz.htm/usertokenestimate.ps1 inside 
that C:\temp. I tried to do instead C:\temp, I did C:/Program Files 
(x86)/Tesseract-OCR/ where is my tessdata folder located.

I get following error:

Unable to load unicharset file C:/Program Files 
(x86)/Tesseract-OCR/\eng.unicharset

http://code.google.com/p/tesseract-ocr/wiki/FAQ#Can%27t_open_eng.unicharset?

But I installed correctly all tessdata, because in C:/Program Files 
(x86)/Tesseract-OCR/tessdata are following files:
eng.cube.bigrams,eng.cube.fold,eng.cube.lm,eng.cube.lm_,eng.cube.nn,eng.cube.params,eng.cube.size
eng.cube.word-freq,eng.tesseract_cube.nn,osd.traineddata,tessconfigs

I hope those informations will help to find out the issue.

Thanks,
M.Leal

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to