Zxing:无法扫描UPC小codeS [英] Zxing : Unable to Scan Small UPC codes

查看:276
本文介绍了Zxing:无法扫描UPC小codeS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在尝试zxing开发一种多吧code阅读支持Android平台,上手也downladed zxing 1.7和建造。

Am currently trying out zxing to develop a MultiFormat Barcode reading supporting android platform, To get Started have downladed zxing 1.7 and builded.

它正常工作与EAN格式codeS和QR codeS,但它无法扫描一个酒吧code,当涉及到产品的实际扫描有小UPC条码codeS。

It works fine with EAN format codes and QR Codes, But It fails to scan a Barcode when it comes to real scanning of products which has small UPC barcodes.

这是与设备出了问题?

正在测试它在我的三星GT-S5570的Andr​​oid 2.2.1版本,支持自动聚焦摄像功能310万像素。

Am Testing it on my Samsung GT-S5570, Android Version 2.2.1, With Autofocus enabled Camera 3.1 MP.

请咨询。

谢谢
山姆

推荐答案

如果您可以扫描EAN条形码codeS,可是不小UPC条码codeS,很可能是因为相机不能得到足够的细节区分从背景酒吧code。这里有一些事情你可以尝试:

If you can scan EAN barcodes, but not small UPC barcodes, it is probably because the camera can't get enough detail to distinguish the barcode from the background. Here are some things you could try:


  • 握持相机接近或远离,酒吧code。太近了,和自动对焦机制是无法补偿。距离太远,酒吧code变得太小进行检测。

  • 使用更多的光。 ZXing可以激活在某些手机上的手电筒,但不是全部。如果闪电条件太差,背景和酒吧code之间的反差变得太小。

  • 尝试用不同的手机,不同的/更好的摄像头。

这篇关于Zxing:无法扫描UPC小codeS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆