We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Cannot recoganize very simple image a with few chars- see attachment

Please see the attachments below.

In the first pic, not all the chars are not recoganized.

In the second pic (your sample), only letters are recoganized, numbers and others are not.

Here is my code:

public static void Process(string resourceFileFullPath, string imageFileFullPath, string language, string outputFileFullPath) {

Aspose.OCR.OcrEngine ocr = new Aspose.OCR.OcrEngine();

ocr.Image = Aspose.OCR.ImageStream.FromFile(imageFileFullPath);


// Load the resource file.

using (ocr.Resource = new FileStream(resourceFileFullPath, FileMode.Open))




DateTime startTimePoint = DateTime.UtcNow;

// Process the whole image

if (ocr.Process())


// Get the complete recognized text found from the image

Console.WriteLine("Text recognized: " + ocr.Text);

File.WriteAllText(outputFileFullPath, ocr.Text.ToString());


DateTime endTimePoint = DateTime.UtcNow;

TimeSpan timeCost = endTimePoint.Subtract(startTimePoint);

Console.WriteLine(“Time cost: " + timeCost.TotalMinutes + " minutes”);


catch (Exception ex)


Console.WriteLine("Exception: " + ex.ToString());




Hi Zach,

Thank you for considering Aspose products, and welcome to Aspose.OCR support forum.

We need your original image for roc.png to perform testing on our end. Please note, we have tried to crop the image containing the text out of your provided snapshot but results are not as desired therefore the original image will help us better to evaluate the presented scenario.

Regarding the roc2.png, this is actually the evaluation restriction of Aspose.OCR for .NET API that it can recognize up to 50 characters from a given image without setting a valid license. If you wish to evaluate the product without any limitation, we would suggest you to submit a request for 30 day temporary license. Please refer to How to get a Temporary License? for more information.