OCR doesn't work

Hi,

I’m trying the example downloaded with aspose.OCR but it seems it doens’t work.
code:

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

ocr.Image = Aspose.OCR.ImageStream.FromFile(@“D:\test\converter\Sampleocr.bmp”);
ocr.Languages.AddLanguage(Aspose.OCR.Language.Load(“english”));

using (StreamWriter sw = new StreamWriter(@“D:\test\converter\Converted\Sampleocr.txt”))
{
using (ocr.Resource = new FileStream(@“D:\svn\tools\ManualTest\bin\Debug\Aspose.OCR.Resources.zip”, FileMode.Open))
{
try
{
// Process the whole image
if (ocr.Process())
{
// Get the complete recognized text found from the image
sw.WriteLine(ocr.Text);
}
}
catch (Exception ex)
{
Console.WriteLine("Exception: " + ex.Message);
}
}
}

result (in bold wrong character): abcdefghijklmnopmrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789
o ! ?-1 l I()

Hi Stephan,


Thank you for contacting Aspose support.

We are able to observe the problem of incorrect recognized data while using the latest version of Aspose.OCR for .NET 2.0.0. The problem has been logged into our bug tracking system under the ticket OCR-33837 for further investigation. Please spare us little time to thoroughly analyze the problem cause, and to provide the fix. In the meanwhile, we will keep you posted with updates in this regard.

We are very sorry for the inconvenience caused to you.

Does that issue got solved ? . I have the same pbm while using Aspose.OCR.

Hi Nidhin,


Thank you for contacting Aspose support.

The ticket attached to this thread has been marked resolved, and the fix will be delivered with the upcoming release of Aspose.OCR for .NET 2.1.0. The aforesaid release is currently in development phase therefore we haven’t yet scheduled it. As soon as we get more updates in this regard, we will post here for your kind reference.

In case you are having issues with other samples as well, we would request you to please create a new thread and post your samples for our review.

Okey…Thanks for quick response.

The issues you have found earlier (filed as OCR-33837) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

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