使用 zxing 检测图像中的 QR 码

发布于 2024-09-27 06:00:27 字数 44 浏览 2 评论 0原文

zxing库是否会直接从图像中检测QR码,而无需确定QR码在图像中的位置?

Is zxing library will directly detect the QR code from an image without having to determine where the location of the QR code in the image?

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

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

发布评论

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

评论(1

熟人话多 2024-10-04 06:00:27

简短的回答是肯定的。

我不会说“无需确定”该位置是完全准确的,但代码位置不需要提供给库。 qrcode 检测器具有各种查找器算法来检测图像中的查找器和对齐模式。当然,也有不成功的情况。

The short answer is yes.

I wouldn't say "without having to determine" the location is entirely accurate, but the code location doesn't need to be provided to the library. The qrcode detector has various finder algorithms to detect the finder and alignment patterns in images. There are cases, of course, where it doesn't succeed.

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