Input image have only digits and symbol ‘-’. I think aspose.ocr without problem can recognise it. But… worst quality of recognition… What i make wrong?
OcrEngine ocrEngine = new OcrEngine();
ocrEngine.Image = ImageStream.FromFile(“E:\1.png”);
ocrEngine.Config.RemoveNonText = true;
ocrEngine.Config.Whitelist = new char[] { ‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’, ‘0’,’-’ };
if (ocrEngine.Process())
{
MessageBox.Show(ocrEngine.Text.ToString());
}
its get me result 6 967 936-6970