I am doing it wrong?

Hello,
as nearly new owner of the .Total license I did a test with the OCR component.
I made a simple screenshot from some text of your documentation and run the sample code. The results were insufficient at all. The recognition took 10 seconds for few lines and the output had way to many errors.

Sample Code:
Console.WriteLine(DateTime.Now);
var l = new License();
l.SetLicense(“Aspose.Total.lic”);

//Initialize an instance of OcrEngine
OcrEngine ocrEngine = new OcrEngine();

//Set the Image property by loading the image from file path location or an instance of MemoryStream
ocrEngine.Image = ImageStream.FromFile(@“D:_misc\test\ocr2.png”);

//Process the image
if (ocrEngine.Process())
{
//Display the recognized text
Console.WriteLine(ocrEngine.Text);
}
Console.WriteLine(DateTime.Now);
Console.ReadKey();

The two attached images are the source and the result.

So I do something wrong or is it like this tests shows?

Hi Yves,

Thank you for your inquiry and providing sample image.

The sample image has colored background. Currently Aspose.OCR does not support image with color background. We already have logged a feature request for this requirement in our system with ID OCR-33146. We will update you with progress via this forum thread.

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.