-->

Unable to scan Code 128

2019-07-18 03:50发布

问题:

I have integrated the ZXing barcode reader in my android application.

It scans most of the codes, but I have a electricity bill which it is unable to scan (using a Galaxy Ace 5.0MP). I think the problem is due to camera resolution and focus, because when I tried the same barcode on using Xperia SL (12.1MP) I got the result. So is there any solution to this problem?

I have attached a sample image of the barcode.

valid XHTML http://s8.postimage.org/hohyonvzp/BSESExample.png.

回答1:

This scans instantly by the library itself:

http://zxing.org/w/decode?u=http%3A%2F%2Fs8.postimage.org%2Fhohyonvzp%2FBSESExample.png

It may be down to your camera, yes. I don't think you are doing anything wrong.