You mean this, right?
            tessnet2.Tesseract ocr = new tessnet2.Tesseract();
            ocr.SetVariable("tessedit_char_whitelist",
"0123456789"); // If digit only
            ocr.Init(null, "eng", false); // To use correct tessdata
            ocr.SetVariable("tessedit_char_whitelist",
"0123456789"); // If digit only
            List<tessnet2.Word> result = ocr.DoOCR(bmp,
Rectangle.Empty);
            return result[0].Text;

--

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