Looking for free/opensource code or description of algorithms to code (simple) and decode (hard) the 2D barcode QR code.
It doesn't seem like a trivial problem, but it's so popular in Japan that there must be something already available...
Looking for free/opensource code or description of algorithms to code (simple) and decode (hard) the 2D barcode QR code.
It doesn't seem like a trivial problem, but it's so popular in Japan that there must be something already available...
http://www.swetake.com/qr/qr1_en.html
Just thought I'd mention this one which is explaining HOW they work.
You can find c# example here http://twit88.com/home/opensource/qrcode for free (only need to register)
QR Code Demystified - Part 1
QR Code Demystified - Part 2
QR Code Demystified - Part 3
QR Code Demystified - Part 4
QR Code Demystified - Part 5
QR Code Demystified - Part 6
and
http://www.thonky.com/qr-code-tutorial/introduction/
To know the Mathematics theory behind it there is a discussion in Math Stackexchange
https://math.stackexchange.com/questions/76045/reed-solomon-polynomial-generator
You can use zbar directly to decode the qrcode.
You can try python-qrtools: https://launchpad.net/qr-tools It uses qrencode for generating and zbar for decoding (from webcam or a file ;-)
(In response to those asking about QR codes in PHP)
The Google Charts QR chart type might work for you, if you don't expect a lot of traffic, or if you can cache the images. It's extremely easy to use- just put the text to encode in the URL.