Zxing: unable to scan small UPC codes

I am currently trying to use zxing to develop an Android Card-enabled MultiFormat Barcode to get started with downlined zxing 1.7 and the built-in.

It works great with EAN format codes and QR codes, but it cannot scan a barcode when it comes to real-world verification of products with small UPC barcodes.

Is this a problem with the device?

Am Testing it on my Samsung GT-S5570, Android version 2.2.1, with a 3.1 MP auto focus camera.

Please consult.

Thanks Sam

0
source share
1 answer

If you can scan EAN barcodes, but not small UPC barcodes, perhaps because the camera cannot get enough details to distinguish the barcode from the background. Here are a few things you could try:

  • Keep the camera closer or further away from the barcode. Too close, and the auto focus mechanism is unable to compensate. Too far, and the barcode gets too small to detect.
  • Use more light. ZXing may activate flash on some phones, but not all. If the lightning conditions are too poor, the contrast between the background and the barcode becomes too small.
  • Try using a different phone with a different / better camera.
+1
source

All Articles