.Net Code128 barcode recognition issue

Hi.

We found some issue in aspose.barcode .Net.
We tried to update aspose.barcode to the latest version. But our regression tests detect problem with recognition Code128 barcodes.
We determined latest version in wich recognition works fine - 7.11.0. In 7.12.0 product does not work properly.
In attachments sample project and graphic files to reproduce issue.BarcodeRecognitionSample.zip (1.0 MB)

May be we did something wrong and you can help us to resolve this problem.

Many thanks and have a nice day.

@directum,

Thanks for the sample project and image files.

I did test your scenario/ case using your sample project (after updating/adjusting a few lines a bit) and image files with newer Aspose.BarCode for .NET v19.4 (please try Aspose.BarCode for .NET v19.4/v19.5), it works fine. See the attached screenshot for output console results for your reference:

Let us know if you see any issue with v19.4/v19.5.

Moreover, we cannot evaluate any issue using older versions. Neither we can include fixes in older versions as the fixes (against issues) are only based on latest APIs set. So, you got to upgrade to latest version and try your scenario/ case. In case, you still find any issue with latest version, let us know with details and we will try to figure it out soon.

We used 19.5 with the same unsuccess results before. After that we found the latest version what works. Please double check it.

Look at the results.
The version 7.11 returns right recognized barcodes. It has to be
Recognized barcodes in Barcode_code128.bmp
DIRECTUM XXX-0987654321

Recognized barcodes in Barcode_code128.gif
DIRECTUM XXX-0987654321

Recognized barcodes in Barcode_code128.jpeg
DIRECTUM XXX-0987654321

Recognized barcodes in Barcode_code128.jpg
DIRECTUM XXX-0987654321

Recognized barcodes in Barcode_code128.png
DIRECTUM XXX-0987654321

Recognized barcodes in Barcode_code128.tif
DIRECTUM XXX-0987654321

Recognized barcodes in Barcode_code128.tiff
DIRECTUM XXX-0987654321

@directum,

Thanks for providing us more details with correct results.

We noticed the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

BARCODENET-37217 - Problem with recognition Code128 barcodes in newer version of Aspose.BarCode for .NET.

Ok. I got it. Thank you.

@directum,

We evaluated your issue further. We found that problem is with low-resolution barcode images with blurring.
We also found that decreasing SigleTolerance in Code128Pattern and using modified Sharp 1d restoration allows finding correct version for the one of the images. We will continue with our investigations and try to figure your issue.

Once we have any new information, we will share it with you.

@directum,

We are pleased to inform you that your issue (logged earlier as “BARCODENET-37217”) has bee resolved. We will soon share the Download link to the fixed version/latest release for your requirement.

The issues you have found earlier (BARCODENET-37217) have been fixed in Aspose.BarCode for .NET 19.6.