I’m facing and issue with QR code recognition using Aspose.BarCode 5.5.0. I attached two files - working.tiff that contains two QRcodes that are properly recognized and failing.tiff that contains two QRcodes as well but Aspose BarCodeReader is able to recognize only one QRCode (the smaller one). Both TIFFs are same size, same DPI, also the QRcodes content is very similar.
This code is used for recognition (VB.NET):
rd = New Aspose.BarCodeRecognition.BarCodeReader(img, BarCodeReadType.QR)
’ img is an instance of System.Drawing.Bitmap (TIFF file)
rd.Timeout = 2500
rd.ImageBinarizationHints = RecognitionHints.ImageBinarization.MedianSmoothing Or
RecognitionHints.ImageBinarization.Grayscale() ’ also does not work if these hints are removed
rd.Read() ’ returns false
Also I tried to generate a code (by http://qrcode.kaywa.com/) with same content as the failing one and it failed in BarCodeReader too.
Could you have a look and confirm it’s a bug in BarCodeReader? Possibly can I somehow improve my code to avoid this?