Android 上的 ZXing PDF417
是否有人能够使用 ZXing Android 操作系统上的库?他们支持这一点 - 根据他们的页面,它处于“alpha”阶段。
我们并不是在寻找完美的解决方案 - 由于 PDF417 非常复杂并且需要具有自动对焦功能的非常好的相机,因此我们可以接受它只能在少数预先选择的高端设备上工作。
我们还尝试了 Android Market 上提供的 条码扫描仪 + - 它在设置中具有 PDF417 选项,但是无论我们读什么,它总是失败。
我们也在 stackoverflow 上寻找商业 SDK,但没有成功。
任何帮助表示赞赏。
亲切的问候, 斯坦恩
Was anybody able to read the PDF417 barcode with use of the ZXing library on the Android OS? They are supporting this - and according to their page it is in 'alpha' stage.
We are not looking for perfect solution - since the PDF417 is pretty complex and needs a very good camera with auto-focus, we can accept that it will be working only on few pre-selected high end devices.
We have tried also the Barcode Scanner + available on the Android Market - it has the PDF417 option in the settings, but whatever we read it always fails.
We were looking also for commercial SDK, also here on stackoverflow, but with no luck.
Any help is appreciated.
Kind Regards,
STeN
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
这实际上取决于您的期望。简单的 PDF417 可以立即读取,例如... 这个 或 这个。
此内容永远不会被扫描。
边界是小型或中等复杂的内容:示例 1 和示例 2。
我可以阅读第一个,但不能阅读第二个,即使第一个更密集 - 大小有帮助。
It really depends on what you expect. Simple PDF417 reads pretty instantly, like... this or this.
This will never be scanned.
Borderline is stuff that is small or moderately complex: example 1 and example 2.
I can read the first but not the second, even though the first is denser -- size helps.
您可以尝试PDF417.mobi SDK。如果配备自动对焦摄像头,它应该适用于低端手机。它是一个商业库,但对开发人员和非商业目的免费。
您可以在此处尝试演示,或直接使用< a href="https://github.com/PDF417/android" rel="nofollow">GitHub。
官方网站在这里 http://pdf417.mobi/
免责声明:我是 PDF417 团队的一员。手机
You can try PDF417.mobi SDK. It should work on low-end phones if equipped with auto-focus camera. It's a commercial library, but free for developers and non-commercial purposes.
You can try the demo here or play with code directly from GitHub.
Official web site is here http://pdf417.mobi/
Disclaimer: I'm part of the team working on PDF417.mobi
已经使用过,可以扫描PDF417格式。请务必尝试使用包含自动对焦相机的小工具。已经在三星 Galaxy Tab 上尝试过了,效果非常好。
Have used , It can scan PDF417 format. Make sure you give a try with a Gadget containing Auto Focus camera. Have tried It on Samsung Galaxy Tab it works like a charm.
Zxing的解决方案对我不起作用。我在我的三星充电器上使用了 DataSymbol Decoder(打开二维码,默认情况下它们是关闭的)。不到一秒钟,我就拿到了驾照……
Zxing's solution did not work for me. I used DataSymbol Decoder (turn on 2d codes, by default they are off) on my samsung charge. In less than a second I captured my drivers license...
我得到了与 @sean-owen 描述的类似的结果,因为只读取了简单的 PDF417。感觉 ZXing 库没有对 PDF417 提供与 QR 码相同的纠错功能。然而,在用户的帮助下,我们能够消除噪音并创建一个人工安静区域,方法是:
通过遵循上述内容,甚至一些可以扫描众所周知的困难 PDF417 图像。
I got similar results as described by @sean-owen in that only the simple PDF417 were being read. It feels like the ZXing library doesn't have the same error correction for PDF417 that it does for QR Codes. However, with user assistance we were able to eliminate noise and create an artificial quiet zone by:
By following the above, even some of the notoriously difficult PDF417 images can be scanned.
Google 的 ML KIT 条形码扫描,是 Google 移动设备的一部分Vision 库列出了对 PDF-417 条形码的支持。
它自动解析以下支持格式的 QR 码、Data Matrix、PDF-417 和 Aztec 值:
查看入门页面或克隆GIT 项目开始使用。
Google's ML KIT Barcode Scanning which is part of google's Mobile Vision library lists support for PDF-417 Barcodes.
It automatically parses QR Codes, Data Matrix, PDF-417, and Aztec values, for the following supported formats:
Review the Getting Started Page or clone GIT project to get started.