我应该使用什么库来从二维码照片中获取数据?

发布于 2024-10-09 07:24:33 字数 419 浏览 0 评论 0原文

类似:有谁知道 C/C++ Unix QR 码库?

我尝试了 libqrencode 但显然它只能生成二维码。但是,我需要一个从打印的二维码照片中读取数据的库。

它必须是 C、C++ 或 Objective-C 库,并且必须在 BSD 系统上编译。在我的平台上,Java 和 .NET 不可用。

我可以使用哪些库?

谢谢。

Similar: Does anyone know of a C/C++ Unix QR-Code library?

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 技术交流群。

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

发布评论

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

评论(2

强辩 2024-10-16 07:24:33

尝试使用 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.

一腔孤↑勇 2024-10-16 07:24:33

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.

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