iPhone 上的 QR 码阅读器
我想读取(解码)生成的二维码。 我在 github 中找到了用于编码 QRCODE 的链接。但是没有获得链接或任何可以解码生成的 qrcode 的内容。我已经浏览了 zbar 和 Zxing。但它无法正常工作。 而且这个不是免费的licence.我想要一些免费许可的东西,并且可以正确地编码和解码代码。 任何人都可以帮帮我吗?
I want to read(Decode) the generated QRcode.
I had found the link for encoding the QRCODE in github.But didnt get the link or anything from where i can decode the generated qrcode.I had gone through zbar and Zxing.But it is not working properly.
And this is not free licence.i want something which is free licensed and can encode and decode the code properly.
Can any one please help me out.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以在此处在线浏览 zxing 代码并签出它,也可以在此处下载:
http:// code.google.com/p/zxing/source/checkout
您还可以尝试这个由我在thoughtworks的同事发起的项目:
http://www.codeproject.com/KB/cs/qrcode.aspx
由于这些是 java 和 .net 中的,所以我不确定它们是否对您有用,因为您在你的头衔。 ZXing 除了主要的 java 代码库之外还有一个相当好的 C# 端口,它对我来说很有效,只需对代码进行一些修改以适合我的机器。
Zxing 也可以在 iPhone 上运行,因为他们有一个围绕其库的应用程序,称为“条形码”。它非常快,开源,是您最好的选择。
另外 onbarcode 也是一个不错的选择,我知道有一些人使用过成功了。文档存在,尽管有点差。
You can browse the zxing code online here and checkout it and also download it here :
http://code.google.com/p/zxing/source/checkout
You can also try out this project started by one of my colleague in thoughtworks :
http://www.codeproject.com/KB/cs/qrcode.aspx
Since these are in java and .net Im not sure if they will be useful to you because you mentioned iPhone in your title. ZXing in addition to the main java codebase has a pretty good C# port, and it works for me with a little bit of tinkering around with the code to suit my machine.
Zxing also works on iPhone because they have an app around their library called "barcodes" It is very fast, open source and it is your best bet.
Also onbarcode is also a good option and I know a few people who used it with success. Documentation exists albiet a bit poor.
尝试 ZBar 并阅读 docs,非常容易使用,您可以从图像扫描,或 从相机源扫描。您还可以使用免费的在线生成器来测试您的应用程序。
编辑:
对于编码,如果您想要一个二维码 iamge,您可以像这样调用 Google Chart Api包含链接 www.google.com (因此只需将链接替换为您的数据,大小为 300x300):
Try ZBar and read the docs, it's very easy to use, you can scan from image, or scan from camera feed. Also you can use free generator online to test your apps.
EDIT:
For encode you could call the Google Chart Api like this if you want for example a qr code iamge that contains the link www.google.com (so just replace the link with your data, 300x300 is the size):