Free Support Forum - aspose.com

Unable to recognize image

Hi,


I’m just getting used to Aspose Bar Code. I’ve created the following code and used it to read a tiff file. It isn’t working. I’ve attached the tiff in question.

Aspose.BarCodeRecognition.License lic = new Aspose.BarCodeRecognition.License();
lic.SetLicense(“Aspose.BarCode.lic”);

Image img = System.Drawing.Image.FromFile(“test.tif”);
Bitmap m = new Bitmap(img);
int totalFrame=img.GetFrameCount(FrameDimension.Page);

for (int i = 0; i < totalFrame; i++)
{
var w=img.SelectActiveFrame(FrameDimension.Page, i);
Bitmap q = new Bitmap(img);
BarCodeReader reader = new BarCodeReader(q);

while (reader.Read())
{
Console.WriteLine(reader.GetCodeText());


}

}

Hi,


Thank you for reporting this problem.

I have worked with your sample and I have observed that the results produced with Aspose.BarCode for .NET v4.9.0 are incorrect. I have logged a ticket (BARCODENET-33297) in our bug tracking system to investigate this issue in more detail. The ticket has been attached to this thread for tracking purposes and we will keep you posted with updates in this regard.

We are sorry for your inconvenience.
Regards,

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(1)