Unable to scan Code 128 with Zxing Android

两盒软妹~` 提交于 2020-01-04 14:08:42

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!