I am using a console app and very basic Tesseract to perform digit recognition. I have copied an image from google and tried to find the digits only.
Bitmap image = new Bitmap("1.png");
TesseractEngine t = new TesseractEngine("./tessdata", "eng", EngineMode.Default);
t.SetVariable("tessedit_char_whitelist", "01234567890");
var r = t.Process(image, PageSegMode.SingleBlock);
Console.WriteLine("Result: " + r.GetText());
Console.ReadLine();
The image is
The result are different depending on the pageSegMode, but none of them are close to the image.
What is the best way to use Tesseract to identify digits from such pics?