且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在HTML5网站上创建QR码阅读器?

更新时间:2023-11-21 14:02:58

JavaScript解码器不多。

There aren't many JavaScript decoders.

最简单的方法是在您的服务器上运行 ZXing 或类似软件。然后,您可以POST图像并在响应中返回解码结果。

The easiest way is to run ZXing or similar on your server. You can then POST the image and get the decoded result back in the response.