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,
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.BarCodeReaderAspose.BarCode.OrientationAspose.BarCode.BarCodeReadTypeAspose.BarCode.BarCodeInfoThanksSachin
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,
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