问题
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.
.
回答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.
来源:https://stackoverflow.com/questions/15066283/unable-to-scan-code-128-with-zxing-android