使用 zxing 检测图像中的 QR 码
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
简短的回答是肯定的。
我不会说“无需确定”该位置是完全准确的,但代码位置不需要提供给库。 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.