Sometimes I’ve found myself having to decode a QR code on my computer, and usually I’d just get my Android smartphone, use a QR code app to decode it, and send the results to my computer by email. It works, but wouldn’t it be better to simply do this straight from my computer instead? After a few minutes searching, I eventually found out QtQR graphical utility that can both generate and decode QR codes.
sudo apt-get install qtqr
You can create a QR code with a given pixel size and level of error correction for text, URL, bookmark, email, phone number, SMS/MMS, WiFi network, and so on, and then use the Save QRCode button to save the resulting picture.
If instead you simply want to decode a QR code from an image or your webcam use the Decode button, and the tool will automatically extra the data, and offer you to take action, such as opening an URL address.
If you’d rather use the command line,you could install zbar-tools instead:
sudo apt-get install zbar-tools
scanned 1 barcode symbols from 1 images in 0.25 seconds
The image above was a complete Antutu 6.0 results screenshot, so you don’t need to save/edit the picture with the QR code only, and the app will scan the complete picture. If instead you want to scan a QR code with your webcam use zbarcam.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.