我应该使用什么库来从二维码照片中获取数据?
我尝试了 libqrencode 但显然它只能生成二维码。但是,我需要一个从打印的二维码照片中读取数据的库。
它必须是 C、C++ 或 Objective-C 库,并且必须在 BSD 系统上编译。在我的平台上,Java 和 .NET 不可用。
我可以使用哪些库?
谢谢。
I tried libqrencode but apparently it's only able to generate a QR-Code. However, I need a library that reads the data from a photo of a printed QR-Code.
It must be a C, C++ or Objective-C library and it has to compile on BSD systems. On my platform, Java and .NET are not available.
What libraries can I use?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试使用 libdecodeqr ,它似乎已经一年多没有更新了,但 Google 搜索显示它仍然有效。
Try using libdecodeqr , it doesn't seem to be updated for over a year but a Google search reveals that it still works.
zxing (http://code.google.com/p/zxing/) 可能是最知名的,并在许多条形码/qr 代码应用程序中使用。原始/主要代码是 Java,但它包含一个得到积极维护的 C++ 端口,特别是对于 QR 码。
C++ 库(当前)没有编码器,但听起来您需要一个解码器。
zxing (http://code.google.com/p/zxing/) is probably the most well-known and used in a number of barcode/qr-code apps. The original/primary code is Java but it includes a C++ port that is pretty actively maintained, particularly for QR codes.
The C++ library does not (currently) have an encoder, but it sounds like you want a decoder.