Cannot read rotated DataMatrix 2D barcode

394_rotated_not_recognized.gif (1.2 KB)
394_rotated_increased_margin_ok.gif (1.3 KB)
394_not_rotated_ok.gif (1.2 KB)

Hi!

Our software uses Aspose BarCode for .NET 4.0 version 19.4. One of our customers sent us a batch of barcodes. Some of them are unreadable, even though they can easily be read by any mobile phone barcode reader application. By widening the margin or rotating them 180 degrees, they are all recognizable.

We have checked those images with online barcode reader as well with the new 22.8 version. One of them is included as an example.

We would like to update and renew your license if the issue is resolved.

Regards.

Marek Długosz

@MDlugosz,

Thanks for the sample barcode images.

Please notice, I am able to reproduce the issue as you mentioned by using the following sample code with your sample GIF image. I found Aspose.BarCode for .NET does not read rotated DataMatrix 2D barcode as you pointed out:
e.g.
Sample code:

var bmp1 = new Bitmap("e:\\test2\\394_rotated_not_recognized.gif");
using (Aspose.BarCode.BarCodeRecognition.BarCodeReader reader1 = new Aspose.BarCode.BarCodeRecognition.BarCodeReader(bmp1, Aspose.BarCode.BarCodeRecognition.DecodeType.DataMatrix))
{
                reader1.QualitySettings = Aspose.BarCode.BarCodeRecognition.QualitySettings.MaxBarCodes;
                Console.WriteLine(reader1.ReadBarCodes().Length);//0

                foreach (Aspose.BarCode.BarCodeRecognition.BarCodeResult result1 in reader1.ReadBarCodes())
                {
                    // Read symbology type and code text
                    Console.WriteLine("Symbology Type: " + result1.CodeType);
                    Console.WriteLine("CodeText: " + result1.CodeText);
                }
}

I have logged a ticket with an id “BARCODENET-38457” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.

@MDlugosz,

We are pleased to inform you that your issue has been resolved. The fix related to the bug will be added into one of our upcoming release(s) of Aspose.BarCode for .NET. Your will be informed once the supported version is published.

Thank You Amjad. We hope this will be soon.

Marek

@MDlugosz,

You are welcome.

Hi Amjad!

Please provide an estimated release time for this new updated version. We must give some estimates to our client. How often do you release updates?

Marek Długosz

@MDlugosz,

Generally, we publish releases once in a month. We will give you exact version and estimated timeframe when the supported Aspose.BarCode version (which includes your fix) will be published.

@MDlugosz,

We have good news for you. The fix will be included in our December release which is scheduled before the end of December 2022.