Free Support Forum - aspose.com

Java Barcode Reader does not return right and correct value

Hi

I use temporary license of ASPOSE java barcode reader product.

But unable to read barcode type “Standard/Industrial 2 of 5”.

If I have to crop barcode section of image and give it to ASPOSE program?

Does ASPOSE barcode reader product able to detect barcode section in big and colorful image surface?

I attach two type of image document that contain barcode.

But SPOSE barcode reader returns “NULL” for it.

Thank a lot for any direction.

Best regards.

S. Noroozi

Hi Saied,


Thank you for your inquiry. First off, please try to use the latest version of Aspose.BarCode for Java 5.3.0 because each new release contains many improvements, bug fixes and new features. So, we suggest you always use the latest versions of Aspose products. You can download it from here:
http://www.aspose.com/community/files/72/java-components/aspose.barcode-for-java/default.aspx

I tested your sample images against the latest version of Aspose.BarCode for Java component. I would like to update you that I am able to recognize these barcode images. Please follow up the source code below:

BarCodeReader reader = new
BarCodeReader(“C:\temp\2.png”,
BarCodeReadType.Interleaved2of5);<o:p></o:p>

while(reader.read())

{

System.out.println(reader.getReadType()+"-"+ reader.getCodeText());

}

reader.close();

Result: 131072-27363367091500000253800104


I hope this will help you.