How Does A QR Code Work
How Does A QR Code Work
Introduction
What is a QR code
How it works
Conclusion
Works cited
Introduction
What is a QR code
A QR code (quick response code) is an image containing black and white squares
that, when scanned (with a smartphone camera), transmits certain information, like a
link, internet access, text, etc... QR codes can be seen almost everywhere these
days, for example, some restaurants already use QR codes to show their menus
instead of paper. QR codes’ use is getting wider and wider every day because of how
easy and fast you can read them. You can read them just by using a qr code reader
app, or even just your regular camera (depends on the smartphone) and pointing
your camera to it. They can store up to 7,000 numeric characters, 4,000
QR codes have different versions which vary from Version 1 to Version 40. Each
version contains a unique module configuration or number of modules (the black and
number of modules present in the code, starting from Version 1 (which contains 21 x
version number has 4 more modules on each side than the previous one.
History of the QR codes
The creation
The qr code has been invented in Japan in 1994 by Masahiro Hara. Masahiro
new method for tracking inventory in the automotive industry and a quicker
At its beginning, the qr code was not very popular, it only started gaining in
popularities in the the lates 2000s with the proliferation of cellphones and the
creation of QR code reading software, but its real first boom of popularity
assist in the search for missing individuals during the Japanese earthquake
and tsunami.
The ascension in the rest of the world
After 2011, the qr code started to be use in the whole world in a bunch of different
sectors, but its thanks to the 2020 COVID-19 pandemic that the qr code popularity
code to show their menu and the shops did the same
online.
So now, the qr code is used in all the most important industries including marketing,
transportation, and advertising. For mobile payments, airline boarding cards, event
tickets, and product information, it is also widely used. As they are so often used, QR
A QR Code has little squares, ones that are white, which represent the number 0(in
binary code, and the others are black, which represent the number 1.
In QR Codes, there are 3 parts: Function pattern, Format & Version Information
Function Pattern
The function pattern is an element of the QR code that doesn’t store data, however, it
is required for the specification of the code. The function pattern contains different
parts in it:
Pattern
The three big squares on the qr code are the pattern. The pattern is for pixel
Timing patterns
color, and their function is to tell the size of the matrix (for
example 21 x 21).
Alignment patterns
The number of alignment patterns in a QR Code varies based on the version used
scanning.
The format information comprises a 15-bit data segment that encodes details about
the error correction and mask pattern being utilized. On the other hand, the version
information contains an 18-bit data segment that conveys the QR code version
details. The Format & Version Information Pattern consist of the following:
Error correction
pieces. The quality of the correction can vary depending on the pattern of the
The mask
The mask is a pattern to avoid repeated blocks. There are 8 different kinds of
pattern. What the mask does is to invert the bits that overlap the colored
Format correction
The rest of the squares in the Format & Version Information Pattern are for
decode data. Here are some of the key mathematical concepts that are used in QR
codes:
Error correction: QR codes use error correction techniques to ensure that even if the
code is partially damaged or obscured, it can still be read. The error correction
URLs and phone numbers, while alphanumeric encoding is used for human-readable
text.
allows for efficient encoding and decoding of data, as well as error correction.
using a set of data points to generate a polynomial equation that can be used to
Modulo arithmetic: QR codes use modulo arithmetic to reduce the size of the data
value and using the remainder as the encoded value. Overall, QR codes rely on a
https://myqrbc.com/structure-of-the-qr-code-how-is-the-data-coded/
https://blog.acolad.com/qr-codes-what-you-didnt-know
https://www.thonky.com/qr-code-tutorial/mask-patterns
https://merricx.github.io/qrazybox/help/getting-started/about-qr-code.html
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8321072/
https://www.qrcode.com/en/about/version.html
https://www.qrcode.com/en/history/
https://www.youtube.com/watch?v=k09ip9Z6TCk