Code128 barcode detected when not present

Scanning the attached image at both High and Normal quality returns a barcode+garbagevalue not present in the image.

{CodeType = Code128, CodeText = “!>@”, Confidence = Moderate, ReadingQuality = 84.69631958007812}

barcode_and_background_rasterized_alt.png.trimmed.png (306.2 KB)

I’m not sure what it’s seeing in this image. Thoughts?

@sferda,

Thanks for the barcode image.

Although your barcode image quality is poor. Anyways, I have tested your scenario/case and I was able to reproduce the issue in HighQuality setting/mode by using the following sample code with your barcode image.

var bmp1 = "e:\\test2\\barcode_and_background_rasterized_alt.png.trimmed.png";
using (Aspose.BarCode.BarCodeRecognition.BarCodeReader reader1 = new Aspose.BarCode.BarCodeRecognition.BarCodeReader(bmp1, Aspose.BarCode.BarCodeRecognition.DecodeType.AllSupportedTypes))
{
    reader1.QualitySettings = Aspose.BarCode.BarCodeRecognition.QualitySettings.HighQuality;

    Console.WriteLine(reader1.ReadBarCodes().Length);

    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);
    }
}

output:

Symbology Type: ITF14
CodeText: 08700216682558
Symbology Type: Interleaved2of5
CodeText: 21213646
Symbology Type: Code128
CodeText: !>@
Symbology Type: ITF14
CodeText: 08700216682558
Symbology Type: Interleaved2of5
CodeText: 21213646

We require thorough evaluation of the issue. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): BARCODENET-39093

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Hello, I wanted to check if the issue created from this request had been fixed or otherwise addressed.

@sferda,

We apologize, but your issue has not been resolved yet. We will provide you with an update as soon as we have one. We will also check if we can provide you with an estimated time of resolution.

At this time we are working on huge 1D recognition improvements. First stage will be released in 24.11 (November) or 24.12 (December). However, I think, it will be realized in 24.11.

Thank you for the update

@sferda,

You are welcome. We will inform you of any updates once they become available regarding your issue.

@sferda,

We are pleased to inform you that your issue (Ticket ID: “BARCODENET-39093”) has been resolved now. The fix/enhancement will be incorporated in the forthcoming release (Aspose.BarCode v24.12), scheduled for the second half of December 2024. Please stay tuned!