HI,

       I,m using Tesseract for recognized data from images which are
only containing digits. I'm using the baseapi.h file and the generated
lib files to calling for the Tesseract functions.

       So I'm suing these three methods in my program.

           tesseract::TessBaseAPI api;

          api.SetVariable("tessedit_char_whitelist", "0123456789");

          api.Init(argv[0],"eng");

          results= api.TesseractRect( data ,resultimg->depth/
8,resultimg->widthStep,0,0,resultimg->width,resultimg->height);


   But still results gives the letters as output.

Is there anything wrong with the method I have use. Most of the forum
discussion I found was regarding Tesseract.exe. So I could not find a
solution for this problem. Please help me on this problem. Thanks in
advance.

Regards,
Thilanka.

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