Barcode scan returning multiple Pharmacode results when none are present

When scanning this image barcode_rasterized_alt.png.trimmed.png (286.0 KB), the results include 12 “Pharmacode” results when none are present in the image. None of the expected barcode results are returned.

@sferda,

Thank you for sharing the barcode image.

I tested your scenario using the barcode image with the latest version of Aspose.BarCode (25.9), but unfortunately, it did not detect any barcode. Could you kindly let me know which version of the Aspose.BarCode API you are using? Additionally, please share your sample (runnable) code that you are using? We will look into your issue soon.

We are using 24.3.0. The ITF14 codes are not found and these phantom Pharmacodes are returned instead.

When we use the latest version of the library, nothing at all is returned.

AsposeMVP.zip (5.0 KB)

@sferda,

Thanks for providing further details and sample app.

I already tested your scenario/case using your barcode image with the latest version of Aspose.BarCode (25.9), but it did not detect any barcode from the image. I also tried some other online barcode scanners which detect 4 barcodes from the image.

var image = "g:\\test2\\barcode_rasterized_alt.png.trimmed.png";
using (Aspose.BarCode.BarCodeRecognition.BarCodeReader reader1 = new Aspose.BarCode.BarCodeRecognition.BarCodeReader(image, Aspose.BarCode.BarCodeRecognition.DecodeType.AllSupportedTypes))
{
    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);
    }
}

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-39444

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.