Tag: qr codes

  • How QR Codes Store Information

    QR codes are everywhere, from restaurant menus and parking machines to concert tickets and product packaging. These black and white squares can be read in a fraction of a second by a phone camera. Their design is a clever piece of engineering that packs information into a pattern built to survive smudges and awkward angles.

    A two-dimensional barcode

    A traditional barcode stores information in a single row of lines of varying width. A QR code, short for quick response code, stores data in both directions across a grid of small squares called modules. This allows it to hold far more information, such as a web address, contact details or a short piece of text.

    Finding and reading the pattern

    The three large squares in the corners are position markers that let a scanner identify the code and its orientation, whatever angle it is viewed from. Smaller alignment and timing patterns help the software correct for distortion and work out the size of the grid. Once the grid is mapped, each module is read as a dark or light value representing binary data.

    Built-in error correction

    One of the most useful features of QR codes is error correction. Extra information is woven into the pattern so that the code can still be read even if part of it is dirty, scratched or covered. This is why some codes can include a small logo in the middle without becoming unreadable.

    Scanning safely

    A QR code can contain any web address, and it is impossible to tell where it leads just by looking at it. Fraudsters sometimes stick fake codes over genuine ones on posters or parking meters. Before opening a link, check the address your phone displays, and be cautious about entering payment details on a site reached through a code in a public place.