Not able to read QR barcode

I am facing issue while reading the QR barcode with following code.

using (Aspose.BarCodeRecognition.BarCodeReader bcr = new Aspose.BarCodeRecognition.BarCodeReader(filename, BarCodeReadType.QR))
{
while (bcr.Read() == true)
{
//some code
}
}

The same images are getting recognized with below code.
using (Aspose.BarCode.BarCodeReader bcr = new Aspose.BarCode.BarCodeReader((Bitmap)img))
{
bcr.BarCodeReadType = (Aspose.BarCode.BarCodeReadType)((long)symbologies);
bcr.Orientation = (Aspose.BarCode.Orientations)((int)orientations);
bcr.ScanStep = scanStep;

Aspose.BarCode.BarCodeInfo[] bars = bcr.Read();
}

I am using the first code to implement the TimeOut, which is not available with the second code. But first code is not able to read the images having QR barcode.
I am attaching 5 images, none of them are getting recognized.

Referring to the other posts on this site, I also used latest build 5.8.0.0. That is also not working.

Thanks
Sachin.

Hi Thomas,


Thank you for contacting support. I tested you sample bar code images against the latest build of Aspose.BarCode 5.8.0.0. I’m sorry to share with you that I could not recognize these QR codes. I have logged this problem under ticket id BARCODENET-33702 in our issue tracking system. Your request has also been linked to this forum thread and you will be notified as soon as it is fixed. We’re sorry for your inconvenience.

Imran,

One more thing I would like to mention. When I changed the reference of my project to latest 5.8.0.0 DLL, the component listed below are no longer available.

Aspose.BarCode.BarCodeReader
Aspose.BarCode.Orientation
Aspose.BarCode.BarCodeReadType
Aspose.BarCode.BarCodeInfo
 
Thanks
Sachin

Hi Sachin,

Thank you for these details. I would like to update you that there are two separate libraries one for barcode generation and another for the barcode recognition part. These classes/enums are part of recognition part. Its library name is Aspose.BarCodeRecognition.dll. BarCodeInfo class has been obsoleted. Please find the correct namespaces below:

Aspose.BarCodeRecognition.BarCodeReader

Aspose.BarCodeRecognition.RecognitionHints.Orientation

Aspose.BarCodeRecognition.BarCodeReadType

Please do let me know in case of any confusion or questions.

Hi Sachin,


We have a good news for you is BARCODENET-33702 has now been resolved and its fix will be included in the next version of Aspose.BarCode for .NET 5.9.0. It is expected at the end of this month. 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-33702) 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 update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan