Incorrect read angle reported

I have an image where the barcode is clearly at an angle 180. Other barcode readers correctly report this, but Aspose BarcoderReader version 5.7 reports the angle as 0 even though the barcode is correctly recognized. This is a problem as I’m using the barcode angle to determine whether or not to physically rotate images.


The relevant code is as follows:

using (var reader = new BarCodeReader(bmp, type))
{
while (reader.Read())
{
result.Add(new Barcode(
(BarcodeType)reader.GetReadType(),
reader.GetAngle(),
reader.GetCodeText(),
page));
}

reader.Close();
}

Am I doing something wrong in the code or is this an issue with the library?

Thanks!

Hi


Thank you for contacting support. I managed to replicate the problem. GetAngle method is returning an incorrect value. This problem has been logged under ticket id BARCODENET-33679 in our issue tracking system. Your request has also been linked to this issue and you will be notified as soon as it is fixed. We’re sorry for your inconvenience.

Hi


We have a good news for you is BARCODENET-33679 has now been resolved and its fix will be included in the next version of Aspose.BarCode for .NET 5.8.0. Which is expected after two or three weeks. We will inform you via this forum thread as soon as the new release is published.

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


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

Excellent! Thanks for the quick turnaround. :slight_smile:

Hi


Thank you for the confirmation. It is nice to hear from you that the problem has been solved. Please feel free to ask if you have any question regarding Aspose products, we will be happy to help you.