扫描GS1-128与Zxing [英] Scan GS1-128 with Zxing

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

问题描述

我要扫描GS1-128吧code(如图片附后)与Zxing(Android版),但我不能。我使用的扫描由IntentIntegrator。谁能帮助我?

I want to scan GS1-128 barcode (like picture attached) with Zxing (Android), but I can't. I'm using scanning by IntentIntegrator. Could anyone help me?

否则另一间酒吧code扫描仪为Android / iOS的框架?

Else another barcode scanner framework for Android/iOS?

谢谢,最诚挚的问候

GS1-128酒吧code图像:<一href=\"https://lh5.googleusercontent.com/-YK3JO8XNT30/TyZHBkkwMtI/AAAAAAAAKOg/pzrOTpeTILs/w778-h112-k/bar$c$c.gif\" rel=\"nofollow\">https://lh5.googleusercontent.com/-YK3JO8XNT30/TyZHBkkwMtI/AAAAAAAAKOg/pzrOTpeTILs/w778-h112-k/bar$c$c.gif

GS1-128 barcode image: https://lh5.googleusercontent.com/-YK3JO8XNT30/TyZHBkkwMtI/AAAAAAAAKOg/pzrOTpeTILs/w778-h112-k/barcode.gif

推荐答案

我相信我在一个私人的电子邮件回答了这一点,但在此重复。

I believe I answered this in a private e-mail, but repeating here.

您吧code是很长,所以难以扫描,但它是可能的。格式为code 128,您需要确保您设置SCAN_FORMATS到code_128,使code 128扫描(并禁用其他)。

Your barcode is quite long, so difficult to scan, but it is possible. The format is Code 128. You need to make sure you set "SCAN_FORMATS" to "CODE_128" to enable Code 128 scanning (and disable others).

您还可能有更好的运气由SCAN_WIDTH提供一个较大的值扩大扫描矩形。

You may also have better luck widening the scanning rectangle by supplying a larger value for "SCAN_WIDTH".

这篇关于扫描GS1-128与Zxing的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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