使用 Zxing 扫描 GS1-128

发布于 2024-12-29 11:20:37 字数 410 浏览 2 评论 0原文

我想用 Zxing (Android) 扫描 GS1-128 条形码(如附图),但不能。我正在使用 IntentIntegrator 进行扫描。有人可以帮助我吗?

还有另一个适用于 Android/iOS 的条形码扫描仪框架吗?

谢谢,谨致问候

GS1-128 条形码图像:https://lh5.googleusercontent.com/-YK3JO8XNT30/TyZHBkkwMtI/AAAAAAAAKOg/pzrOTpeTILs/w778-h112-k/barcode.gif

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?

Else another barcode scanner framework for Android/iOS?

Thanks, best regards

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

落花浅忆 2025-01-05 11:20:38

我相信我在私人电子邮件中回答了这个问题,但在这里重复一遍。

您的条形码很长,因此很难扫描,但这是可能的。格式为 Code 128。您需要确保将“SCAN_FORMATS”设置为“CODE_128”以启用 Code 128 扫描(并禁用其他扫描)。

您还可以通过为“SCAN_WIDTH”提供更大的值来扩大扫描矩形。

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

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).

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文