In a Nutshell: What Are QR Codes?

General Discussions
Post Reply
User avatar
Nipuna
Moderator
Moderator
Posts: 2729
Joined: Mon Jan 04, 2010 8:02 pm
Location: Deraniyagala,SRI LANKA

In a Nutshell: What Are QR Codes?

Post by Nipuna » Mon Oct 10, 2011 5:52 pm

qr.jpg
qr.jpg (23.56 KiB) Viewed 4307 times
What is a QR Code?

At its most basic, a QR Code is a barcode on steroids. They're used for encoding information in two-dimensional space -- like in the pages of magazines, in advertisements and even on TV and Web sites. They were originally used to track auto parts, but have become popular (especially in Japan) for much broader, often commercial purposes.


How is it different than a barcode?

Whereas a barcode encodes data in only the horizontal plane (as scanners read the width and distance between the vertical lines), QR codes encode data both horizontally and vertically in a grid of tiny squares. This allows for much more data to be encoded in a smaller space. Barcodes, then, though ubiquitous, are good for little more than identifying products and objects. Specially programmed scanners can read barcodes, and match them to product names, prices and inventory, but that's about it. QR codes, on the other hand, can actually embed that information in the code itself, and, when read with the proper software, can trigger actions like launching a website or downloading a file. Additionally, QR codes can be read from any angle, while barcodes must be aligned properly.


So what exactly can I do with QR codes?

QR codes are tailor-made for quickly and easily linking to content on smartphones. Simple uses include magazine advertisements that link to websites. Putting the codes to more complex use, start-up Pingtag uses them as a sort of digital business card for sharing LinkedIn accounts and contact info. Android uses QR codes to link directly to apps in the Android Marketplace, and the municipality of Bordeaux, France has posted them all over the city in order to track parking meters, provide links to information from the World Heritage Foundation and guide visitors to nearby shops or parking locations via Google Maps. In turn, Google has been using QR codes to promote local businesses (and itself) with the Google Places business directory, which includes reviews, contact info, and, if the business so wishes, coupons.


How can I use them?

There are a number of apps in the iPhone App Store that can read QR Codes, including the free QRReader. Most Android phones and BlackBerries are able to read the codes right out of the box, as can newer Nokia handsets. Windows Mobile users can download QuickMarks. All you need to do is launch the appropriate app, and point your phone's camera at the QR code you want to scan.

QR codes are only bound to become more common in the coming months and years. We're increasingly reliant on our mobile devices, and typing out URLs or other data on their tiny keyboards is still not very efficient. These squares of elaborately arranged boxes are a shortcut around that problem, can easily be integrated with various services, and incorporate geo-location data. Advertisers may not have figured it out just yet, but QR codes are their best friends
User avatar
Saman
Lieutenant Colonel
Lieutenant Colonel
Posts: 828
Joined: Fri Jul 31, 2009 10:32 pm
Location: Mount Lavinia

Re: In a Nutshell: What Are QR Codes?

Post by Saman » Tue Oct 11, 2011 9:54 am

Some more information....

QR Code is a kind of 2-D (two-dimensional) symbology developed by Denso Wave (a division of Denso Corporation at the time) and released in 1994 with the primary aim of being a symbol that is easily interpreted by scanner equipment.

QR Code is capable of handling all types of data, such as numeric and alphabetic characters, Kanji, Kana, Hiragana, symbols, binary, and control codes.

The symbol versions of QR Code range from Version 1 to Version 40. Each version has a different module configuration or number of modules (the module refers to the black and white dots that make up QR Code). "Module configuration" refers to the number of modules contained in a symbol, commencing with Version 1 (21 x 21 modules) up to Version 40 (177 x 177 modules). Each higher version number comprises 4 additional modules per side. Each QR Code symbol version has the maximum data capacity according to the amount of data, character type and error correction level. In other words, as the amount of data increases, more modules are required to comprise QR Code, resulting in larger QR Code symbols.

QR Code has error correction capability to restore data if the code is dirty or damaged. Four error correction levels are available for users to choose according to the operating environment. Raising this level improves error correction capability but also increases the amount of data QR Code size. To select error correction level, various factors such as the operating environment and QR Code size need to be considered. Level Q or H may be selected for factory environment where QR Code gets dirty, whereas Level L may be selected for clean environment with the large amount of data. Typically, Level M (15%) is most frequently selected. The QR Code error correction feature is implemented by adding a Reed-Solomon Code to the original data.

QR Code implementation in Barcode Professional supports FNC1 and Extended Channel Interpretation (ECI).

Sample of a QR Code barcode
1.gif
1.gif (1.2 KiB) Viewed 4284 times
How QR Code tilde processing works
When working with QR Code tilde processing keep in mind the following rules:
  • ~1: is used to represent the FNC1 code
  • ~7NNNNNN: is used to specify the Extended Channel Interpretation (ECI) and NNNNNN is a value between 000000 and 999999. Default is ECI 000003 which represents the ISO 8859-1 Latin Alphabet No. 1
  • ~dNNN: is used to represent a byte value in decimal notation. NNN must be a numeric value ranging from 000 to 255
  • ~hXX: is used to represent a byte value in hexadecimal notation. XX must be a hexadecimal value ranging from 00 to FF
  • ~kXXXX: is used to represent a Kanji double-byte value in hexadecimal notation. XXXX must be a hexadecimal value of Shift JIS Kanji characters according to JIS X 0208:1997, Annex 1
Example of QR Code barcode images
Code 'ABC 123456789' will produce the following barcode image:
2.gif
2.gif (924 Bytes) Viewed 4284 times
Source codes for .Net :
Open Source QRCode Library from CodeProject
QrCode from GoogleCode

C++:
libqrencode

Decode:
libdecodeqr
iphone-qrcode
ZXing ("Zebra Crossing")
User avatar
Nipuna
Moderator
Moderator
Posts: 2729
Joined: Mon Jan 04, 2010 8:02 pm
Location: Deraniyagala,SRI LANKA

Re: In a Nutshell: What Are QR Codes?

Post by Nipuna » Tue Oct 11, 2011 12:18 pm

Thanks for adding more info :)
Post Reply

Return to “General Discussions”