QR code: Difference between revisions
Polytope4d (talk | contribs) →Error correction bytes: Added information Tags: Mobile edit Mobile web edit |
|||
Line 1: | Line 1: | ||
{{Short description|Type of matrix barcode}} |
|||
{{about|the type of barcode|the mathematical coding theory|Quadratic residue code}} |
|||
[[File:Wikipedia mobile en.svg|thumb|QR code for the [[URL]] of the English Wikipedia Mobile main page]] |
|||
[[File:Extreme QR code to Wikipedia mobile page.png|thumb|Example of a QR code with artistic embellishment that will still scan correctly thanks to error correction]] |
|||
{{pp-protected|small=yes}} |
|||
'''QR code''' (abbreviated from '''Quick Response Code''') is the trademark for a type of [[matrix barcode]] (or two-dimensional [[barcode]]) first designed for the [[automotive industry in Japan]]. A barcode is a machine-readable optical label that contains information about the item to which it is attached. A QR code uses four standardized encoding modes (numeric, alphanumeric, byte / binary, and [[kanji]]) to efficiently store data; extensions may also be used.<ref name=QRCodefeatures>{{cite web |url=http://www.qrcode.com/en/qrfeature.html |title=QR Code features |publisher=Denso-Wave |accessdate=3 October 2011 |archiveurl=http://archive.is/20120915/http://www.qrcode.com/en/qrfeature.html |archivedate=2012-09-15}}</ref> |
|||
{{Use dmy dates|date=June 2022}} |
|||
[[File:QR code for mobile English Wikipedia.svg|thumb|A QR code for the [[URL]] of the [[English Wikipedia]] Mobile main page]] |
|||
The QR Code system became popular outside the automotive industry due to its fast readability and greater storage capacity compared to standard [[Universal Product Code|UPC barcodes]]. Applications include product tracking, item identification, time tracking, document management, and general marketing.<ref name=autogenerated1>{{cite web |url=http://www.nacs.org/LinkClick.aspx?fileticket=D1FpVAvvJuo%3D&tabid=1426&mid=4802 |title=QR Code Essentials |publisher=Denso ADC |year= 2011 |accessdate=12 March 2013}}</ref> |
|||
A '''QR code''' ('''quick-response code''')<ref>{{cite interview |last=Hara |first=Masahiro |subject-link=Masahiro Hara |interviewer-last=Muller |interviewer-first=Derek |interviewer-link=Derek Muller |title=I used to hate QR codes. But they're actually genius |date=1 October 2024 |at=34:09 |url=https://www.youtube.com/watch?v=w5ebcowAJD8&t=2049 |access-date=1 October 2024 |quote= The biggest feature of QR codes is that they can be read quickly. It's called Quick Response because it reacts quickly.}}</ref> is a type of [[Plane (mathematics)|two-dimensional]] [[Barcode#Matrix (2D) codes|matrix barcode]], invented in 1994, by [[Japan]]ese company [[Denso#Denso Wave|Denso Wave]] for labelling automobile parts.<ref>{{Cite journal|last1=Hung|first1=Shih-Hsuan|last2=Yao|first2=Chih-Yuan|last3=Fang|first3=Yu-Jen|last4=Tan|first4=Ping|last5=Lee|first5=RuenRone|last6=Sheffer|first6=Alla|last7=Chu|first7=Hung-Kuo|date=2020-09-01|title=Micrography QR Codes|url=https://ieeexplore.ieee.org/document/8632711|journal=IEEE Transactions on Visualization and Computer Graphics|volume=26|issue=9|pages=2834–2847|doi=10.1109/TVCG.2019.2896895|issn=1077-2626|pmid=30716038|s2cid=73433883|access-date=21 April 2021|archive-date=21 April 2021|archive-url=https://web.archive.org/web/20210421010504/https://ieeexplore.ieee.org/document/8632711/|url-status=live}}</ref><ref>{{Cite journal|last1=Chen|first1=Rongjun|last2=Yu|first2=Yongxing|last3=Xu|first3=Xiansheng|last4=Wang|first4=Leijun|last5=Zhao|first5=Huimin|last6=Tan|first6=Hong-Zhou|date=2019-12-11|title=Adaptive Binarization of QR Code Images for Fast Automatic Sorting in Warehouse Systems|journal=Sensors|language=en|volume=19|issue=24|pages=5466|doi=10.3390/s19245466|pmc=6960674|pmid=31835866|bibcode=2019Senso..19.5466C |doi-access=free}}</ref> It features black squares on a white background with [[fiducial markers]], readable by imaging devices like cameras, and processed using [[Reed–Solomon error correction]] until the image can be appropriately interpreted. The required data is then extracted from patterns that are present in both the horizontal and the vertical components of the QR image.<ref name=autogenerated1/> |
|||
A QR code consists of black modules (square dots) arranged in a square grid on a white background, which can be read by an imaging device (such as a camera, scanner, etc.) and processed using [[Reed–Solomon]] error correction until the image can be appropriately interpreted. The required data are then extracted from patterns that are present in both horizontal and vertical components of the image.<ref name=autogenerated1 /> |
|||
Whereas a barcode is a machine-readable optical image that contains information specific to the labeled item, the QR code contains the data for a locator, an identifier, and web-tracking. To store data efficiently, QR codes use four standardized modes of encoding: |
|||
: (1) [[Number|numeric]], |
|||
: (2) [[Alphanumericals|alphanumeric]], |
|||
: (3) [[Byte pair encoding|byte]] or [[Binary number|binary]], and |
|||
: (4) [[kanji]].<ref name="QRCodefeatures">{{cite web |url=http://www.qrcode.com/en/qrfeature.html |title=QR Code features |publisher=Denso-Wave |access-date=3 October 2011 |archive-url=https://web.archive.org/web/20130129064920/http://www.qrcode.com/en/qrfeature.html |archive-date=2013-01-29}}</ref> |
|||
Compared to standard [[Universal Product Code|UPC barcodes]], the QR labeling system was applied beyond the automobile industry because of faster reading of the optical image and greater data-storage capacity in applications such as product tracking, item identification, time tracking, document management, and general marketing.<ref name=autogenerated1>{{cite web |url=http://www.nacs.org/LinkClick.aspx?fileticket=D1FpVAvvJuo%3D&tabid=1426&mid=4802 |title=QR Code Essentials |publisher=Denso ADC |year=2011 |access-date=12 March 2013 |url-status=live |archive-url=https://web.archive.org/web/20130512180619/http://www.nacs.org/LinkClick.aspx?fileticket=D1FpVAvvJuo%3d&tabid=1426&mid=4802 |archive-date=12 May 2013}}</ref> |
|||
== History == |
== History == |
||
{{Expand section|date=October 2021}} |
|||
The QR code system was invented in 1994, at the [[Denso#Denso Wave|Denso Wave]] automotive products company, in Japan.<ref name="qrcode_Rakib">{{Cite web|title=QRコード開発|テクノロジー|デンソーウェーブ|trans-title=QR code development|url=https://www.denso-wave.com/ja/technology/vol1.html|access-date=2021-10-26|website=[[Denso|Denso Wave]]|language=ja|archive-date=26 October 2021|archive-url=https://web.archive.org/web/20211026134836/https://www.denso-wave.com/ja/technology/vol1.html|url-status=live}}</ref><ref>{{cite web|url=https://www3.nhk.or.jp/nhkworld/en/ondemand/video/2072031/|title=2D Barcodes|date=2020-03-26|publisher=[[NHK World-Japan]]|access-date=7 April 2020|archive-date=7 April 2020|archive-url=https://web.archive.org/web/20200407181035/https://www3.nhk.or.jp/nhkworld/en/ondemand/video/2072031/|url-status=live}}</ref><ref>{{Cite news|date=2021-11-09|title=From Japanese Auto Parts to Ubiquity: A Look at the History of QR Codes|language=en|work=Mainichi Daily News|url=https://mainichi.jp/english/articles/20211109/p2a/00m/0bu/024000c|access-date=2021-11-11|archive-date=11 November 2021|archive-url=https://web.archive.org/web/20211111014403/https://mainichi.jp/english/articles/20211109/p2a/00m/0bu/024000c|url-status=live}}</ref> The initial alternating-square design presented by the team of researchers, headed by [[Masahiro Hara]], was influenced by the black counters and the white counters played on a [[Go equipment#Board|Go board]];<ref>{{cite web|url=https://www.nippon.com/en/news/fnn20191214001/the-little-known-story-of-the-birth-of-the-qr-code.html|title=The Little-Known Story of the Birth of the QR Code|date=2020-02-10|url-status=dead|archive-url=https://web.archive.org/web/20200304140056/https://www.nippon.com/en/news/fnn20191214001/the-little-known-story-of-the-birth-of-the-qr-code.html|archive-date=2020-03-04}}</ref> the pattern of the position detection markers was determined by finding the least-used sequence of alternating black-white areas on printed matter, which was found to be (1:1:3:1:1).<ref name="qrcode_history">{{cite web|url=https://www.qrcode.com/en/history/|title=History of QR Code|access-date=2023-04-30|website=[[Denso|Denso Wave]]}}</ref><ref name="qrcode_Rakib" /> The functional purpose of the QR code system was to facilitate keeping track of the types and numbers of automobile parts, by replacing individually-scanned bar-code labels on each box of auto parts with a single label that contained the data of each label. The quadrangular configuration of the QR code system consolidated the data of the various bar-code labels with Kanji, [[Kana]], and alphanumeric codes printed onto a single label.<ref name="Handbook of Augmented Reality">{{cite book |title=Handbook of Augmented Reality |author=Borko Furht |url=https://books.google.com/books?id=fG8JUdrScsYC&q=Handbook%20of%20Augmented%20Reality&pg=PA341 |page=341 |publisher=Springer |year=2011 |isbn=9781461400646 |url-status=live |archive-url=https://web.archive.org/web/20161221020446/https://books.google.com/books?id=fG8JUdrScsYC&lpg=PP1&dq=Handbook%20of%20Augmented%20Reality&pg=PA341 |archive-date=21 December 2016}}</ref><ref name="qrcode_history"/><ref name="qrcode_Rakib" /> |
|||
The QR code system was invented in 1994 by [[Denso]] Wave. Its purpose was to track vehicles during manufacture; it was designed to allow high-speed component scanning.<ref>{{cite book |title=Handbook of Augmented Reality |author=Borko Furht |url=http://books.google.com/books?id=fG8JUdrScsYC&lpg=PP1&dq=Handbook%20of%20Augmented%20Reality&pg=PA341 |page=341 |publisher=Springer |year=2011|isbn=9781461400646 }}</ref> Although initially used for tracking parts in vehicle manufacturing, QR codes now are used in a much broader context, including both commercial tracking applications and convenience-oriented applications aimed at mobile-phone users (termed mobile tagging). QR codes may be used to display text to the user, to add a [[vCard]] contact to the user's device, to open a [[Uniform Resource Identifier]] (URI), or to compose an e-mail or text message. Users can generate and print their own QR codes for others to scan and use by visiting one of several paid and free QR code generating sites or apps. The technology has since become one of the most-used types of two-dimensional barcode.<ref name=About2DCode>{{cite web |url=http://www.qrcode.com/en/aboutqr.html |title=QR Code — About 2D Code |publisher=Denso-Wave |accessdate=3 October 2011 |archiveurl=http://archive.is/20120915/http://www.qrcode.com/en/aboutqr.html |archivedate=2012-09-15}}</ref> |
|||
== Adoption == |
|||
[[File:How QR codes are created.jpg|thumb|alt=A QR code being painted on the side of a building|QR codes can be displayed on buildings, such as this one being painted in [[Cape Town]].]] |
|||
{{as of|2024|post=,}} QR codes are used in a much broader context, including both commercial tracking applications and convenience-oriented applications aimed at mobile phone users (termed mobile tagging). QR codes may be used to display text to the user, to open a [[Web page|webpage]] on the user's device, to add a [[vCard]] contact to the user's device, to open a [[Uniform Resource Identifier]] (URI), to connect to a wireless network, or to compose an email or text message. There are a great many QR code generators available as software or as online tools that are either free or require a paid subscription.<ref>{{cite web |url=http://www.dummies.com/business/marketing/social-media-marketing/how-to-use-the-top-qr-code-generators/ |title=How to Use the Top QR Code Generators |website=Dummies.com |author=Joe Waters |access-date=5 June 2017 |url-status=live |archive-url=https://web.archive.org/web/20170911162047/http://www.dummies.com/business/marketing/social-media-marketing/how-to-use-the-top-qr-code-generators/ |archive-date=11 September 2017}}</ref> The QR code has become one of the most-used types of two-dimensional code.<ref name=About2DCode>{{cite web |url=http://www.qrcode.com/en/about/ |title=QR Code—About 2D Code |publisher=Denso-Wave |access-date=27 May 2016 |url-status=live |archive-url=https://web.archive.org/web/20160605013533/http://www.qrcode.com/en//about/ |archive-date=5 June 2016}}</ref> |
|||
During June 2011, 14 million American mobile users scanned a QR code or a barcode. Some 58% of those users scanned a QR or barcode from their homes, while 39% scanned from retail stores; 53% of the 14 million users were men between the ages of 18 and 34.<ref>{{cite web|url=http://www.internetretailing.net/2011/08/14m-americans-scanned-qr-and-bar-codes-with-their-mobiles-in-june-2011/|title=14m Americans scanned QR and bar codes with their mobiles in June 2011|date=16 August 2011|access-date=27 May 2016|archive-url=https://web.archive.org/web/20160405065521/http://internetretailing.net/2011/08/14m-americans-scanned-qr-and-bar-codes-with-their-mobiles-in-june-2011/|archive-date=5 April 2016|url-status=dead}}</ref> |
|||
In 2022, 89 million people in the [[United States]] scanned a QR code using their mobile devices, up by 26 percent compared to 2020. The majority of QR code users used them to make [[payment]]s or to access product and [[menu]] information.<ref>{{Cite web |title=Mobile QR scanner usage in the U.S. 2025 |url=https://www.statista.com/statistics/1297768/us-smartphone-users-qr-scanner/ |access-date=2023-12-24 |website=Statista |language=en}}</ref> |
|||
In September 2020, a survey found that 18.8 percent of consumers in the United States and the [[United Kingdom]] strongly agreed that they had noticed an increase in QR code use since the then-active [[COVID-19]]-related restrictions had begun several months prior.<ref>{{cite web|url=https://www.statista.com/statistics/199328/qr-code-scanners-by-age/|title=U.S. and UK increase of QR code use 2020|date=6 July 2021|access-date=13 August 2021|archive-date=14 August 2021|archive-url=https://web.archive.org/web/20210814001532/https://www.statista.com/statistics/199328/qr-code-scanners-by-age/|url-status=live}}</ref> |
|||
== Standards == |
== Standards == |
||
[[File:QR Code Structure Example 3.svg|right |
[[File:QR Code Structure Example 3.svg|thumb|right|Structure of a QR code (version 7), highlighting functional elements]] |
||
There are several standards that cover the encoding of data as QR codes:<ref name="qrstandard1">{{cite web |url=http://www.qrcode.com/en/qrstandard.html |title=QR Code Standardization |publisher=Denso-Wave |work=QR Code.com |accessdate=23 April 2009 |archiveurl=http://archive.is/20120915/http://www.qrcode.com/en/qrstandard.html |archivedate=2012-09-15}}</ref> |
|||
Several standards cover the encoding of data as QR codes:<ref name="qrstandard1">{{cite web |url=http://www.qrcode.com/en/about/standards.html |title=QR Code Standardization |publisher=Denso-Wave |work=QR Code.com |access-date=23 May 2016 |url-status=live |archive-url=https://web.archive.org/web/20160510190940/http://www.qrcode.com/en/about/standards.html |archive-date=10 May 2016}}</ref> |
|||
*October 1997{{spaced ndash}}AIM (Association for Automatic Identification and Mobility) International<ref>{{cite web |url=https://aimglobal.site-ym.com/store/ViewProduct.aspx?id=2590968 |title=ISS QR Code{{pipe}}AIM Store: Historical Archive |publisher=Aimglobal.org |access-date=26 May 2016 |url-status=live |archive-url=https://web.archive.org/web/20160808081523/https://aimglobal.site-ym.com/store/ViewProduct.aspx?id=2590968 |archive-date=8 August 2016}}</ref> |
|||
*January 1999{{spaced ndash}}[[Japanese Industrial Standards|JIS]] X 0510 |
|||
* January 1999{{spaced ndash}}[[Japanese Industrial Standards|JIS]] X 0510 |
|||
*June 2000{{spaced ndash}}[[International Organization for Standardization|ISO]]/IEC 18004:2000 ''[http://www.iso.org/iso/iso_catalogue/catalogue_ics/catalogue_detail_ics.htm?csnumber=30789 Information technology{{spaced ndash}}Automatic identification and data capture techniques{{spaced ndash}}Bar code symbology{{spaced ndash}}QR code]'' (now withdrawn)<br /> Defines QR code models 1 and 2 symbols. |
|||
* |
* June 2000{{spaced ndash}}[[International Organization for Standardization|ISO]]/[[International Electrotechnical Commission|IEC]] 18004:2000 ''Information technology{{spaced ndash}}Automatic identification and data capture techniques{{spaced ndash}}Bar code symbology{{spaced ndash}}QR code'' (now withdrawn)<br /> Defines QR code models 1 and 2 symbols. |
||
* 1 September 2006{{spaced ndash}}ISO/IEC 18004:2006 ''Information technology{{spaced ndash}}Automatic identification and data capture techniques{{spaced ndash}}QR Code 2005 bar code symbology specification'' (now withdrawn)<ref>{{Cite web|url=https://www.iso.org/standard/43655.html|title=ISO/IEC 18004:2006 - Information technology {{spaced ndash}} Automatic identification and data capture techniques {{spaced ndash}} QR Code 2005 bar code symbology specification|website=www.iso.org|date=5 February 2009 |language=en|access-date=2017-03-07|url-status=live|archive-url=https://web.archive.org/web/20170308044347/https://www.iso.org/standard/43655.html|archive-date=8 March 2017}}</ref><br /> Defines QR code 2005 symbols, an extension of QR code model 2. Does not specify how to read QR code model 1 symbols, or require this for compliance. |
|||
* 1 February 2015{{spaced ndash}}ISO/IEC 18004:2015 ''Information{{spaced ndash}}Automatic identification and data capture techniques{{spaced ndash}}QR Code barcode symbology specification''<br /> Renames the QR Code 2005 symbol to QR Code and adds clarification to some procedures and minor corrections. |
|||
* May 2022{{spaced ndash}}ISO/IEC 23941:2022 ''Information technology{{spaced ndash}}Automatic identification and data capture techniques{{spaced ndash}}Rectangular Micro QR Code (rMQR) bar code symbology specification''<ref>{{cite web |url=https://www.iso.org/standard/77404.html |title=ISO/IEC 23941:2022 Information technology — Automatic identification and data capture techniques — Rectangular Micro QR Code (rMQR) bar code symbology specification |publisher=ISO |access-date=3 January 2023 |archive-date=3 January 2023 |archive-url=https://web.archive.org/web/20230103071540/https://www.iso.org/standard/77404.html |url-status=live}}</ref><br />Defines the requirements for Micro QR Code. |
|||
At the application layer, there is some variation between most of the implementations. Japan's [[NTT DoCoMo]] has established [[de facto]] standards for the encoding of URLs, contact information, and several other data types.<ref>{{cite web |
At the [[application layer]], there is some variation between most of the implementations. Japan's [[NTT DoCoMo]] has established [[de facto]] standards for the encoding of URLs, contact information, and several other data types.<ref>{{cite web|url=https://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/function/application/index.html|title=Synchronization with Native Applications|publisher=[[NTT DoCoMo]]|access-date=26 May 2016|url-status=live|archive-url=https://web.archive.org/web/20160806042046/https://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/function/application/index.html|archive-date=6 August 2016}}</ref> The open-source "[[ZXing]]" project maintains a list of QR code data types.<ref>{{cite web|url=https://github.com/zxing/zxing/wiki/Barcode-Contents|title=Barcode contents|author=Sean Owen|website=[[GitHub]]|date=17 January 2014|access-date=26 May 2016|url-status=live|archive-url=https://web.archive.org/web/20160215201205/https://github.com/zxing/zxing/wiki/Barcode-Contents|archive-date=15 February 2016}}</ref> |
||
== Uses == |
== Uses == |
||
[[File:Japan-qr-code-billboard.jpg|thumb|A QR code used on a large billboard in Japan, linking to the sagasou.mobi website]] |
[[File:Japan-qr-code-billboard.jpg|thumb|A QR code used on a large billboard in Japan, linking to the sagasou.mobi website]] |
||
QR codes have become common in consumer advertising. Typically, a [[smartphone]] is used as a QR code scanner, displaying the code and converting it to some useful form (such as a standard [[URL]] for a website, thereby obviating the need for a user to type it into a [[ |
QR codes have become common in consumer advertising. Typically, a [[smartphone]] is used as a QR code scanner, displaying the code and converting it to some useful form (such as a standard [[URL]] for a website, thereby obviating the need for a user to type it into a [[Web browser]]). |
||
The QR code has become a focus of [[advertising]] strategy, since it provides a way to access a brand's website more quickly than by manually entering a URL.<ref>{{cite web |url=http://www.mobilemarketer.com/cms/news/software-technology/11930.html |title=http://www.mobilemarketer.com/cms/news/software-technology/11930.html |archiveurl=http://archive.is/20120912/http://www.mobilemarketer.com/cms/news/software-technology/11930.html |archivedate=2012-09-12}}</ref><ref>{{cite web |url=http://blogs.vancouversun.com/2012/01/04/tescos-cool-qr-code-advertising-campaign/ |title=http://blogs.vancouversun.com/2012/01/04/tescos-cool-qr-code-advertising-campaign/ |archiveurl=http://archive.is/20120720/http://blogs.vancouversun.com/2012/01/04/tescos-cool-qr-code-advertising-campaign/ |archivedate=2012-07-20}}</ref> Beyond mere convenience to the consumer, the importance of this capability is that it increases the [[conversion rate]] (the chance that contact with the advertisement will convert to a sale), by coaxing interested prospects further down the [[conversion funnel]] with little delay or effort, bringing the viewer to the advertiser's website immediately, where a longer and more targeted sales pitch may lose the viewer's interest. |
|||
QR code has become a focus of advertising strategy, since it provides a way to access a brand's website more quickly than by manually entering a URL.<ref>{{cite web|url=http://www.mobilemarketer.com/cms/news/software-technology/11930.html|title=Starbucks promotes coffee blend via QR codes|url-status=live|date=23 January 2012|author=Rimma Kats|access-date=26 May 2016|archive-url=https://web.archive.org/web/20160603190211/http://www.mobilemarketer.com/cms/news/software-technology/11930.html|archive-date=3 June 2016}}</ref><ref>{{cite news |url=https://vancouversun.com/news/staff-blogs/tescos-cool-qr-code-advertising-campaign |title=Tesco's cool QR code advertising campaign |date=4 January 2012 |author=Jenny Lee |newspaper=Vancouversun |access-date=26 May 2016 |url-status=live |archive-url=https://web.archive.org/web/20160603022242/http://vancouversun.com/news/staff-blogs/tescos-cool-qr-code-advertising-campaign |archive-date=3 June 2016}}</ref> Beyond mere convenience to the consumer, the importance of this capability is that it increases the [[conversion rate]]: the chance that contact with the advertisement will convert to a sale. It coaxes interested prospects further down the [[conversion funnel]] with little delay or effort, bringing the viewer to the advertiser's website immediately, whereas a longer and more targeted sales pitch may lose the viewer's interest. |
|||
Although initially used to track parts in vehicle manufacturing, QR codes are now ({{as of | 2012 | lc = on}}) used over a much wider range of applications, including commercial tracking, entertainment and transport ticketing, product/loyalty marketing (examples: mobile couponing where a company's discounted and percent discount can be captured using a QR code decoder which is a mobile app, or storing a company's information such as address and related information alongside its alpha-numeric text data as can be seen in Yellow Pages directory), and in-store product labeling. It can also be used in storing personal information for use by organizations. An example of this is Philippines National Bureau of Investigation (NBI) where NBI clearances now come with a QR code. Many of these applications target [[mobile phone|mobile-phone]] users (via [[mobile tagging]]). Users may receive text, add a [[vCard]] contact to their device, open a URI, or compose an [[email#Message format|e-mail]] or text message after scanning QR codes. They can generate and print their own QR codes for others to scan and use by visiting one of several pay or free QR code-generating sites or apps. [[Google]] had a popular [[API]] to generate QR codes,<ref>{{cite web | url=http://code.google.com/apis/chart/infographics/ | title=Google Chart Tools |archiveurl=http://archive.is/20120707/http://code.google.com/apis/chart/infographics/ |archivedate=2012-07-07}}</ref> and apps for scanning QR codes can be found on nearly all smartphone devices.<ref>{{cite web | url=http://www.708media.com/qrcode/qr-code-readers-iphone-android-blackberry-windows-phone-7/ | title=QR Code Readers for iPhone, Android, Blackberry and Windows Phone 7 |archiveurl=http://archive.is/20120718/http://www.708media.com/qrcode/qr-code-readers-iphone-android-blackberry-windows-phone-7/ |archivedate=2012-07-18}}</ref> |
|||
Although initially used to track parts in vehicle manufacturing, QR codes are used over a much wider range of applications. These include commercial tracking, warehouse stock control, entertainment and transport ticketing, product and loyalty marketing, and in-store product labeling.{{Citation needed|date=March 2023}} Examples of marketing include where a company's discounted and percent discount can be captured using a QR code decoder that is a mobile app, or storing a company's information such as address and related information alongside its alpha-numeric text data as can be seen in telephone directory [[yellow pages]].{{Citation needed|date=March 2023}} |
|||
QR codes storing addresses and URLs may appear in magazines, on signs, on buses, on business cards, or on almost any object about which users might want information. Users with a [[camera phone]] equipped with the correct reader application can scan the image of the QR code to display text, contact information, connect to a [[wireless LAN|wireless network]], or open a web page in the telephone's browser. This act of linking from physical world objects is termed [[hardlink (hyperlink)|hardlinking]] or [[object hyperlinking]]. QR codes also may be linked to a location to track where a code has been scanned. Either the application that scans the QR code retrieves the geo information by using GPS and cell tower triangulation (aGPS) or the URL encoded in the QR code itself is associated with a location.<ref name=GeotaggedQRCodes>{{cite web |url=http://qrd.by |title=Geo Tagged QR Codes |accessdate=27 October 2011 |archiveurl=http://archive.is/20120714/http://qrd.by |archivedate=2012-07-14}}</ref> |
|||
[[File:Z80-Tianjin -Beijing.jpg|right|266px|thumbnail|QR codes have been used and printed on train tickets in China since 2010.<ref>{{cite news|first=Staff Reporter|title=QR codes on China's train tickets may leak personal information|url=http://www.wantchinatimes.com/news-subclass-cnt.aspx?id=20121216000074&cid=1103|accessdate=16 March 2013|newspaper=Want China Times}}</ref>]] |
|||
They can also be used to store personal information for organizations. An example of this is the [[Philippines]] [[National Bureau of Investigation (Philippines)|National Bureau of Investigation]] (NBI) where NBI clearances now come with a QR code. Many of these applications target [[mobile phone|mobile-phone]] users (via [[mobile tagging]]). Users may receive text, add a vCard contact to their device, open a URL, or compose an [[email#Message format|e-mail]] or text message after scanning QR codes. They can generate and print their own QR codes for others to scan and use by visiting one of several pay or free QR code-generating sites or apps. [[Google]] had an [[API]], now deprecated, to generate QR codes,<ref>{{cite web |date=26 May 2015 |title=Getting Started with Infographics (deprecated) |url=https://google-developers.appspot.com/chart/infographics/docs/overview |url-status=dead |archive-url=https://web.archive.org/web/20160629232058/https://google-developers.appspot.com/chart/infographics/docs/overview |archive-date=29 June 2016 |access-date=27 May 2016 |website=google-developers.appspot.com}}</ref> and apps for scanning QR codes can be found on nearly all smartphone devices.<ref>{{cite web | url=http://www.708media.com/qrcode/qr-code-readers-iphone-android-blackberry-windows-phone-7/ | title=QR Code Readers for iPhone, Android, Blackberry and Windows Phone 7 | url-status=live | archive-url=https://web.archive.org/web/20110825233859/http://www.708media.com/qrcode/qr-code-readers-iphone-android-blackberry-windows-phone-7/ | archive-date=25 August 2011| date=2010-12-07}}</ref> |
|||
Recruiters have started placing QR codes in job advertisements,<ref name="articles.timesofindia.indiatimes.com">{{cite news| url=http://articles.timesofindia.indiatimes.com/2013-10-19/job-trends/43198946_1_qr-code-website-business-card | work=The Times Of India | title=How to jazz up your CV with QR codes - The Times of India}}</ref> while applicants have started sporting it in their CVs and visiting cards.<ref name="articles.timesofindia.indiatimes.com"/> |
|||
[[File:Z80-Tianjin -Beijing.jpg|right|thumbnail|QR codes have been used and printed on train tickets in China since 2010.<ref>{{cite news|title=QR codes on China's train tickets may leak personal information|url=http://www.wantchinatimes.com/news-subclass-cnt.aspx?id=20121216000074&cid=1103|access-date=16 March 2013|newspaper=Want China Times|url-status=live|archive-url=https://web.archive.org/web/20131212064108/http://www.wantchinatimes.com/news-subclass-cnt.aspx?id=20121216000074&cid=1103|archive-date=12 December 2013}}</ref>]] |
|||
In June 2011, The Royal Dutch Mint (Koninklijke Nederlandse Munt) issued the world's first official coin with a QR code to celebrate the centenary of its current building and premises. The coin can be scanned by a [[smartphone]] and link to a special website with contents about the historical event and design of the coin.<ref>{{cite web| url=http://www.q5g.nl/|title= World's first QR code coin website |archiveurl=http://archive.is/20120915/http://www.q5g.nl/ |archivedate=2012-09-15}}</ref> In 2014, the Central Bank of Nigeria issued a 100-naira banknote to commemorate the centennial of its existence. It is the first banknote to incorporate the QR code into its design. When scanned with an internet-enabled mobile device, the code goes to a website which tells the centenary story of Nigeria.<ref>[http://sites.visualead.me/ngp_new/]</ref> In 2008, a Japanese stonemason announced plans to engrave QR codes on gravestones, allowing visitors to view information about the deceased, and family members to keep track of visits.<ref>{{cite news | url=http://www.wired.com/underwire/2008/03/japanese-graves/ | title=Japanese Gravestones Memorialize the Dead With QR Codes | publisher=Wired | date=2008-03-23 | accessdate=2013-05-08 | author=Novak, Asami}}</ref> |
|||
QR codes storing addresses and URLs may appear in magazines, on signs, on buses, on business cards, or on almost any object about which users might want information. Users with a [[camera phone]] equipped with the correct reader application can scan the image of the QR code to display text and contact information, connect to a [[wireless LAN|wireless network]], or open a web page in the phone's browser. This act of linking from physical world objects is termed [[hardlink (hyperlink)|hardlinking]] or [[object hyperlinking]]. QR codes also may be linked to a location to track where a code has been scanned. Either the application that scans the QR code retrieves the geo information by using GPS and cell tower triangulation (aGPS) or the URL encoded in the QR code itself is associated with a location. In 2008, a Japanese stonemason announced plans to engrave QR codes on gravestones, allowing visitors to view information about the deceased, and family members to keep track of visits.<ref>{{cite news | url=https://www.wired.com/underwire/2008/03/japanese-graves/ | title=Japanese Gravestones Memorialize the Dead With QR Codes | publisher=Wired | date=2008-03-23 | access-date=2013-05-08 | author=Novak, Asami | url-status=live | archive-url=https://web.archive.org/web/20130215103156/http://www.wired.com/underwire/2008/03/japanese-graves | archive-date=15 February 2013}}</ref> Psychologist [[Richard Wiseman]] was one of the first authors to include QR codes in a book, in ''[[Paranormality: Why We See What Isn't There]]'' (2011).<ref name=Skepicality160>{{cite web|author=Skepticality|url=http://www.skepticality.com/paranormality/|title=Paranormality|publisher=Skepticality.com|date=5 July 2011|access-date=27 June 2015|url-status=live|archive-url=https://web.archive.org/web/20150703204012/http://www.skepticality.com/paranormality/|archive-date=3 July 2015}}</ref>{{Failed verification|date=June 2017}} [[Microsoft Office]] and [[LibreOffice]] have a functionality to insert QR code into documents.<ref>{{cite web |url=https://support.microsoft.com/en-us/office/field-codes-displaybarcode-6d81eade-762d-4b44-ae81-f9d3d9e07be3 |title=Field codes: DisplayBarcode |website=Microsoft Support |access-date=22 April 2023}}</ref><ref>{{cite web |url=https://wiki.documentfoundation.org/ReleaseNotes/6.4 |title=LibreOffice 6.4: Release Notes |website=The Document Foundation Wiki |access-date=22 April 2023}}</ref> |
|||
Psychologist [[Richard Wiseman]] was one of the first authors to include QR Codes in a book, in ''Paranormality: Why We See What Isn't There'' (2011), allowing his readers to follow-up on [[paranormal]] claims by accessing his research through the codes.<ref name=Skepicality160>{{cite web|author=Skepticality|url=http://www.skepticality.com/paranormality/|title=Paranormality|publisher=Skepticality.com|date=5 July 2011|accessdate=27 June 2015}}</ref> |
|||
QR codes have been incorporated into currency. In June 2011, The [[Royal Dutch Mint]] (''Koninklijke Nederlandse Munt'') issued the world's first official coin with a QR code to celebrate the centenary of its current building and premises. The coin can be scanned by a smartphone and originally linked to a special website with content about the historical event and design of the coin.<ref>{{cite web |url=http://www.knm.nl/Herdenkingsmunt-met-QR-code-volop-in-het-nieuws/nl/news/206/?NieuwsGroepID=1&NWSY=2011&NWSM=6 |language=nl |title=Herdenkingsmunt met QR code volop in het nieuws! |trans-title=Commemorative QR code in the news! |website=Koninklijke Nederlandse Munt |date=21 June 2011 |access-date=27 May 2016 |url-status=live |archive-url=https://web.archive.org/web/20160629104956/http://www.knm.nl/Herdenkingsmunt-met-QR-code-volop-in-het-nieuws/nl/news/206/?NieuwsGroepID=1&NWSY=2011&NWSM=6 |archive-date=29 June 2016}}</ref> In 2014, the Central Bank of Nigeria issued a 100-naira banknote to commemorate its centennial, the first banknote to incorporate a QR code in its design. When scanned with an internet-enabled mobile device, the code goes to a website that tells the centenary story of Nigeria.<ref>{{cite web|url=http://sites.visualead.me/ngp_new/|title=New ₦100 Commemorative Centenary Celebration|access-date=10 September 2015|url-status=live|archive-url=https://web.archive.org/web/20150908142629/http://sites.visualead.me/ngp_new/|archive-date=8 September 2015}}</ref> |
|||
=== Mobile operating systems === |
|||
In 2015, the [[Central Bank of Russia|Central Bank of the Russian Federation]] issued a 100-[[ruble]]s note to commemorate the [[annexation of Crimea by the Russian Federation]].<ref>{{Cite web |date=December 23, 2015 |title=Russia Marks Crimea Annexation With A Banknote Rapidly Losing Value |url=https://www.npr.org/sections/parallels/2015/12/23/460831232/russia-marks-crimea-annexation-with-a-banknote-rapidly-losing-value |url-status=live |archive-url=https://web.archive.org/web/20151223201150/https://www.npr.org/sections/parallels/2015/12/23/460831232/russia-marks-crimea-annexation-with-a-banknote-rapidly-losing-value |archive-date=December 23, 2015 |access-date=June 20, 2024 |website=NPR}}</ref> It contains a QR code into its design, and when scanned with an internet-enabled mobile device, the code goes to a website that details the historical and technical background of the commemorative note. In 2017, the [[Bank of Ghana]] issued a 5-[[Ghanaian cedi|cedis]] banknote to commemorate 60 years of [[central bank]]ing in [[Ghana]]. It contains a QR code in its design which, when scanned with an internet-enabled mobile device, goes to the official Bank of Ghana website. |
|||
QR codes can be used on various mobile device operating systems. These devices support [[URL redirection]], which allows QR codes to send [[metadata]] to existing applications on the device. Many paid or free apps are available with the ability to scan the codes and hard-link to an external URL. |
|||
Credit card functionality is under development. In September 2016, the [[Reserve Bank of India]] (RBI) launched the eponymously named [[BharatQR]], a common QR code jointly developed by all the four major card payment companies – [[National Payments Corporation of India]] that runs [[RuPay]] cards along with [[Mastercard]], [[Visa Inc.|Visa]], and [[American Express]]. It will also have the capability of accepting payments on the [[Unified Payments Interface]] (UPI) platform.<ref>{{Cite web|url=http://retail.economictimes.indiatimes.com/news/e-commerce/e-tailing/with-indiaqr-launch-retail-payments-to-get-digital-edge/57158555|title=With IndiaQR launch, retail payments to get digital edge - ET Retail|last=www.ETRetail.com|website=ETRetail.com|language=en|access-date=2017-02-15|url-status=live|archive-url=https://web.archive.org/web/20170215063349/http://retail.economictimes.indiatimes.com/news/e-commerce/e-tailing/with-indiaqr-launch-retail-payments-to-get-digital-edge/57158555|archive-date=15 February 2017|df=dmy-all}}</ref><ref>{{Cite news|url=http://timesofindia.indiatimes.com/business/india-business/indiaqr-to-debut-on-feb-20/articleshow/57154107.cms|title=IndiaQR to debut on Feb 20|newspaper=The Times of India|access-date=2017-02-15|url-status=live|archive-url=https://web.archive.org/web/20170216133710/http://timesofindia.indiatimes.com/business/india-business/indiaqr-to-debut-on-feb-20/articleshow/57154107.cms|archive-date=16 February 2017|df=dmy-all}}</ref> |
|||
=== URLs === |
|||
=== Augmented reality === |
|||
URLs aided [[conversion rate|marketing conversion rates]] even in the pre-smartphone era, but during those years faced several limitations: ad viewers usually had to type the URL and often did not have a web browser in front of them when they first viewed the ad. The chances were high that they would forget to visit the site later, not bother to type a URL, or forget what URL to type. [[Semantic URL]]s decreased these risks but did not eliminate them. Some of these disadvantages to URL conversion rates are fading away now that smartphones are putting web access and voice recognition in constant reach. Thus an advert viewer need only reach for his or her phone and speak the URL, at the moment of ad contact, rather than remember to type it into a PC later. |
|||
QR codes are used in some [[augmented reality]] systems to determine the positions of objects in 3-dimensional space.<ref name="Handbook of Augmented Reality"/> |
|||
=== Mobile operating systems === |
|||
QR codes can be used on various mobile device operating systems. While initially requiring the installation and use of third-party apps, both Android and iOS (since iOS 11 <ref>{{Cite web |title=Apple hid a QR Code scanner in iOS 11 — here's how to use it |url=https://www.cnet.com/tech/mobile/how-to-use-ios-11s-hidden-qr-code-reader/ |access-date=2024-10-01 |website=CNET |language=en}}</ref><ref>{{Cite web |last=Lopez |first=Napier |date=2017-06-07 |title=iOS 11 makes QR codes cool again |url=https://thenextweb.com/news/ios-11-makes-qr-codes-cool |access-date=2024-10-01 |website=TNW {{!}} Apple |language=en}}</ref>) devices can now natively scan QR codes, without requiring an external app to be used.<ref name="androidnative">{{Cite web |url=https://www.digitaltrends.com/mobile/how-to-scan-a-qr-code/ |title=How to Scan a QR Code |last=Lacoma |first=Tyler |date=2018-10-03 |website=[[Digital Trends]] |archive-url=https://web.archive.org/web/20190422191127/https://www.digitaltrends.com/mobile/how-to-scan-a-qr-code/ |archive-date=2019-04-22 |access-date=2019-05-28}}</ref> The camera app can scan and display the kind of QR code along with the link. These devices support [[URL redirection]], which allows QR codes to send [[metadata]] to existing applications on the device. |
|||
=== Virtual stores === |
=== Virtual stores === |
||
QR codes have been used to establish "virtual stores", where a gallery of product information and QR codes is presented to the customer, e.g. on a train station wall. The customers scan the QR codes, and the products are delivered to their homes. This use started in [[South Korea]],<ref>{{cite web|url=http://www.shop2mobi.com/blog/tesco-qr-code-virtual-store/|title=Tesco QR Code Virtual Store|date=14 April 2012|access-date=26 May 2016|url-status=live|archive-url=https://web.archive.org/web/20160525160651/http://www.shop2mobi.com/blog/tesco-qr-code-virtual-store/|archive-date=25 May 2016}}</ref> and Argentina,<ref>{{cite news|url=http://www.ieco.clarin.com/empresas/Marketing-futurista-comprar-camara-celular_0_555544518.html|title=Marketing futurista: ya se puede comprar con la cámara del celular|language=es|trans-title=Futuristic marketing: it's already possible to purchase with a cellphone's camera|date=16 September 2011|author=Sebastián Campanario|newspaper=Clarin.com |url-status=live|archive-url=https://web.archive.org/web/20110923160016/http://www.ieco.clarin.com/empresas/Marketing-futurista-comprar-camara-celular_0_555544518.html|archive-date=23 September 2011}}</ref> but is currently expanding globally.<ref>{{cite web|url=http://www.physorg.com/news/2010-11-phone-friendly-codes-ads.html|title=Marketers scatter phone-friendly codes across ads|date=11 November 2010|access-date=26 May 2016|archive-date=12 January 2023|archive-url=https://web.archive.org/web/20230112193212/https://phys.org/news/2010-11-phone-friendly-codes-ads.html|url-status=live}}</ref> Walmart, Procter & Gamble and Woolworths have already adopted the Virtual Store concept.<ref>{{cite web|url=http://www.shop2mobi.com/blog/virtual-qr-code-store-examples/|title=Top 10 QR Code Store examples|date=14 April 2012|access-date=26 May 2016|url-status=live|archive-url=https://web.archive.org/web/20160606021802/http://www.shop2mobi.com/blog/virtual-qr-code-store-examples|archive-date=6 June 2016}}</ref> |
|||
=== QR code payment === |
|||
During the month of June 2011, according to one study, 14 million mobile users scanned a QR code or a barcode. Some 58% of those users scanned a QR or barcode from their homes, while 39% scanned from retail stores; 53% of the 14 million users were men between the ages of 18 and 34.<ref>{{cite web |url=http://www.internetretailing.net/2011/08/14m-americans-scanned-qr-and-bar-codes-with-their-mobiles-in-june-2011/ |title=16 August 2011 |archiveurl=http://archive.is/20120906/http://www.internetretailing.net/2011/08/14m-americans-scanned-qr-and-bar-codes-with-their-mobiles-in-june-2011/ |archivedate=2012-09-06}}</ref> The use of QR codes for "virtual store" formats started in South Korea,<ref>{{cite web |url=http://www.shop2mobi.com/tesco-qr-code-virtual-store/ |title=Tesco QR Code Virtual Store |archiveurl=http://archive.is/20120915/http://www.shop2mobi.com/tesco-qr-code-virtual-store/ |archivedate=2012-09-15}}</ref> and Argentina,<ref>{{cite web |url=http://www.ieco.clarin.com/empresas/Marketing-futurista-comprar-camara-celular_0_555544518.html |title=Marketing futurista: ya se puede comprar con la cámara del celular |archiveurl=http://archive.is/20120915/http://www.ieco.clarin.com/empresas/Marketing-futurista-comprar-camara-celular_0_555544518.html |archivedate=2012-09-15}}</ref> but is currently expanding globally.<ref>{{cite web |url=http://www.physorg.com/news/2010-11-phone-friendly-codes-ads.html |title=11 November 2010 |archiveurl=http://archive.is/20120915/http://www.physorg.com/news/2010-11-phone-friendly-codes-ads.html |archivedate=2012-09-15}}</ref> Walmart, Procter & Gamble and Woolworths have already adopted the Virtual Store concept.<ref>{{cite web |url=http://www.shop2mobi.com/virtual-qr-code-store-examples/ |title=Top 10 QR Code Store examples |archiveurl=http://archive.is/20120915/http://www.shop2mobi.com/virtual-qr-code-store-examples/ |archivedate=2012-09-15}}</ref> |
|||
{{main|QR code payment}} |
|||
QR codes can be used to store bank account information or credit card information, or they can be specifically designed to work with particular payment provider applications. There are several trial applications of QR code payments across the world.<ref>{{cite web |url=http://mashable.com/2011/10/12/scvngr-levelup-redo/ |title=SCVNGR Unveils QR Code Payment System |website=[[Mashable]] |date=12 October 2011 |url-status=live |archive-url=https://web.archive.org/web/20121208114335/http://mashable.com/2011/10/12/scvngr-levelup-redo/ |archive-date=8 December 2012}}</ref><ref>{{cite news |url=http://gigaom.com/2012/01/26/mastercard-starts-piloting-qkr-mobile-payment-app/ |title=MasterCard starts piloting QkR mobile payment app |newspaper=Gigaom |url-status=live |archive-url=https://web.archive.org/web/20140108210253/http://gigaom.com/2012/01/26/mastercard-starts-piloting-qkr-mobile-payment-app/ |archive-date=8 January 2014|date=2012-01-26 |last1=Kim |first1=Ryan }}</ref> In developing countries including China,<ref>{{Cite web|url=https://www.businessinsider.com/alipay-wechat-pay-china-mobile-payments-street-vendors-musicians-2018-5|title=One photo shows that China is already in a cashless future|last=Jacobs|first=Harrison|website=Business Insider|access-date=2019-10-14|archive-date=5 May 2019|archive-url=https://web.archive.org/web/20190505225750/https://www.businessinsider.com/alipay-wechat-pay-china-mobile-payments-street-vendors-musicians-2018-5|url-status=live}}</ref><ref>{{Cite news|url=https://www.nytimes.com/2017/07/16/business/china-cash-smartphone-payments.html|title=In Urban China, Cash Is Rapidly Becoming Obsolete|last=Mozur|first=Paul|date=2017-07-16|work=The New York Times|access-date=2019-10-14|language=en-US|issn=0362-4331|archive-date=21 October 2019|archive-url=https://web.archive.org/web/20191021234322/https://www.nytimes.com/2017/07/16/business/china-cash-smartphone-payments.html|url-status=live}}</ref> India<ref>{{Cite web|title=Paying With Your Mobile Wallet To Get Simpler With Interoperable QR Codes|url=https://www.moneycontrol.com/news/business/personal-finance/paying-with-your-mobile-wallet-to-get-simpler-with-interoperable-qr-codes-6026991.html|access-date=2020-12-22|website=Moneycontrol|date=28 October 2020 |archive-date=1 November 2020|archive-url=https://web.archive.org/web/20201101054850/https://www.moneycontrol.com/news/business/personal-finance/paying-with-your-mobile-wallet-to-get-simpler-with-interoperable-qr-codes-6026991.html|url-status=live}}</ref> QR code payment is a very popular and convenient method of making payments. Since [[Alipay]] designed a QR code payment method in 2011,<ref>{{Cite web|title=A Hangzhou Story: The Development of China's Mobile Payment Revolution|url=https://lkyspp.nus.edu.sg/docs/default-source/case-studies/a-hangzhou-story.pdf?sfvrsn=2bb6690a_2|access-date=23 June 2020|archive-date=26 June 2020|archive-url=https://web.archive.org/web/20200626064851/https://lkyspp.nus.edu.sg/docs/default-source/case-studies/a-hangzhou-story.pdf?sfvrsn=2bb6690a_2|url-status=live}}</ref> mobile payment has been quickly adopted in China. As of 2018, around 83% of all payments were made via mobile payment.<ref>{{Cite web|title=Payment methods in China: How China became a mobile-first nation|url=https://daxueconsulting.com/payment-methods-in-china/|access-date=2020-06-23|website=daxueconsulting.com|archive-date=29 June 2020|archive-url=https://web.archive.org/web/20200629103810/https://daxueconsulting.com/payment-methods-in-china/|url-status=live}}</ref> |
|||
In November 2012, QR code payments were deployed on a larger scale in the [[Czech Republic]] when an open format for payment information exchange – a [[Short Payment Descriptor]] – was introduced and endorsed by the [[Czech Banking Association]] as the official local solution for QR payments.<ref>{{cite web |url=https://www.czech-ba.cz/aktivity/standardy/format-pro-sdileni-platebnich-udaju-v-czk-qr-kody |language=cs |title=Standard - Formát pro sdílení platebních údajů v rámci tuzemského platebního styku v CZK prostřednictvím QR kódů |trans-title=Standard No. 26: Format for exchanging payment information for domestic payments in CZK using QR codes |publisher=Czech Banking Association |date=November 2012 |access-date=27 May 2016 |url-status=live |archive-url=https://web.archive.org/web/20160603184757/https://www.czech-ba.cz/aktivity/standardy/format-pro-sdileni-platebnich-udaju-v-czk-qr-kody |archive-date=3 June 2016}}</ref><ref>{{cite web|url=https://cbaonline.cz/format-pro-sdileni-platebnich-udaju-v-czk-qr-kody|language=cs|title=Formát pro sdílení platebních údajů v CZK - QR kódy|trans-title=Format for exchanging payment information in CZK - QR codes|publisher=[[:cs:Česká bankovní asociace|Czech Banking Association]]|date=August 2015|access-date=2020-02-17|df=ymd-all|archive-date=16 February 2020|archive-url=https://web.archive.org/web/20200216234856/https://cbaonline.cz/format-pro-sdileni-platebnich-udaju-v-czk-qr-kody|url-status=live}}</ref> In 2013, the [[European Payments Council|European Payment Council]] provided guidelines for the [[EPC QR code]] enabling [[Giro (banking)|SCT]] initiation within the [[Eurozone]]. |
|||
=== Code payments === |
|||
In 2017, [[Singapore]] created a task force including government agencies such as the [[Monetary Authority of Singapore]] and [[Infocomm Media Development Authority]] to spearhead a system for e-payments using standardized QR code specifications. These specific dimensions are specialized for Singapore.<ref>{{Cite web |last=IMDA |date=November 9, 2022 |title=Annex A – Fact sheet on Singapore Quick Response Code (SGQR) |url=https://www.imda.gov.sg/-/media/Imda/Files/About/Media-Releases/2018/Annex-A--Singapore-Quick-Response-Code-SGQR.pdf |access-date=10 November 2022 |archive-date=5 December 2022 |archive-url=https://web.archive.org/web/20221205182456/https://www.imda.gov.sg/-/media/Imda/Files/About/Media-Releases/2018/Annex-A--Singapore-Quick-Response-Code-SGQR.pdf |url-status=live}}</ref> |
|||
QR codes can be used to store bank account information or credit card information, or they can be specifically designed to work with particular payment provider applications. There are several trial applications of QR code payments across the world.<ref>{{cite web |url=http://mashable.com/2011/10/12/scvngr-levelup-redo/ |title=SCVNGR Unveils QR Code Payment System }}</ref><ref>{{cite web |url=http://gigaom.com/2012/01/26/mastercard-starts-piloting-qkr-mobile-payment-app/ |title=MasterCard starts piloting QkR mobile payment app }}</ref> |
|||
The e-payment system, Singapore Quick Response Code (SGQR), essentially merges various QR codes into one label that can be used by both parties in the payment system. This allows for various banking apps to facilitate payments between multiple customers and a merchant that displays a single QR code. The SGQR scheme is co-owned by MAS and IMDA.<ref name=sgqr>{{Cite web |last=Monetary Authority of Singapore |date=November 9, 2022 |title=Singapore Quick Response Code (SGQR) |url=https://www.mas.gov.sg/development/e-payments/sgqr |access-date=10 November 2022 |archive-date=26 July 2022 |archive-url=https://web.archive.org/web/20220726112709/https://www.mas.gov.sg/development/e-payments/sgqr |url-status=live}}</ref> A single SDQR label contains e-payments and combines multiple payment options. People making purchases can scan the code and see which payment options the merchant accepts.<ref name=sgqr/> |
|||
In November 2012, QR code payments were deployed on a larger scale in the [[Czech Republic]] when an open format for payment information exchange - a [[Short Payment Descriptor]] - was introduced and endorsed by the Czech Banking Association as the official local solution for QR payments.<ref>{{cite web |url=https://www.czech-ba.cz/aktivity/standardy/format-pro-sdileni-platebnich-udaju-v-czk-qr-kody |title=Standard No. 26: Format for exchanging the payment information for Czech domestic payments using the QR codes |publisher=Czech Banking Association |date=November 2012 }}</ref> |
|||
QR codes are commonly used in the field of cryptographic currencies, particularly those based off and including [[Bitcoin]].<ref>http://bitcoin.org/en/faq</ref> Payment addresses, cryptographic keys and transaction information are often shared between digital wallets in this way.<ref>https://blockchain.info/wallet/features</ref> |
|||
=== Website login === |
=== Website login === |
||
QR codes can be used to log into websites: a QR code is shown on the login page on a [[Computer monitor|computer screen]], and when a registered user scans it with a verified smartphone, they will automatically be logged in. Authentication is performed by the smartphone, which contacts the server. Google deployed such a login scheme in 2012.<ref>{{cite web |url=http://www.zdnet.com/blog/security/google-testing-login-authentication-via-qr-codes/10105 |title=Google testing login authentication via QR codes|first=Ryan|last=Naraine|date=17 January 2012|website=[[ZDNet]] |url-status=dead |archive-url=https://web.archive.org/web/20130615073011/http://www.zdnet.com/blog/security/google-testing-login-authentication-via-qr-codes/10105 |archive-date=15 June 2013}}</ref> |
|||
=== Mobile ticket === |
|||
QR codes can be used to log in into websites: a QR Code is shown on the login page on a computer screen, and when a registered user scans it with a verified smartphone, they will automatically be logged in on the computer. Authentication is performed by the smartphone which contacts the server. Google tested such a login method in January 2012.<ref>{{cite web |url=http://www.zdnet.com/blog/security/google-testing-login-authentication-via-qr-codes/10105 |title=Google testing login authentication via QR codes}}</ref> |
|||
There is a system whereby a QR code can be displayed on a device such as a smartphone and used as an [[Ticket (admission)|admission ticket]].<ref>{{cite web|title=【公式】チケットの使い方 東京ディズニーリゾート|url=https://www.tokyodisneyresort.jp/ticket/usage.html|language=ja|access-date=20 October 2022|archive-date=20 October 2022|archive-url=https://web.archive.org/web/20221020051932/https://www.tokyodisneyresort.jp/ticket/usage.html|url-status=live}}</ref><ref>{{cite web |title=ダイレクトイン(QRコード)の使い方|USJ WEBチケットストア |url=https://www.usj.co.jp/ticket/guide/use.html |website=USJ |language=ja |access-date=20 October 2022 |archive-date=20 October 2022 |archive-url=https://web.archive.org/web/20221020052009/https://www.usj.co.jp/ticket/guide/use.html |url-status=live}}</ref> Its use is common for [[J1 League]] and [[Nippon Professional Baseball]] tickets in Japan.<ref>{{cite web |title=QRチケットレス入場について |url=https://www.sanfrecce.co.jp/tickets/qrcode |website=サンフレッチェ広島 オフィシャルサイト |language=ja}}</ref><ref>{{cite web |title=スマートスタジアム |url=https://www.rakuteneagles.jp/special/qrticket/ |website=東北楽天ゴールデンイーグルス |language=ja |access-date=20 October 2022 |archive-date=20 October 2022 |archive-url=https://web.archive.org/web/20221020053037/https://www.rakuteneagles.jp/special/qrticket/ |url-status=live}}</ref> In some cases, rights can be transferred via the Internet. In [[Latvia]], QR codes can be scanned in [[Riga]] public transport to validate [[Rīgas Satiksme]] e-tickets.<ref>{{Cite web |title=New Riga public transport tickets are on sale now {{!}} Rīgas valstspilsētas pašvaldība |url=https://www.riga.lv/en/article/new-riga-public-transport-tickets-are-sale-now |access-date=2023-09-13 |website=www.riga.lv |language=en}}</ref> |
|||
[[File:460-0061-COVID-19 7-2021-hinnerk-ruemenapf.jpg|thumb|A sign with a QR code that links to a drinks menu]] |
|||
=== Restaurant ordering === |
|||
Restaurants can present a QR code near the front door or at the table allowing guests to view an online menu, or even redirect them to an online ordering website or app, allowing them to order and/or possibly pay for their meal without having to use a cashier or waiter. QR codes can also link to daily or weekly specials that are not printed on the standardized menus,<ref>{{Cite web|date=2020-10-22|title= Modern Restaurant Management {{!}} The Business of Eating & Restaurant Management News|url=https://modernrestaurantmanagement.com/restaurant-qr-codes-2020s-comeback-story/|access-date=2020-11-01|website=modernrestaurantmanagement.com|language=en-US|archive-date=1 November 2020|archive-url=https://web.archive.org/web/20201101185731/https://modernrestaurantmanagement.com/restaurant-qr-codes-2020s-comeback-story/|url-status=live}}</ref> and enable the establishment to update the entire menu without needing to print copies. At table-serve restaurants, QR codes enable guests to order and pay for their meals without a waiter involved – the QR code contains the table number so servers know where to bring the food.<ref name="Verge, Kastrenakes, 9/29/20">{{cite web |last1=Kastrenakes |first1=Jacob |title=Square launches QR codes that let you order from your table at a restaurant |url=https://www.theverge.com/2020/9/29/21456594/square-qr-code-order-restaurants-pandemic-menu |website=Verge.com |publisher=VOX Media LLC. |access-date=24 November 2020 |date=September 29, 2020 |archive-date=23 November 2020 |archive-url=https://web.archive.org/web/20201123002301/https://www.theverge.com/2020/9/29/21456594/square-qr-code-order-restaurants-pandemic-menu |url-status=live}}</ref> This application has grown especially since the need for social distancing during the [[COVID-19 pandemic|2020 COVID-19 pandemic]] prompted reduced contact between service staff and customers.<ref name="Verge, Kastrenakes, 9/29/20" /> |
|||
=== Joining a Wi‑Fi network === |
|||
[[File:QR code Wi-Fi.svg|thumb|A QR code to automatically join a Wi‑Fi network]] |
|||
By specifying the SSID, encryption type, password/passphrase, and if the SSID is hidden or not, mobile device users can quickly scan and join networks without having to manually enter the data.<ref>{{cite web|title=Share your Wi-Fi SSID & Password using a QR Code|url=http://www.technostarry.com/share-wi-fi-details-using-qr-code/|date=2015-07-19|access-date=6 January 2018|archive-date=12 January 2023|archive-url=https://web.archive.org/web/20230112193217/http://www.technostarry.com/share-wi-fi-details-using-qr-code/|url-status=live}}</ref> A [[MeCard (QR code)|MeCard]]-like format is supported by Android and iOS 11+.<ref>{{cite web |title=zxing documentation: barcode contents |url=https://github.com/zxing/zxing/wiki/Barcode-Contents |website=GitHub |publisher=zxing |language=en |access-date=26 May 2016 |archive-date=15 February 2016 |archive-url=https://web.archive.org/web/20160215201205/https://github.com/zxing/zxing/wiki/Barcode-Contents |url-status=live}}</ref> |
|||
* Common format: <code>WIFI:S:<SSID>;T:<WEP|WPA|nopass>;P:<PASSWORD>;H:<true|false|blank>;;</code> |
|||
* Sample: <code>WIFI:S:MySSID;T:WPA;P:MyPassW0rd;;</code> |
|||
=== Funerary use === |
=== Funerary use === |
||
[[File:Adrian Warburton grave.jpg|thumb|QR code tile next to the grave of [[Wing commander|Wing Commander]] [[Adrian Warburton]] at Durnbach War Cemetery in [[Gmund am Tegernsee]], [[Germany]]. The code links to his Wikipedia entry.]] |
|||
In 2008, Ishinokoe in Yamanashi Prefecture, Japan began to sell tombstones with QR codes produced by IT DeSign, where the code leads to a virtual grave site of the deceased.<ref>[http://www.j-cast.com/mono/2008/03/20018046.html お墓参りも「ネット」の時代 携帯サイトで故人を偲ぶ]</ref><ref>[https://web.archive.org/web/20120502174456/http://www.japantrends.com/qr-code-graves-give-a-memorial-window/ QR code graves give a "Memorial Window"]</ref><ref>[http://mobile.ishinokoe.co.jp/ 供養の窓 - 石の声 株式会社]</ref> Other companies have begun implementing QR codes into tombstones<ref>[http://www.bizjournals.com/seattle/blog/2011/04/seattle-company-quiring-monuments-adds.html Quiring Monuments adds smartphone codes to gravestones]</ref> and in 2014 the [[Jewish Cemetery of La Paz]] in Uruguay, began implementing QR codes for tombstones.<ref>{{cite web |url=http://www.elpais.com.uy/informacion/cementerio-judio-se-moderniza-codigos.html |title=Uruguayan Jewish Cemetery QRfied |date=24 March 2014 |publisher=[[El País (Uruguay)|EL PAIS]] |language=es}}</ref> |
|||
A QR code can link to an [[obituary]] and can be placed on a [[headstone]]. In 2008, Ishinokoe in Yamanashi Prefecture, Japan began to sell tombstones with QR codes produced by IT DeSign, where the code leads to a virtual grave site of the deceased.<ref>{{cite web|url=http://www.j-cast.com/mono/2008/03/20018046.html|title=モノウォッチは生まれ変わります|access-date=10 September 2015|url-status=live|archive-url=https://web.archive.org/web/20151113030838/http://www.j-cast.com/mono/2008/03/20018046.html|archive-date=13 November 2015}}</ref><ref>{{cite news|url=http://www.japantrends.com/qr-code-graves-give-a-memorial-window/|archive-url=https://web.archive.org/web/20120502174456/http://www.japantrends.com/qr-code-graves-give-a-memorial-window/|title=QR code graves give a "Memorial Window"|archive-date=2 May 2012|work=Japan Trends|author=Michael Keferl|date=20 March 2008}}</ref><ref>{{cite web|url=http://mobile.ishinokoe.co.jp/|language=ja|title=供養の窓 - 石の声 株式会社|access-date=10 September 2015|url-status=live|archive-url=https://web.archive.org/web/20151113024828/http://mobile.ishinokoe.co.jp/|archive-date=13 November 2015}}</ref> Other companies, such as Wisconsin-based Interactive Headstones, have also begun implementing QR codes into tombstones.<ref>{{cite web|url=http://www.bizjournals.com/seattle/blog/2011/04/seattle-company-quiring-monuments-adds.html|title=Quiring Monuments adds smartphone codes to gravestones|date=26 April 2011|work=Puget Sound Business Journal|access-date=10 September 2015|url-status=live|archive-url=https://web.archive.org/web/20150623145144/http://www.bizjournals.com/seattle/blog/2011/04/seattle-company-quiring-monuments-adds.html|archive-date=23 June 2015}}</ref> In 2014, the [[Jewish Cemetery of La Paz]] in Uruguay began implementing QR codes for tombstones.<ref>{{cite web |url=http://www.elpais.com.uy/informacion/cementerio-judio-se-moderniza-codigos.html |title=Uruguayan Jewish Cemetery QR-ified |date=24 March 2014 |publisher=[[El País (Uruguay)|EL PAIS]] |language=es |url-status=dead |archive-url=https://web.archive.org/web/20160803055928/http://www.elpais.com.uy/informacion/cementerio-judio-se-moderniza-codigos.html |archive-date=3 August 2016}}</ref> |
|||
=== Encryption === |
|||
[[File:Japan Visa with QR code.jpg|thumb|141px|Japanese visa with a QR code (content is not deciphered)]] |
|||
=== Electronic authentication === |
|||
Encrypted QR codes, which are not very common, have a few implementations. An [[Android (operating system)|Android]] app,<ref>{{cite web |url=https://market.android.com/details?id=la.droid.qr |title=QR Droid |publisher=Google |date=19 August 2011 |accessdate=5 September 2011 }}</ref> for example, manages encryption and decryption of QR codes using the [[Data Encryption Standard|DES algorithm]] (56 bits).<ref>{{cite web |url=http://qrdroid.com/encrypted-qr-codes-share-secret-messages.html |title=Encrypted QR Codes |publisher=QR Droid |date=24 October 2011 |accessdate=5 September 2011 }}</ref> The Japanese immigration system uses encrypted QR codes when issuing visa in passports <ref>{{cite web |url=http://blog.cliffano.com/2009/05/18/qr-code-usage-in-japan/ |title=QR Code Usage In Japan |publisher=Studio Cliffano |date=18 May 2009 |accessdate=18 May 2009 }}</ref> as shown in the figure to the right. |
|||
QR codes can be used to generate [[time-based one-time password]]s for [[electronic authentication]]. |
|||
== |
=== Loyalty programs=== |
||
QR codes have been used by various retail outlets that have [[loyalty program]]s. Sometimes these programs are accessed with an [[Mobile app|app]] that is loaded onto a phone and includes a process triggered by a QR code scan. The QR codes for loyalty programs tend to be found printed on the [[receipt]] for a purchase or on the products themselves. Users in these schemes collect award points by scanning a code. |
|||
=== Counterfeit detection === |
|||
Unlike the older, one-dimensional barcodes that were designed to be mechanically scanned by a narrow beam of light, a QR code is detected by a 2-dimensional digital [[image sensor]] and then digitally analyzed by a programmed processor. The processor locates the three distinctive squares at the corners of the QR code image, using a smaller square (or multiple squares) near the fourth corner to normalize the image for size, orientation, and angle of viewing. The small dots throughout the QR code are then converted to binary numbers and validated with an error-correcting algorithm. |
|||
Serialised QR codes have been used by brands<ref>{{Cite news|url=https://www.just-drinks.com/news/pernod-ricard-to-use-qr-codes-on-all-china-packaging_id111521.aspx|title=Exclusive - CHINA: Pernod Ricard to use QR codes on all China packaging|date=2013-09-17|website=www.just-drinks.com|access-date=2020-04-24}}</ref> and governments<ref>{{Cite web|url=https://www.monitor.co.ug/Business/Technology/Digital-tax-stamps-will-curb-fake-goods-URA--/688612-5462046-h6c29h/index.html|title=Digital tax stamps will curb fake goods - URA|website=Daily Monitor|language=en|access-date=2020-04-24|archive-date=12 January 2023|archive-url=https://web.archive.org/web/20230112193213/https://www.monitor.co.ug/Business/Technology/Digital-tax-stamps-will-curb-fake-goods-URA--/688612-5462046-h6c29h/index.html|url-status=live}}</ref> to let consumers, retailers and distributors verify the authenticity of the products and help with detecting counterfeit products, as part of a [[brand protection]] program.<ref>{{Cite web|title=The power of smart packaging|url=https://www.bakingbusiness.com/articles/49373-the-power-of-smart-packaging?v=preview|website=www.bakingbusiness.com|language=en|access-date=2020-05-03|archive-date=12 January 2023|archive-url=https://web.archive.org/web/20230112193223/https://www.bakingbusiness.com/articles/49373-the-power-of-smart-packaging?v=preview|url-status=live}}</ref> However, the security level of a regular QR code is limited since QR codes printed on original products are easily reproduced on fake products, even though the analysis of data generated as a result of QR code scanning can be used to detect counterfeiting and illicit activity.<ref>{{cite book | last1=Baldini | first1=Gianmarco | last2=Nai Fovino | first2=Igor | last3=Satta | first3=Riccardo | last4=Tsois | first4=Aris | last5=Checchi | first5=Enrico | title=Survey of techniques for the fight against counterfeit goods and Intellectual Property Rights (IPR) infringement. | publisher=European Commission. Joint Research Centre, Publications Office| publication-place=Luxembourg | date=2015 | isbn=978-92-79-54543-6 | oclc=948769705 |url=https://op.europa.eu/en/publication-detail/-/publication/2904eb6b-72e0-442f-a4fb-54f68ddcc30e/language-en|pages=28, 89–92}}</ref> A higher security level can be attained by embedding a [[digital watermark]] or [[copy detection pattern]] into the image of the QR code. This makes the QR code more secure against counterfeiting attempts; products that display a code which is counterfeit, although valid as a QR code, can be detected by scanning the secure QR code with the appropriate app.<ref>{{Cite web|last=Carron|first=Cecilia|date=2015-05-06|title=Combatting counterfeiting using QR codes|url=https://phys.org/news/2015-05-combatting-counterfeiting-qr-codes.html|access-date=2020-06-16|website=phys.org|language=en|archive-date=12 January 2023|archive-url=https://web.archive.org/web/20230112193214/https://phys.org/news/2015-05-combatting-counterfeiting-qr-codes.html|url-status=live}}</ref> |
|||
The treaty regulating [[apostille]]s (documents bearing a seal of authenticity), has been updated to allow the issuance of digital apostilles by countries; a digital apostille is a PDF document with a [[cryptographic signature]] containing a QR code for a canonical URL of the original document, allowing users to verify the apostille from a printed version of the document. |
|||
=== Storage === |
|||
=== Product tracing === |
|||
{{Further|Produce traceability}} |
|||
Different studies have been conducted to assess the effectiveness of QR codes as a means of conveying labelling information and their use as part of a food traceability system. In a field experiment, it was found that when provided free access to a smartphone with a QR code scanning app, 52.6% of participants would use it to access labelling information.<ref>{{Cite journal|date=2019|editor-last=Li|editor-first=Tongzhe|editor2-last=Messer|editor2-first=Kent D.|title=To Scan or Not to Scan: The Question of Consumer Behavior and QR Codes on Food Packages|url=https://ageconsearch.umn.edu/record/287977/|journal=Journal of Agricultural and Resource Economics|doi=10.22004/ag.econ.287977|issn=1068-5502|last1=Li|first1=Tongzhe|last2=Messer|first2=Kent D.|last3=Li|first3=Tongzhe|last4=Messer|first4=Kent D.|access-date=24 June 2020|archive-date=1 November 2020|archive-url=https://web.archive.org/web/20201101071952/https://ageconsearch.umn.edu/record/287977/|url-status=live}}</ref> A study made in South Korea showed that consumers appreciate QR code used in food traceability system, as they provide detailed information about food, as well as information that helps them in their purchasing decision.<ref>{{Cite journal|last1=Kim|first1=Yeong Gug|last2=Woo|first2=Eunju|date=2016-07-01|title=Consumer acceptance of a quick response (QR) code for the food traceability system: Application of an extended technology acceptance model (TAM)|url=http://www.sciencedirect.com/science/article/pii/S0963996916301880|journal=Food Research International|language=en|volume=85|pages=266–272|doi=10.1016/j.foodres.2016.05.002|pmid=29544844|issn=0963-9969}}</ref> If QR codes are serialised, consumers can access a web page showing the supply chain for each ingredient, as well as information specific to each related batch, including meat processors and manufacturers, which helps address the concerns they have about the origin of their food.<ref>{{Cite web|title=Behind Every Smart Product is Smart Packaging {{!}} Future Food Asia|url=https://futurefoodasia.com/2019/11/smartpackaging/|access-date=2020-06-24|website=futurefoodasia.com|archive-date=21 June 2020|archive-url=https://web.archive.org/web/20200621002517/https://futurefoodasia.com/2019/11/smartpackaging/|url-status=live}}</ref> |
|||
=== COVID-19 pandemic === |
|||
[[File:460-0095-COVID-19 7-2021-hinnerk-ruemenapf.jpg|thumb|Two QR codes that link to German contact tracing app check-ins during the COVID-19 pandemic]] |
|||
After the [[COVID-19 pandemic]] began spreading, QR codes began to be used as a "touchless" system to display information, show menus, or provide updated consumer information, especially in the hospitality industry. Restaurants replaced paper or laminated plastic menus with QR code decals on the table, which opened an online version of the menu. This prevented the need to dispose of single-use paper menus, or institute cleaning and sanitizing procedures for permanent menus after each use.<ref>{{Cite web|last=Leger|first=Benjamin|date=2020-10-27|title=QR codes are replacing physical menus at restaurants|url=https://www.225batonrouge.com/food-drink/qr-codes-replacing-physical-menus-restaurants|access-date=2020-11-01|website=[225]|language=en|archive-date=1 November 2020|archive-url=https://web.archive.org/web/20201101020017/https://www.225batonrouge.com/food-drink/qr-codes-replacing-physical-menus-restaurants|url-status=live}}</ref> Local television stations have also begun to utilize codes on [[local news]]casts to allow viewers quicker access to stories or information involving the pandemic, including testing and immunization scheduling websites, or for links within stories mentioned in the newscasts overall. |
|||
In [[Australia]], patrons were required to scan QR codes at shops, clubs, supermarkets, and other service and retail establishments on entry to assist [[contact tracing]]. Singapore, [[Taiwan]], the United Kingdom, and [[New Zealand]] used similar systems.<ref name="abc-qr-code-tracing">{{cite news |last1=Purtill |first1=James |title=The proliferation of QR code check-ins is a 'dog's breakfast'. Is there a better way? |url=https://www.abc.net.au/news/science/2020-11-20/covid-19-coronavirus-why-so-many-qr-code-check-in-systems/12895678 |access-date=15 January 2021 |work=www.abc.net.au |publisher=Australian Broadcasting Corporation |date=19 November 2020 |language=en-AU |archive-date=30 January 2021 |archive-url=https://web.archive.org/web/20210130230912/https://www.abc.net.au/news/science/2020-11-20/covid-19-coronavirus-why-so-many-qr-code-check-in-systems/12895678 |url-status=live}}</ref> |
|||
QR codes are also present on COVID-19 vaccination certificates in places such as [[Canada]] and the [[European Union|EU]] ([[EU Digital COVID Certificate|EU Digital COVID certificate]]), where they can be scanned to verify the information on the certificate.<ref>{{Cite web|last=Hristova|first=Bobby|date=2021-12-28|title=Ontarians need QR code to prove vaccination next week. Here's what you need to know|language=en-CA|access-date=2021-12-30|url=https://www.cbc.ca/news/canada/hamilton/qr-code-hamilton-covid-19-1.6299207|archive-date=31 December 2021|archive-url=https://web.archive.org/web/20211231015635/https://www.cbc.ca/news/canada/hamilton/qr-code-hamilton-covid-19-1.6299207|url-status=live}}</ref> |
|||
== Design == |
|||
Unlike the older, one-dimensional barcodes that were designed to be mechanically scanned by a narrow beam of light, a QR code is detected by a two-dimensional digital [[image sensor]] and then digitally analyzed by a programmed processor. The processor locates the three distinctive squares at the corners of the QR code image, using a smaller square (or multiple squares) near the fourth corner to normalize the image for size, orientation, and angle of viewing. The small dots throughout the QR code are then converted to binary numbers and validated with an error-correcting algorithm. |
|||
=== Information capacity === |
|||
The amount of data that can be stored in the QR code symbol depends on the datatype (''mode'', or input character set), version (1, …, 40, indicating the overall dimensions of the symbol), and [[#Error correction|error correction]] level. The maximum storage capacities occur for 40-L symbols (version 40, error correction level L):<ref name=About2DCode/><ref>{{cite web |url=http://www.qrcode.com/en/vertable1.html |title=Version and Maximum capacity table |publisher=Denso-Wave |archiveurl=http://archive.is/20120915/http://www.qrcode.com/en/vertable1.html |archivedate=2012-09-15}}</ref> |
|||
The amount of data that can be represented by a QR code symbol depends on the data type (''mode'', or input character set), version (1, ..., 40, indicating the overall dimensions of the symbol, i.e. 4 × version number + 17 dots on each side), and [[#Error correction|error correction]] level. The maximum storage capacities occur for version 40 and error correction level L (low), denoted by 40-L:<ref name=About2DCode/><ref>{{cite web|url=http://www.qrcode.com/en/about/version.html|title=Information capacity and versions of QR Code|publisher=Denso-Wave|url-status=live|archive-url=https://web.archive.org/web/20160529014826/http://www.qrcode.com/en/about/version.html|archive-date=29 May 2016}}</ref> |
|||
{| class="wikitable" |
{| class="wikitable" |
||
|+ Maximum character storage capacity (40-L) <br><small>'' |
|+ Maximum character storage capacity (40-L) <br><small>''Character'' refers to individual values of the input mode (data type).</small> |
||
|- |
|- |
||
! Input mode |
! Input mode |
||
! |
! Max. characters !! Bits/char. !! Possible characters, default encoding |
||
|- |
|- |
||
!Numeric only |
! Numeric only |
||
| 7,089 || |
| 7,089 || 3{{frac|1|3}} || 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
||
|- |
|- |
||
![[Alphanumeric]] |
! [[Alphanumeric]] |
||
| 4,296 || 5 |
| 4,296 || 5{{frac|1|2}} || 0–9, A–Z (upper-case only), space$, %, *, +, -, ., /, : |
||
|- |
|- |
||
![[Binary numeral system|Binary]]/byte |
! [[Binary numeral system|Binary]]/byte |
||
| 2,953 || 8 || [[ISO 8859-1]] |
| 2,953 || 8 || [[ISO/IEC 8859-1]] |
||
|- |
|- |
||
![[Kanji]]/[[kana]] |
! [[Kanji]]/[[kana]] |
||
| 1,817 || 13 || [[Shift JIS]] [[JIS X 0208|X 0208]] |
| 1,817 || 13 || [[Shift JIS]] [[JIS X 0208|X 0208]] |
||
|} |
|} |
||
Here are some |
Here are some samples of QR codes: |
||
<gallery widths=220 heights=220> |
<gallery widths="220" heights="220"> |
||
File:Qr-1. |
File:Qr-1.svg|Version 1 (21×21). Content: "Ver1" |
||
File:Qr-2. |
File:Qr-2.svg|Version 2 (25×25). Content: "Version 2" |
||
File:Qr-3. |
File:Qr-3.svg|Version 3 (29×29). Content: "Version 3 QR Code" |
||
File:Qr-4. |
File:Qr-4.svg|Version 4 (33×33). Content: "Version 4 QR Code, up to 50 char" |
||
File:Qr-code-ver-10. |
File:Qr-code-ver-10.svg|Version 10 (57×57). Content: "VERSION 10 QR CODE, UP TO 174 CHAR AT H LEVEL, WITH 57X57 MODULES AND PLENTY OF ERROR CORRECTION TO GO AROUND. NOTE THAT THERE ARE ADDITIONAL TRACKING BOXES" (actually encoded in all capital letters). (Tracking boxes are more commonly called ''alignment patterns''.) |
||
File: |
File:QR Code Version 25.svg|Version 25 (117×117) Content: 1,269 characters of ASCII text describing QR codes |
||
File:Qr-code-ver-40. |
File:Qr-code-ver-40.svg|Version 40 (177×177) Content: "Version 40 QR Code can contain up to 1852 chars ..." (and followed by four paragraphs of ASCII text describing QR codes). The text refers to a QR Code with a "Level H" error correction. Other levels provide higher capacity. |
||
</gallery> |
</gallery> |
||
=== Error correction === |
=== Error correction === |
||
[[File:QR Code Damaged.jpg|thumb |
[[File:QR Code Damaged.jpg|thumb|Damaged but still decodable QR code, link to http://en.m.wikipedia.org]] |
||
[[File: |
[[File:2 150 150DPI ty oerny 08 2011.jpg|thumb|Example of a QR code with artistic embellishment that will still scan correctly thanks to error correction. When scanned, the code directs users to the artist's personal website.]] |
||
QR codes use [[Reed–Solomon error correction]] over the [[finite field]] <math>\mathbb{F}_{256}</math> or {{math|GF(2<sup>8</sup>)}}, the elements of which are encoded as [[Octet (computing)|bytes of 8 bits]]; the byte <math>b_7b_6b_5b_4b_3b_2b_1b_0</math> with a standard numerical value <math>\textstyle\sum_{i=0}^7 b_i 2^i</math> encodes the field element <math>\textstyle\sum_{i=0}^7 b_i \alpha^i</math> where <math> \alpha \in \mathbb{F}_{256}</math> is taken to be a primitive element satisfying <math>\alpha^8 + \alpha^4 + \alpha^3 + \alpha^2 + 1 = 0</math>. The primitive polynomial is <math>x^8 + x^4 + x^3 + x^2 + 1 </math>, corresponding to the polynomial number 285, with initial root = 0 to obtain generator polynomials. |
|||
Codewords are [[Octet (computing)|8 bits]] long and use the [[Reed–Solomon error correction]] algorithm with four error correction levels. The higher the error correction level, the less storage capacity. The following table lists the approximate error correction capability at each of the four levels: |
|||
The Reed–Solomon code uses one of 37 different polynomials over <math>\mathbb{F}_{256}</math>, with degrees ranging from 7 to 68, depending on how many error correction bytes the code adds. It is implied by the form of Reed–Solomon used ([[Reed–Solomon error correction#The BCH view: The codeword as a sequence of coefficients|systematic BCH view]]) that these polynomials are all on the form <math display="inline">\prod_{i=0}^{n-1} (x - \alpha^i)</math>. However, the rules for selecting the degree <math>n</math> are specific to the QR standard. |
|||
For example, the generator polynomial used for the Version 1 QR code (21×21), when 7 error correction bytes are used, is: |
|||
<math>g(x)= x^7+\alpha^{87}x^6+\alpha^{229}x^5+\alpha^{146}x^4+\alpha^{149}x^3+\alpha^{238}x^2+\alpha^{102}x+\alpha^{21}</math>. |
|||
This is obtained by multiplying the first seven terms: |
|||
<math>g(x)=(x+1)(x+\alpha)(x+\alpha^2)(x+\alpha^3)(x+\alpha^4)(x+\alpha^5)(x+\alpha^6)</math>. |
|||
The same may also be expressed using decimal coefficients (over <math>\mathbb{F}_{256}</math>), as: |
|||
<math>g(x)= x^7+127x^6+122x^5+154x^4+164x^3+11x^2+68x+117</math>. |
|||
The highest power of <math>x</math> in the polynomial (the degree <math>n</math>, of the polynomial) determines the number of error correction bytes. In this case, the degree is 7. |
|||
When discussing the Reed–Solomon code phase there is some risk for confusion, in that the QR ISO/IEC standard uses the term ''codeword'' for the elements of <math>\mathbb{F}_{256}</math>, which with respect to the Reed–Solomon code are [[code#Theory|symbols]], whereas it uses the term ''block'' for what with respect to the Reed–Solomon code are the codewords. The number of data versus error correction bytes within each block depends on (i) the version (side length) of the QR symbol and (ii) the error correction level, of which there are four. The higher the error correction level, the less storage capacity. The following table lists the approximate error correction capability at each of the four levels: |
|||
{| |
{| |
||
|- |
|- |
||
| Level L (Low) || 7% of |
| Level L (Low) || 7% of data bytes can be restored. |
||
|- |
|- |
||
| Level M (Medium) || 15% of |
| Level M (Medium) || 15% of data bytes can be restored. |
||
|- |
|- |
||
| Level Q (Quartile)<ref>{{cite web |url=http://www.tec-it.com/de/support/knowbase/symbologies/qrcode/Default.aspx |title=2D Barcode: QR-Code | |
| Level Q (Quartile)<ref>{{cite web |url=http://www.tec-it.com/de/support/knowbase/symbologies/qrcode/Default.aspx |title=2D Barcode: QR-Code |archive-url=https://archive.today/20120915/http://www.tec-it.com/de/support/knowbase/symbologies/qrcode/Default.aspx |archive-date=2012-09-15}} — TEC-IT</ref> || 25% of data bytes can be restored. |
||
|- |
|- |
||
| Level H (High) || 30% of |
| Level H (High) || 30% of data bytes can be restored. |
||
|} |
|} |
||
In larger QR symbols, the message is broken up into several Reed–Solomon code blocks. The block size is chosen so that |
In larger QR symbols, the message is broken up into several Reed–Solomon code blocks. The block size is chosen so that no attempt is made at correcting more than 15 errors per block; this limits the complexity of the decoding algorithm. The code blocks are then interleaved together, making it less likely that localized damage to a QR symbol will overwhelm the capacity of any single block. |
||
The Version 1 QR symbol with level L error correction, for example, consists of a single error correction block with a total of '''26 code''' bytes (made of '''19''' message bytes and seven error correction bytes). It can correct up to '''2''' byte errors. Hence, this code is known as a '''(26,19,2)''' error correction code over {{math|GF(2<sup>8</sup>)}} . It is also sometimes represented in short, as (26,19) code. |
|||
Due to error correction, it is possible to create artistic QR codes that still scan correctly, but contain intentional errors to make them more readable or attractive to the human eye, as well as to incorporate colors, logos, and other features into the QR code block.<ref>{{cite web | url = http://blog.360i.com/emerging-media/creative-qr-codes | title = Form Meets Function: Extreme Makeover QR Code Edition | author = Orli Sharaby | date = 18 October 2010 | accessdate =29 July 2011 |archiveurl=http://archive.is/20120708/http://blog.360i.com/emerging-media/creative-qr-codes |archivedate=2012-07-08}}</ref><ref>{{cite web | url = http://mashable.com/2011/04/18/qr-code-design-tips/ | title = HOW TO: Make Your QR Codes More Beautiful | author = Hamilton Chan | date = 18 April 2011 | accessdate =29 July 2011 |archiveurl=http://archive.is/20120710/http://mashable.com/2011/04/18/qr-code-design-tips/ |archivedate=2012-07-10}}</ref> |
|||
Due to error correction, it is possible to create artistic QR codes with embellishments to make them more readable or attractive to the human eye, and to incorporate colors, logos, and other features into the QR code block; the embellishments are treated as errors, but the codes still scan correctly.<ref>{{cite web | url = http://mashable.com/2011/04/18/qr-code-design-tips/ | title = HOW TO: Make Your QR Codes More Beautiful | author = Hamilton Chan | website = [[Mashable]] | date = 18 April 2011 | access-date =29 July 2011 |archive-url=https://archive.today/20120710/http://mashable.com/2011/04/18/qr-code-design-tips/ |archive-date=2012-07-10}}</ref><ref>{{cite web | url = http://blog.360i.com/emerging-media/creative-qr-codes | title = Form Meets Function: Extreme Makeover QR Code Edition | author = Orli Sharaby | date = 18 October 2010 | access-date =29 July 2011 |archive-url=https://archive.today/20120708/http://blog.360i.com/emerging-media/creative-qr-codes |archive-date=2012-07-08}}</ref> |
|||
It is also possible to design artistic QR codes without reducing the error correction capacity by manipulating the underlying mathematical constructs.<ref>{{cite web | url = http://research.swtch.com/qart | title = QArt Codes: How to make pictures with QR codes, part II | author = Russ Cox | date = 12 April 2012 | access-date = 8 May 2015 |archive-url=https://web.archive.org/web/20150321031237/http://research.swtch.com/qart |archive-date=2015-03-21}}</ref><ref>{{cite web | url = http://research.swtch.com/qr/draw | title = QArt Coder | author = Russ Cox | date = 12 April 2012 | access-date = 8 May 2015 | url-status=live | archive-url = https://web.archive.org/web/20150424073132/http://research.swtch.com/qr/draw | archive-date = 24 April 2015}}</ref> Image processing algorithms are also used to reduce errors in QR-code.<ref>{{cite journal|last1=Gupta|first1=Kishor Datta|last2=Ahsan|first2=Md Manjurul|last3=Andrei|first3=Stefan|date=January 2018|pages=59–71 | title=Extending the Storage Capacity And Noise Reduction of a Faster QR-Code|volume=9|issue=1|journal=Brain Broad Research in Artificial Intelligence and Neuroscience|url=https://www.researchgate.net/publication/323676167}}</ref> |
|||
=== Encoding === |
=== Encoding === |
||
====Format information and masking==== |
|||
The format information records two things: the error correction level and the mask pattern used for the symbol. Masking is used to break up patterns in the data area that might confuse a scanner, such as large blank areas or misleading features that look like the locator marks. The mask patterns are defined on a grid that is repeated as necessary to cover the whole symbol. Modules corresponding to the dark areas of the mask are inverted. The 5-bit format information is protected from errors with a [[BCH code]], and two complete copies are included in each QR symbol.<ref name=autogenerated1 /> A (15,5) triple error-correcting BCH code over {{math|GF(2<sup>4</sup>)}} is used, having the generator polynomial <math>g(x)=x^{10}+x^8+x^5+x^4+x^2+x+1</math>. It can correct at most 3 bit-errors out of the 5 data bits. There are a total of 15 bits in this BCH code (10 bits are added for error correction). This 15-bit code is itself X-ORed with a fixed 15-bit mask pattern ('''101010000010010''') to prevent an all-zero string. |
|||
====Error correction bytes==== |
|||
The format information records two things: the error correction level and the mask pattern used for the symbol. Masking is used to break up patterns in the data area that might confuse a scanner, such as large blank areas or misleading features that look like the locator marks. The mask patterns are defined on a grid that is repeated as necessary to cover the whole symbol. Modules corresponding to the dark areas of the mask are inverted. The format information is protected from errors with a [[BCH code]], and two complete copies are included in each QR symbol.<ref name=autogenerated1 /> |
|||
To obtain the error correction (EC) bytes for a message "www.wikipedia.org", the following procedure may be carried out: |
|||
The message is 17 bytes long, hence it can be encoded using a (26,19,2) Reed-Solomon code to fit in a Ver1 (21×21) symbol, which has a maximum capacity of 19 bytes (for L level error correction). |
|||
The generator polynomial specified for the (26,19,2) code, is: |
|||
<math>g(x)= x^7+127x^6+122x^5+154x^4+164x^3+11x^2+68x+117</math>, |
|||
which may also be written in the form of a matrix of decimal coefficients: |
|||
'''[1 127 122 154 164 11 68 117]''' |
|||
The 17-byte long message "www.wikipedia.org" as hexadecimal coefficients (ASCII values), denoted by M1 through M17 is: |
|||
'''[77 77 77 2E 77 69 6B 69 70 65 64 69 61 2E 6E 72 67]''' |
|||
The encoding mode is "Byte encoding". Hence the 'Enc' field is [0100] (4 bits). The length of the above message is 17 bytes hence 'Len' field is [00010001] (8 bits). The 'End' field is End of message marker [0000] (4 bits). |
|||
The message code word (without EC bytes) is of the form: |
|||
'''['Enc' 'Len' w w w . w i k i p e d i a . o r g 'End']''' |
|||
Substituting the hexadecimal values, it can be expressed as: |
|||
'''[4 11 77 77 77 2E 77 69 6B 69 70 65 64 69 61 2E 6E 72 67 0]''' |
|||
This is rearranged as 19-byte blocks of 8 bits each: |
|||
'''[<span style="color:blue">41 17 77 77 72 E7 76 96 B6 97 06 56 46 96 12 E6 E7 26 70</span>]''' |
|||
Using the procedure for [[Reed–Solomon error correction#Constructions (encoding)|Reed-Solomon systematic encoding]], the 7 EC bytes obtained (E1 through E7, as shown in the symbol) which are the coefficients (in decimal) of the remainder after polynomial division are: |
|||
'''[<span style="color:red">174 173 239 6 151 143 37</span>]''' |
|||
or in hexadecimal values: |
|||
'''[<span style="color:red">AE AD EF 06 97 8F 25</span>]''' |
|||
These 7 EC bytes are then appended to the 19-byte message. The resulting coded message has 26 bytes (in hexadecimal): |
|||
'''[<span style="color:blue">41 17 77 77 72 E7 76 96 B6 97 06 56 46 96 12 E6 E7 26 70</span> <span style="color:red">AE AD EF 06 97 8F 25</span>]''' |
|||
Note: The bit values shown in the Ver1 QR symbol below do not match with the above values, as the symbol has been masked using a mask pattern (001). |
|||
====Message placement==== |
|||
The message dataset is placed from right to left in a zigzag pattern, as shown below. In larger symbols, this is complicated by the presence of the alignment patterns and the use of multiple interleaved error-correction blocks. |
The message dataset is placed from right to left in a zigzag pattern, as shown below. In larger symbols, this is complicated by the presence of the alignment patterns and the use of multiple interleaved error-correction blocks. |
||
<gallery widths=280 heights=200> |
|||
<gallery widths="280" heights="200"> |
|||
File:QR Format Information.svg|Meaning of format information |
|||
File:QR Format Information.svg|Meaning of format information. In the above figure, the format information is protected by a (15,5) BCH code, which can correct up to 3 bit errors. The total length of the code is 15 bits, of which 5 are data bits (2 EC level + 3 mask pattern) and 10 are extra bits for error correction. The '''format mask pattern''' for these 15 bits is: ['''101010000010010''']. Note that we map the masked values directly to its meaning here, in contrast to image 4 "Levels & Masks" where the mask pattern numbers are the result of putting the 3rd to 5th mask bit, ['''101'''], over the 3rd to 5th format info bit of the QR code. |
|||
File:QR Character Placement.svg|Message placement within a QR symbol |
|||
File:QR Character Placement.svg|Message placement within a Ver 1 QR symbol (21×21). The message is encoded using a (255,248) Reed Solomon code (shortened to (26,19) code by using "padding") that can correct up to 2 byte-errors. A total of 26 code-words consist of 7 error-correction bytes, and 17 data bytes, in addition to the "Len" (8 bit field), "Enc" (4 bit field), and "End" (4 bit field). The symbol is capable of level L error correction. The EC level is 01(L), and mask pattern is 001. Hence the first 5 bits of the format information are 01001 (without the format mask). After masking, the 5 bits become 11100, as seen here. |
|||
File:QR Ver3 Codeword Ordering.svg|Larger symbol illustrating interleaved blocks |
|||
File:QR Ver3 Codeword Ordering.svg|Larger symbol (Ver 3, 29×29) illustrating interleaved blocks. The message has 26 data bytes and is encoded using two Reed-Solomon code blocks. Each block is a (255,233) Reed Solomon code (shortened to (35,13) code), which can correct up to 11 byte-errors in a single burst, containing 13 data bytes and 22 "parity" bytes appended to the data bytes. The two 35-byte Reed-Solomon code blocks are interleaved (resulting in a total of 70 code bytes), so it can correct up to 22 byte-errors. The symbol achieves level H error correction. |
|||
</gallery> |
</gallery> |
||
The general structure of a QR encoding is as a sequence of 4 bit indicators with payload length dependent on the indicator mode (e.g. byte encoding payload length is dependent on the first byte).<ref>ISO/IEC 18004:2006(E) § 6.4 Data encoding; Table 3 – Number of bits in character count indicator for QR code 2005</ref> |
|||
Four-bit indicators are used to select the encoding mode and convey other information. Encoding modes can be mixed as needed within a QR symbol. |
|||
{| class="wikitable" |
|||
! Mode indicator !! Description !! Typical structure '[ type : sizes in bits ]' |
|||
|- |
|||
| 1 = 0b0001 || Numeric || [0001 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 3{{frac|1|3}} × charcount ] |
|||
|- |
|||
| 2 = 0b0010 || Alphanumeric || [0010 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 5{{frac|1|2}} × charcount ] |
|||
|- |
|||
| 4 = 0b0100 || Byte encoding || [0100 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 8 × charcount ] |
|||
|- |
|||
| 8 = 0b1000 || Kanji encoding || [1000 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 13 × charcount ] |
|||
|- |
|||
| 3 = 0b0011 || Structured append || [0011 : 4] [ Symbol Position : 4 ] [ Total Symbols: 4 ] [ Parity : 8 ] |
|||
|- |
|||
| 7 = 0b0111 || ECI || [0111 : 4] [ ECI Assignment number : variable ] |
|||
|- |
|||
| 5 = 0b0101 || FNC1 in first position || [0101 : 4] [ Numeric/Alphanumeric/Byte/Kanji payload : variable ] |
|||
|- |
|||
| 9 = 0b1001 || FNC1 in second position || [1001 : 4] [ Application Indicator : 8 ] [ Numeric/Alphanumeric/Byte/Kanji payload : variable ] |
|||
|- |
|||
| 0 = 0b0000 || End of message || [0000 : 4] |
|||
|} |
|||
<small><div> |
|||
:Note: |
|||
:* Character Count Indicator depends on how many modules are in a QR code (Symbol Version). |
|||
:* ECI Assignment number Size: |
|||
:** 8 × 1 bits if ECI Assignment Bitstream starts with '0' |
|||
:** 8 × 2 bits if ECI Assignment Bitstream starts with '10' |
|||
:** 8 × 3 bits if ECI Assignment Bitstream starts with '110' |
|||
</div></small> |
|||
Four-bit indicators are used to select the encoding mode and convey other information. |
|||
{| class="wikitable" |
{| class="wikitable" |
||
Line 164: | Line 301: | ||
| 1001 || FNC1 in second position |
| 1001 || FNC1 in second position |
||
|- |
|- |
||
| 0000 || End of message |
| 0000 || End of message (Terminator) |
||
|} |
|} |
||
Encoding modes can be mixed as needed within a QR symbol. (e.g., a url with a long string of alphanumeric characters ) |
|||
<syntaxhighlight lang="text"> |
|||
[ Mode Indicator][ Mode bitstream ] --> [ Mode Indicator][ Mode bitstream ] --> etc... --> [ 0000 End of message (Terminator) ] |
|||
</syntaxhighlight> |
|||
After every indicator that selects an encoding mode is a length field that tells how many characters are encoded in that mode. The number of bits in the length field depends on the encoding and the symbol version. |
After every indicator that selects an encoding mode is a length field that tells how many characters are encoded in that mode. The number of bits in the length field depends on the encoding and the symbol version. |
||
{| class="wikitable" |
{| class="wikitable" |
||
|+ Number of bits |
|+ Number of bits in a length field (Character Count Indicator) |
||
! Encoding !! Ver. 1–9 !! 10–26 !! 27–40 |
! Encoding !! Ver. 1–9 !! 10–26 !! 27–40 |
||
|- |
|- |
||
Line 188: | Line 331: | ||
Alphanumeric encoding mode stores a message more compactly than the byte mode can, but cannot store lower-case letters and has only a limited selection of punctuation marks, which are sufficient for rudimentary [[web address]]es. Two characters are coded in an 11-bit value by this formula: |
Alphanumeric encoding mode stores a message more compactly than the byte mode can, but cannot store lower-case letters and has only a limited selection of punctuation marks, which are sufficient for rudimentary [[web address]]es. Two characters are coded in an 11-bit value by this formula: |
||
:V = 45 × C<sub>1</sub> + C<sub>2</sub> |
:V = 45 × C<sub>1</sub> + C<sub>2</sub> |
||
This has the exception that the last character in an alphanumeric string with an odd length is read as a 6-bit value instead. |
|||
{| class="wikitable" |
{| class="wikitable" |
||
Line 194: | Line 338: | ||
! Code !! Character !! Code !! Character !! Code !! Character !! Code !! Character !! Code !! Character |
! Code !! Character !! Code !! Character !! Code !! Character !! Code !! Character !! Code !! Character |
||
|- |
|- |
||
| 00 || 0 || 09 || 9 || 18 || I || 27 || R || 36 || |
| 00 || 0 || 09 || 9 || 18 || I || 27 || R || 36 || Space |
||
|- |
|- |
||
| 01 || 1 || 10 || A || 19 || J || 28 || S || 37 || $ |
| 01 || 1 || 10 || A || 19 || J || 28 || S || 37 || $ |
||
|- |
|- |
||
| 02 || 2 || 11 || B || 20 || K || 29 || T || 38 ||% |
| 02 || 2 || 11 || B || 20 || K || 29 || T || 38 || % |
||
|- |
|- |
||
| 03 || 3 || 12 || C || 21 || L || 30 || U || 39 || * |
| 03 || 3 || 12 || C || 21 || L || 30 || U || 39 || * |
||
Line 204: | Line 348: | ||
| 04 || 4 || 13 || D || 22 || M || 31 || V || 40 || + |
| 04 || 4 || 13 || D || 22 || M || 31 || V || 40 || + |
||
|- |
|- |
||
| 05 || 5 || 14 || E || 23 || N || 32 || W || 41 || |
| 05 || 5 || 14 || E || 23 || N || 32 || W || 41 || - |
||
|- |
|- |
||
| 06 || 6 || 15 || F || 24 || O || 33 || X || 42 || . |
| 06 || 6 || 15 || F || 24 || O || 33 || X || 42 || . |
||
Line 210: | Line 354: | ||
| 07 || 7 || 16 || G || 25 || P || 34 || Y || 43 || / |
| 07 || 7 || 16 || G || 25 || P || 34 || Y || 43 || / |
||
|- |
|- |
||
| 08 || 8 || 17 || H || 26 || Q || 35 || Z || 44 ||: |
| 08 || 8 || 17 || H || 26 || Q || 35 || Z || 44 || : |
||
|} |
|} |
||
Line 218: | Line 362: | ||
<!-- This information is sourced from the QR code specification document --> |
<!-- This information is sourced from the QR code specification document --> |
||
<gallery widths=130 heights=100 perrow=5> |
<gallery widths="130" heights="100" perrow="5"> |
||
File:QRCode-1-Intro.png|1 |
File:QRCode-1-Intro.png|1 – Introduction |
||
File:QRCode-2-Structure.png|2 |
File:QRCode-2-Structure.png|2 – Structure |
||
File:QRCode-3-Layout,Encoding.png|3 |
File:QRCode-3-Layout,Encoding.png|3 – Layout & Encoding |
||
File:QRCode-4-Levels,Masks.png|4 |
File:QRCode-4-Levels,Masks.png|4 – Levels & Masks |
||
File:QRCode-5-Protocols.png|5 |
File:QRCode-5-Protocols.png|5 – Protocols |
||
</gallery> |
</gallery> |
||
== License == |
|||
The use of QR codes is free of any license. The QR code is clearly defined and published as an ISO standard. |
|||
[[Denso#Denso WAVE|Denso Wave]] owns the [[patent]] rights on QR codes, but has chosen not to exercise them.<ref name="qrstandard1"/> In the USA, the granted QR code patent is {{patent|US|5726435}}, and in Japan {{patent|JP|2938338}}. The European Patent Office granted patent {{cite web |url=http://worldwide.espacenet.com/publicationDetails/biblio?DB=EPODOC&II=0&ND=3&adjacent=true&locale=en_EP&FT=D&date=19950920&CC=EP&NR=0672994A1&KC=A1 |title=EPO 0672994}} to Denso Wave, which was then validated into French, UK, and German patents, all of which are still in force as of November 2011. |
|||
The word '''QR code''' itself is a [[registered trademark]] of Denso Wave Incorporated.<ref name="qrtrademark01">{{cite web |url=http://www.qrcode.com/en/index.html |title=QR Code.com |publisher=Denso-Wave |date=6 November 2003 |accessdate=23 April 2009 |archiveurl=http://archive.is/20120915/http://www.qrcode.com/en/index.html |archivedate=2012-09-15}}</ref> In UK, the trademark is registered as E921775, the word "QR Code", with a filing date of 03/09/1998.<ref name="qrtrademarkuk">{{cite web |url=http://www.ipo.gov.uk/types/tm/t-os/t-find/t-find-number?detailsrequested=C&trademark=E921775 |title=UK QR Code Trademark |archiveurl=http://archive.is/20120915/http://www.ipo.gov.uk/types/tm/t-os/t-find/t-find-number?detailsrequested=C&trademark=E921775 |archivedate=2012-09-15}}</ref> The UK version of the trademark is based on the Kabushiki Kaisha Denso (DENSO CORPORATION) trademark, filed as Trademark 000921775, the word "QR Code", on 03/09/1998 and registered on 6/12/1999 with the European Union OHIM (Office for Harmonization in the Internal Market).<ref name="qrtrademarkeu">{{cite web |url=http://esearch.oami.europa.eu/copla/trademark/data/000921775 |title=EU QR Code Trademark |archiveurl=http://archive.is/20120915/http://esearch.oami.europa.eu/copla/trademark/data/000921775 |archivedate=2012-09-15}}</ref> |
|||
The U.S. Trademark for the word "QR Code" is Trademark 2435991 and was filed on 29 September 1998 with an amended registration date of 13 March 2001, assigned to Denso Corporation.<ref name="qrtrademarkus">{{cite web |url=http://tess2.uspto.gov/bin/showfield?f=doc&state=4010:nrb6eh.2.6 |title=US QR Code Trademark |archiveurl=http://archive.is/20120915/http://tess2.uspto.gov/bin/showfield?f=doc&state=4010:nrb6eh.2.6 |archivedate=2012-09-15}}</ref> |
|||
== Variants == |
== Variants == |
||
<!-- the word "version" is confused in this section; it is used to refer to both symbol sizes and the generation of a specification. --> |
<!-- the word "version" is confused in this section; it is used to refer to both symbol sizes and the generation of a specification. --> |
||
''Micro QR code'' is a smaller version of the QR code standard for applications where symbol size is limited. There are 4 different versions (sizes) of Micro QR codes: the smallest is 11×11 modules; the largest can hold 35 numeric characters.<ref>Information technology — Automatic identification and data capture techniques — QR Code 2005 bar code symbology specification, ISO/IEC 18004:2006 cor. 2009, pages 3, 6.</ref> |
|||
=== Model 1 === |
|||
''IQR code'' is an alternative to existing QR codes developed by Denso Wave. IQR codes can be created in square or rectangular formations; this is intended for situations where a rectangular barcode would otherwise be more appropriate, such as cylindrical objects. IQR codes can fit the same amount of information in 30% less space. There are 61 versions of square IQR codes, and 15 versions of rectangular codes. For squares, the minimum size is 9x9 modules; rectangles have a minimum of 19x5 modules. IQR codes add error correction level S, which allows for 50% error correction.<ref>{{cite web |url=http://www.gs1jp.org/pdf/001.pdf#34 |title=QR Code Overview & Progress of QR Code Applications |accessdate=26 June 2014 }}</ref> IQR Codes have not yet been given an ISO specification, and only proprietary Denso Wave products can create or read IQR codes.<ref>http://www.qrcode.com/en/codes/iqr.html</ref> |
|||
''Model 1 QR code'' is an older version of the specification. It is visually similar to the widely seen model 2 codes, but lacks alignment patterns. |
''Model 1 QR code'' is an older version of the specification. It is visually similar to the widely seen model 2 codes, but lacks alignment patterns. Differences are in the bottom right corner, and in the midsections of the bottom and right edges are additional functional regions. |
||
<gallery widths="100" heights="100"> |
|||
File:QR Code Model 1 Example.svg|Model 1 QR code example |
|||
File:Model 1 QR Version 2 Layout.svg|Model 1 QR code functional regions |
|||
</gallery> |
|||
=== Micro QR code {{anchor|micro}} === |
|||
Micro QR code is a smaller version of the QR code standard for applications where symbol size is limited. There are four different versions (sizes) of Micro QR codes: the smallest is 11×11 modules; the largest can hold 35 numeric characters,<ref>Information technology – Automatic identification and data capture techniques – QR Code 2005 bar code symbology specification, ISO/IEC 18004:2006 cor. 2009, pages 3, 6.</ref> or 21 [[ASCII]] alphanumeric characters, or 15 bytes (128 bits). |
|||
<gallery widths=100 heights=100> |
|||
<gallery widths="100" heights="100"> |
|||
File:Micro QR Example.svg|Micro QR code example |
File:Micro QR Example.svg|Micro QR code example |
||
File:Micro QR Version 3M Layout.svg|Micro QR code functional regions |
File:Micro QR Version 3M Layout.svg|Micro QR code functional regions |
||
File:QR Code Model 1 Example.svg|Model 1 QR code example |
|||
File:Model 1 QR Version 2 Layout.svg|Model 1 QR code functional regions |
|||
</gallery> |
</gallery> |
||
== |
=== Rectangular Micro QR Code === |
||
{{Main article|Rectangular Micro QR Code}} |
|||
Rectangular Micro QR Code (also known as rMQR Code) is two-dimensional (2D) matrix barcode invented and standardized in 2022 by Denso Wave as ISO/IEC 23941. rMQR Code is designed as a rectangular variation of QR code and has the same parameters and applications as original QR code. But rMQR Code is more suitable for the rectangular areas and has difference between width and height up to 19 in R7x139 version. |
|||
<gallery widths="252" heights="100"> |
|||
File:Rectangular Micro QR Code Example R17x43.svg|Rectangular Micro QR Code (rMQR Code) example |
|||
</gallery> |
|||
=== iQR code === |
|||
iQR code is an alternative to existing square QR codes developed by Denso Wave. iQR codes can be created in square or rectangular formations; this is intended for situations where a longer and narrower rectangular shape is more suitable, such as on cylindrical objects. iQR codes can fit the same amount of information in 30% less space. There are 61 versions of square iQR codes, and 15 versions of rectangular codes. For squares, the minimum size is 9 × 9 modules; rectangles have a minimum of 19 × 5 modules. iQR codes add error correction level S, which allows for 50% error correction.<ref>{{cite web |url=http://www.gs1jp.org/pdf/001.pdf#34 |title=QR Code Overview & Progress of QR Code Applications |access-date=26 June 2014 |url-status=live |archive-url=https://web.archive.org/web/20130520174630/http://www.gs1jp.org/pdf/001.pdf#34 |archive-date=20 May 2013}}</ref> iQR Codes had not been given an ISO/IEC specification as of 2015, and only proprietary Denso Wave products could create or read iQR codes.<ref>{{cite web|url=http://www.qrcode.com/en/codes/iqr.html|title=iQR Code – QRcode.com – DENSO WAVE|access-date=10 September 2015|url-status=live|archive-url=https://web.archive.org/web/20150907022008/http://www.qrcode.com/en/codes/iqr.html|archive-date=7 September 2015}}</ref> |
|||
<gallery widths="252" heights="100"> |
|||
File:iQRCode.svg|iQR code example |
|||
</gallery> |
|||
=== Secure QR code{{anchor|SQR}} === |
|||
Secure Quick Response (SQR) code is a QR code that contains a "private data" segment after the terminator instead of the specified filler bytes "ec 11".<ref>{{cite web|url=https://fukuchi.org/works/qrhack/qrhack1.html|title=Embedding Secret Data in QR Code|access-date=29 October 2018|archive-date=30 October 2018|archive-url=https://web.archive.org/web/20181030090645/https://fukuchi.org/works/qrhack/qrhack1.html|url-status=live}}</ref> This private data segment must be deciphered with an encryption key. This can be used to store private information and to manage a company's internal information.<ref>{{cite web|title=SQRC|url=http://www.qrcode.com/en/codes/sqrc.html|website=qrcode.com|access-date=26 December 2017|archive-date=1 January 2018|archive-url=https://web.archive.org/web/20180101191507/http://www.qrcode.com/en/codes/sqrc.html|url-status=live}}</ref> |
|||
=== Frame QR === |
|||
Researches have proposed a new [[High Capacity Colored 2-Dimensional (HCC2D) Code|HCC2D]] code, which builds upon a QR code basis for preserving the QR robustness to distortions and use colors for increasing data density (even if at this stage it is still in prototyping phase). |
|||
[[File:Frame QR Code.png|alt=Sample of Frame QR code, which appears like a typical QR code with a square cutout.|thumb|Sample of a Frame QR that encodes a text message saying "This is a specimen for the Wikimedia Foundation".|125x125px]] |
|||
The HCC2D code specification is described in details in,<ref name="Querini et al. (2014)">[http://www.tmrfindia.org/ijcsa/v8i19.pdf 2D Color Barcodes for Mobile Phones]</ref> while techniques for color classification of HCC2D code cells are descripted in details in,<ref name="Querini and Italiano (2014)">[http://www.doiserbia.nb.rs/img/doi/1820-0214/2014/1820-02141400054Q.pdf Reliability and data density in high capacity color barcodes]</ref> which is an extended version of.<ref name="Querini and Italiano (2013)">[https://fedcsis.org/proceedings/2013/pliks/67.pdf Color classifiers for 2D color barcodes]</ref> |
|||
[[File:Wiki-FQRC.png|thumb|This shows how FrameQR can combine both the code and the image together and that the frame doesn't have to be square but could be a circle as well.]] |
|||
Frame QR is a QR code with a "canvas area" that can be flexibly used. In the center of this code is the canvas area, where graphics, letters, and more can be flexibly arranged, making it possible to lay out the code without losing the design of illustrations, photos, etc.<ref>{{cite web|title=Frame QR|url=http://www.qrcode.com/en/codes/frameqr.html|website=qrcode.com|access-date=26 December 2017|archive-date=20 December 2017|archive-url=https://web.archive.org/web/20171220045522/http://www.qrcode.com/en/codes/frameqr.html|url-status=live}}</ref> |
|||
=== HCC2D === |
|||
[[File:Hcc2d.png|thumb|Samples of the High Capacity Colored 2-Dimensional (HCC2D) code: (a) 4-color HCC2D code and (b) 8-color HCC2D code.]] |
[[File:Hcc2d.png|thumb|Samples of the High Capacity Colored 2-Dimensional (HCC2D) code: (a) 4-color HCC2D code and (b) 8-color HCC2D code.]] |
||
Researchers have proposed a new High Capacity Colored 2-Dimensional (HCC2D) Code, which builds upon a QR code basis for preserving the QR robustness to distortions and uses colors for increasing data density (as of 2014 it is still in the prototyping phase). The HCC2D code specification is described in details in Querini ''et al.'' (2011),<ref>{{cite journal |last1=Querini |first1=M|last2=Grillo|first2=A|last3=Lentini|first3=A|last4=Italiano|first4=GF |title=2D Color Barcodes for Mobile Phones |journal=International Journal of Computer Science and Applications |date=2011 |volume=8 |issue=1 |pages=136-155 |url=http://www.tmrfindia.org/ijcsa/v8i19.pdf |access-date=21 December 2024|archiveurl=https://web.archive.org/web/20160304033918/http://www.tmrfindia.org/ijcsa/v8i19.pdf|archivedate=4 March 2016|publisher=Technomathematics Research Foundation}}</ref> while techniques for color classification of HCC2D code cells are described in detail in Querini and [[Giuseppe F. Italiano|Italiano]] (2014),<ref>{{cite journal |last1=Querini |first1=Marco |last2=Italiano |first2=Giuseppi F |title=Reliability and Data Density in High Capacity Color Barcodes |journal=Computer Science and Information Systems |date=2014 |volume=11 |issue=4 |pages=1595-1615 |doi=10.2298/CSIS131218054Q |url=http://www.doiserbia.nb.rs/img/doi/1820-0214/2014/1820-02141400054Q.pdf |access-date=21 December 2024|archiveurl=https://web.archive.org/web/20150724205900/http://www.doiserbia.nb.rs/img/doi/1820-0214/2014/1820-02141400054Q.pdf|archivedate=24 July 2015}}</ref> which is an extended version of Querini and Italiano (2013).<ref name="Querini and Italiano (2013)">{{cite web|publisher=Federated Conference on Computer Science and Information System|url=https://fedcsis.org/proceedings/2013/pliks/67.pdf|date=2013|title=Color classifiers for 2D color barcodes|last1=Querini |first1=Marco |last2=Italiano |first2=Giuseppi F|url-status=dead|archive-url=https://web.archive.org/web/20150724212247/https://fedcsis.org/proceedings/2013/pliks/67.pdf|archive-date=24 July 2015}}</ref> |
|||
== Risks == |
|||
Introducing colors into QR codes requires addressing additional issues. In particular, during QR code reading only the brightness information is taken into account, while HCC2D codes have to cope with chromatic distortions during the decoding phase. In order to ensure adaptation to chromatic distortions that arise in each scanned code, HCC2D codes make use of an additional field: the Color Palette Pattern. This is because color cells of a Color Palette Pattern are supposed to be distorted in the same way as color cells of the Encoding Region. Replicated color palettes are used for training machine-learning classifiers. |
|||
The only context in which common QR codes can carry executable data is the [[URL]] data type. These URLs may host Javascript code, which can be used to exploit vulnerabilities in applications on the host system, such as the reader, the web browser or the image viewer, since a reader will typically send the data to the application associated with the data type used by the QR code. |
|||
=== AQR === |
|||
In the case of no software exploits, malicious QR codes combined with a permissive reader can still put a computer's contents and user's privacy at risk. This practice is known as "attagging", a [[portmanteau]] of "attack tagging".<ref name="Wired">{{citation |periodical=[[Wired (magazine)|Wired]] |title=Jargon Watch |page=22 |date=January 2012 |volume=20 |issue=1 }}.</ref> They are easily created and can be affixed over legitimate QR codes.<ref>{{cite web |url=http://isc.sans.edu/diary.html?storyid=11305 |title=Malicious Images: What's a QR Code |publisher=SANS Technology Institute |date=3 August 2011 |accessdate=31 August 2011 |archiveurl=http://archive.is/20120713/http://isc.sans.edu/diary.html?storyid=11305 |archivedate=2012-07-13}}</ref> On a [[smartphone]], the reader's permissions may allow use of the camera, full Internet access, read/write contact data, [[GPS]], read [[web browser|browser]] history, read/write local storage, and global system changes.<ref>{{cite web |url=https://market.android.com/details?id=com.google.zxing.client.android |publisher=Google |date=1 June 2011 |title=Barcode Scanner |accessdate=31 August 2011 |archiveurl=http://archive.is/20120915/https://market.android.com/details?id=com.google.zxing.client.android |archivedate=2012-09-15}}</ref><ref>{{cite web |url=https://market.android.com/details?id=la.droid.qr |title=QR Droid |publisher=Google |date=19 August 2011 |accessdate=31 August 2011 |archiveurl=http://archive.is/20120915/https://market.android.com/details?id=la.droid.qr |archivedate=2012-09-15}}</ref><ref>{{cite web |url=https://market.android.com/details?id=com.ScanLife |title=ScanLife Barcode Reader |publisher=Google |date=24 May 2011 |accessdate=31 August 2011 |archiveurl=http://archive.is/20120915/https://market.android.com/details?id=com.ScanLife |archivedate=2012-09-15}}</ref> |
|||
[[Accessible QR]] is a type of QR code that combines a standard QR code with a dot-dash pattern positioned around one corner of the code to provide product information for people who are blind and partially sighted. The codes, announce product categories and product details such as instructions, ingredients, safety warnings, and recycling information. The data is structured for the needs of users who are blind or partially sighted and offers larger text or audio output. It can read QR codes from a metre away, activating the smartphone's accessibility features like VoiceOver to announce product details. |
|||
== License == |
|||
Risks include linking to dangerous web sites with browser exploits, enabling the microphone/camera/GPS, and then streaming those feeds to a remote server, analysis of sensitive data (passwords, files, contacts, transactions),<ref>{{cite web |url=http://sandiego.bbb.org/article/consumer-alert-qr-code-safety-28037 |title=Consumer Alert: QR Code Safety |publisher=Better Business Bureau |date=23 June 2011 |accessdate=31 August 2011 |archiveurl=http://archive.is/20120715/http://sandiego.bbb.org/article/consumer-alert-qr-code-safety-28037 |archivedate=2012-07-15}}</ref> and sending email/[[Short Message Service|SMS]]/IM messages or [[DDOS]] packets as part of a [[botnet]], corrupting privacy settings, stealing identity,<ref>{{cite web |url=http://www.pcworld.idg.com.au/mediareleases/12655/avg-aunz-cautions-beware-of-malicious-qr-codes/ |title=AVG Cautions: Beware of Malicious QR Codes |publisher= PC World |date=28 June 2011 |accessdate=31 August 2011 |archiveurl=http://archive.is/20120907/http://www.pcworld.idg.com.au/mediareleases/12655/avg-aunz-cautions-beware-of-malicious-qr-codes/ |archivedate=2012-09-07}}</ref> and even containing malicious logic themselves such as [[JavaScript]] <ref>{{cite web |url=https://appsec-labs.com/blog/tag/qrcode |title=EvilQR – When QRCode goes bad |publisher=AppSec-Labs Blog |date=14 August 2011 |accessdate=31 August 2011 |archiveurl=http://archive.is/20120915/https://appsec-labs.com/blog/tag/qrcode |archivedate=2012-09-15}}</ref> or a virus.<ref>{{cite web |url=http://www.cyveillanceblog.com/malware/qr-codes-a-recipe-for-a-mobile-malware-tsunami |title=QR Codes: A Recipe for a Mobile Malware Tsunami |publisher=Cyveillance, Inc |date=20 October 2010 |accessdate=31 August 2011 |archiveurl=http://archive.is/20120728/http://www.cyveillanceblog.com/malware/qr-codes-a-recipe-for-a-mobile-malware-tsunami |archivedate=2012-07-28}}</ref><ref>QR Codes hold up to 2.9 KB whereas the smallest known computer virus is about one-tenth that size {{cite web |url= http://www.wiw.org/~meta/vlad.php?read=ARTICLE.5_2&issue=3&desc=Small%20Virus |title=The Smallest Virus I Could Manage |publisher=Virus Labs and Distribution |year=1995 |accessdate=31 August 2011 |archiveurl=http://archive.is/20120915/http://www.wiw.org/~meta/vlad.php?read=ARTICLE.5_2&issue=3&desc=Small%20Virus |archivedate=2012-09-15}}</ref> These actions could occur in the background while the user is only seeing the reader opening a seemingly harmless web page.<ref>{{cite web |url=http://www.abc.net.au/technology/articles/2011/06/08/3238443.htm |title=Beware of Malicious QR Codes|publisher=ABC |date=8 June 2011 |accessdate=31 August 2011 |archiveurl=http://archive.is/20120801/http://www.abc.net.au/technology/articles/2011/06/08/3238443.htm |archivedate=2012-08-01}}</ref> In Russia, a malicious QR code caused phones that scanned it to send premium texts at a fee of US$6 each.<ref name="Wired" /> |
|||
The use of QR code technology is freely licensed as long as users follow the standards for QR code documented with [[Japanese Industrial Standards|JIS]] or [[International Organization for Standardization|ISO]]/[[International Electrotechnical Commission|IEC]]. Non-standardized codes may require special licensing.<ref name=qrpatent01>{{cite web|url=http://www.qrcode.com/en/patent.html|title=About the patent|publisher=Denso-Wave|access-date=2016-06-26|url-status=live|archive-url=https://web.archive.org/web/20160625222315/http://www.qrcode.com/en/patent.html|archive-date=25 June 2016}}</ref> |
|||
Denso Wave owns a number of patents on QR code technology, but has chosen to exercise them in a limited fashion.<ref name=qrpatent01/> In order to promote widespread usage of the technology Denso Wave chose to waive its rights to a key patent in its possession for ''standardized'' codes only.<ref name="qrstandard1"/> In the US, the granted QR code patent is 5726435, and in Japan 2938338, both of which have expired. The [[European Patent Office]] granted patent 0672994 to Denso Wave, which was then validated into [[France|French]], UK, and German patents, all of which expired in March 2015.<ref>{{cite web |url=https://register.dpma.de/DPMAregister/pat/register?lang=en&AKZ=E951035112 |title=DPA |access-date=28 July 2016 |archive-date=26 July 2018 |archive-url=https://web.archive.org/web/20180726114452/https://register.dpma.de/DPMAregister/pat/register?lang=en&AKZ=E951035112 |url-status=live}}{{cite web |url=http://bases-brevets.inpi.fr/en/document-en/EP0672994.html |title=INPI |url-status=live |archive-url=https://web.archive.org/web/20160813045501/http://bases-brevets.inpi.fr/en/document-en/EP0672994.html |archive-date=13 August 2016}}{{cite web |url=https://www.ipo.gov.uk/p-ipsum/Case/PublicationNumber/EP0672994 |title=UK IPO |date=2013-03-09 |access-date=28 July 2016 |archive-date=14 June 2019 |archive-url=https://web.archive.org/web/20190614231752/https://www.ipo.gov.uk/p-ipsum/Case/PublicationNumber/EP0672994 |url-status=live}}</ref> |
|||
The text ''QR Code'' itself is a [[registered trademark]] and [[wordmark]] of Denso Wave Incorporated.<ref name="qrtrademark01">{{cite web |url=http://www.qrcode.com/en/index.html |title=QR Code.com |publisher=Denso-Wave |date=6 November 2003 |access-date=23 April 2009 |archive-url=https://archive.today/20120915/http://www.qrcode.com/en/index.html |archive-date=2012-09-15}}</ref> In UK, the trademark is registered as E921775, the term ''QR Code'', with a filing date of 3 September 1998.<ref name="qrtrademarkuk">{{cite web |url=http://www.ipo.gov.uk/types/tm/t-os/t-find/t-find-number?detailsrequested=C&trademark=E921775 |title=UK QR Code Trademark |archive-url=https://archive.today/20120915/http://www.ipo.gov.uk/types/tm/t-os/t-find/t-find-number?detailsrequested=C&trademark=E921775 |archive-date=2012-09-15}}</ref> The UK version of the trademark is based on the Kabushiki Kaisha Denso (DENSO CORPORATION) trademark, filed as Trademark 000921775, the term ''QR Code'', on 3 September 1998 and registered on 16 December 1999 with the European Union OHIM (Office for Harmonization in the Internal Market).<ref name="qrtrademarkeu">{{cite web |url=http://esearch.oami.europa.eu/copla/trademark/data/000921775 |title=EU QR Code Trademark |archive-url=https://archive.today/20120915/http://esearch.oami.europa.eu/copla/trademark/data/000921775 |archive-date=2012-09-15}}</ref> |
|||
The U.S. Trademark for the term ''QR Code'' is Trademark 2435991 and was filed on 29 September 1998 with an amended registration date of 13 March 2001, assigned to Denso Corporation.<ref name="qrtrademarkus">{{cite web |url=http://tess2.uspto.gov/bin/showfield?f=doc&state=4010:nrb6eh.2.6 |title=US QR Code Trademark |archive-url=https://archive.today/20120915/http://tess2.uspto.gov/bin/showfield?f=doc&state=4010:nrb6eh.2.6 |archive-date=2012-09-15}}</ref> In South Korea, trademark application filed on 18 November 2011 was refused at 20 March 2012, because the [[Korean Intellectual Property Office]] viewed that the phrase was [[Generic trademark|genericized]] among South Korean people to refer to matrix barcodes in general.<ref name="qrtrademarkkr">{{cite web |url=https://doi.org/10.8080/4020100059499?urlappend=en |title=KR QR Code Trademark Application |date=2010 |doi=10.8080/4020100059499 |archive-date=2023-11-18 |archive-url=https://archive.today/20231118080058/http://engdtj.kipris.or.kr/engdtj/grrt1000a.do?method=biblioTMFrame&masterKey=4020100059499&index=1&kindOfReq=A&valid_fg=&rights=TM&KeyWord=4020100059499&applno=4020100059499&Gubun=1&sCurrPage=1&searchFg=N&expression=4020100059499&openPageId=View01&isMyConcern=N&isMyFolder=N&config=/main/sharePage_EN.jsp,%20className=jeus_jspwork._main._700_sharePage_5fEN_5fjsp,%20jspUri='/main/sharePage_EN.jsp}}</ref> |
|||
== Risks == |
|||
The only context in which common QR codes can carry executable data is the URL data type. These URLs may host [[JavaScript]] code, which can be used to exploit vulnerabilities in applications on the host system, such as the reader, the web browser, or the image viewer, since a reader will typically send the data to the application associated with the data type used by the QR code. |
|||
In the case of no software exploits, malicious QR codes combined with a permissive reader can still put a computer's contents and user's privacy at risk. This practice is known as "attagging", a [[portmanteau]] of "attack tagging".<ref name="Wired">{{citation |magazine=[[Wired (magazine)|Wired]] |title=Jargon Watch |page=22 |date=January 2012 |volume=20 |issue=1}}.</ref> They are easily created and can be affixed over legitimate QR codes.<ref>{{cite web |url=http://isc.sans.edu/diary.html?storyid=11305 |title=Malicious Images: What's a QR Code |publisher=SANS Technology Institute |date=3 August 2011 |access-date=31 August 2011 |archive-url=https://archive.today/20120713/http://isc.sans.edu/diary.html?storyid=11305 |archive-date=2012-07-13}}</ref>{{failed verification|date=October 2024}} <ref name="IEEEQRRisks">{{cite web |last1=Waqas |first1=Iam |title=Risks of Using QR Codes and How To Mitigate it – Not As Safe as You Think |url=https://www.computer.org/publications/tech-news/trends/qr-code-risks |publisher=Institute of Electrical and Electronics Engineers (IEEE) |access-date=21 October 2024 |date=19 Oct 2021}}</ref> On a smartphone, the reader's permissions may allow use of the camera, full Internet access, read/write contact data, [[GPS]], read browser history, read/write local storage, and global system changes.<ref>{{cite web |url=https://market.android.com/details?id=com.google.zxing.client.android |date=1 June 2011 |title=Barcode Scanner |access-date=31 August 2011 |archive-url=https://archive.today/20120915/https://market.android.com/details?id=com.google.zxing.client.android |archive-date=2012-09-15}}</ref><ref>{{cite web |url=https://market.android.com/details?id=la.droid.qr |title=QR Droid |date=19 August 2011 |access-date=31 August 2011 |archive-url=https://archive.today/20120915/https://market.android.com/details?id=la.droid.qr |archive-date=2012-09-15}}</ref><ref>{{cite web |url=https://market.android.com/details?id=com.ScanLife |title=ScanLife Barcode Reader |date=24 May 2011 |access-date=31 August 2011 |archive-url=https://archive.today/20120915/https://market.android.com/details?id=com.ScanLife |archive-date=2012-09-15}}</ref>{{synthesis inline|reason=It is synthesizing the definition of the term from the Wired article, the SANS source saying some people abuse QR codes, and the permissions for different apps in order to come to the conclusion that the problem is QR code apps having too many permissions. Needs a source saying QR code apps have too many permissions and that can be exploited.|date=October 2024}} |
|||
Risks include linking to dangerous web sites with browser exploits, enabling the microphone/camera/GPS, and then streaming those feeds to a remote server, analysis of sensitive data (passwords, files, contacts, transactions),<ref>{{cite web |url=http://sandiego.bbb.org/article/consumer-alert-qr-code-safety-28037 |title=Consumer Alert: QR Code Safety |publisher=Better Business Bureau |date=23 June 2011 |access-date=31 August 2011 |archive-url=https://archive.today/20120715/http://sandiego.bbb.org/article/consumer-alert-qr-code-safety-28037 |archive-date=2012-07-15}}</ref> and sending email/[[Short Message Service|SMS]]/IM messages or packets for [[Denial-of-service attack|DDoS]] as part of a [[botnet]], corrupting privacy settings, stealing identity,<ref>{{cite web |url=http://www.pcworld.idg.com.au/mediareleases/12655/avg-aunz-cautions-beware-of-malicious-qr-codes/ |title=AVG Cautions: Beware of Malicious QR Codes |publisher= PC World |date=28 June 2011 |access-date=31 August 2011 |archive-url=https://archive.today/20120907/http://www.pcworld.idg.com.au/mediareleases/12655/avg-aunz-cautions-beware-of-malicious-qr-codes/ |archive-date=2012-09-07}}</ref> and even containing malicious logic themselves such as JavaScript<ref>{{cite web |url=https://appsec-labs.com/blog/tag/qrcode |title=EvilQR – When QRCode goes bad |publisher=AppSec-Labs Blog |date=14 August 2011 |access-date=31 August 2011 |archive-url=https://archive.today/20120915/https://appsec-labs.com/blog/tag/qrcode |archive-date=2012-09-15}}</ref> or a virus.<ref>{{cite web |url=http://www.cyveillanceblog.com/malware/qr-codes-a-recipe-for-a-mobile-malware-tsunami |title=QR Codes: A Recipe for a Mobile Malware Tsunami |publisher=Cyveillance, Inc |date=20 October 2010 |access-date=31 August 2011 |archive-url=https://archive.today/20120728/http://www.cyveillanceblog.com/malware/qr-codes-a-recipe-for-a-mobile-malware-tsunami |archive-date=2012-07-28}}</ref><ref>QR codes hold up to 2.9 KB whereas the smallest known computer virus is about one-tenth that size {{cite web |url= http://www.wiw.org/~meta/vlad.php?read=ARTICLE.5_2&issue=3&desc=Small%20Virus |title=The Smallest Virus I Could Manage |publisher=Virus Labs and Distribution |year=1995 |access-date=31 August 2011 |archive-url=https://archive.today/20120915/http://www.wiw.org/~meta/vlad.php?read=ARTICLE.5_2&issue=3&desc=Small%20Virus |archive-date=2012-09-15}}</ref> These actions could occur in the background while the user is only seeing the reader opening a seemingly harmless web page.<ref>{{cite web |url=http://www.abc.net.au/technology/articles/2011/06/08/3238443.htm |title=Beware of Malicious QR Codes|publisher=ABC |date=8 June 2011 |access-date=31 August 2011 |archive-url=https://archive.today/20120801/http://www.abc.net.au/technology/articles/2011/06/08/3238443.htm |archive-date=2012-08-01}}</ref> In Russia, a malicious QR code caused phones that scanned it to send premium texts at a fee of [[United States dollar|$]]6 each.<ref name="Wired" /> QR codes have also been linked to scams in which stickers are placed on [[parking meters]] and other devices, posing as quick payment options, as seen in [[Austin, Texas|Austin]], [[San Antonio]] and [[Boston]], among other cities across the United States and Australia.<ref>{{cite web |last1=Binder |first1=Matt |title=Beware the QR code scams |url=https://mashable.com/article/beware-qr-code-scams |website=Mashable |access-date=18 January 2022 |archive-date=17 January 2022 |archive-url=https://web.archive.org/web/20220117232136/https://mashable.com/article/beware-qr-code-scams |url-status=live}}</ref><ref>{{cite web |last1=Vincent |first1=James |title=The latest phishing scam to watch out for: fraudulent QR codes on parking meters |url=https://www.theverge.com/2022/1/12/22879728/phishing-scam-parking-meter-qr-code-austin-san-antonio |website=The Verge |date=12 January 2022 |access-date=18 January 2022 |archive-date=17 January 2022 |archive-url=https://web.archive.org/web/20220117150704/https://www.theverge.com/2022/1/12/22879728/phishing-scam-parking-meter-qr-code-austin-san-antonio |url-status=live}}</ref><ref>{{cite web |last1=Wodinsky |first1=Shoshana |title=Scammers Are Using QR Codes to Plunder Parking Meter Payments |url=https://gizmodo.com/scammers-are-using-qr-codes-to-plunder-parking-meter-pa-1848347940 |website=Gizmodo |date=12 January 2022 |access-date=18 January 2022 |archive-date=18 January 2022 |archive-url=https://web.archive.org/web/20220118224352/https://gizmodo.com/scammers-are-using-qr-codes-to-plunder-parking-meter-pa-1848347940 |url-status=live}}</ref> |
|||
== See also == |
== See also == |
||
<!-- Please keep entries in alphabetical order & add a short description [[WP:SEEALSO]] --> |
<!-- Please keep entries in alphabetical order & add a short description [[WP:SEEALSO]] --> |
||
* [[ |
* [[Aztec Code]] |
||
* [[Data Matrix]] |
|||
* [[High Capacity Color Barcode]] |
|||
* [[JAB Code]] |
|||
* [[PDF417]] |
|||
* [[QRpedia]] |
* [[QRpedia]] |
||
* [[SnapTag]] |
* [[SnapTag]] |
||
* [[SPARQCode]] |
* [[SPARQCode]] |
||
* [[Touchatag]] |
* [[Touchatag]] |
||
* [[MaxiCode]] |
|||
{{div col end}} |
|||
<!-- please keep entries in alphabetical order --> |
<!-- please keep entries in alphabetical order --> |
||
== References == |
== References == |
||
{{ |
{{reflist}} |
||
== Bibliography == |
== Bibliography == |
||
* {{cite book |title=BS ISO/IEC 18004:2006. Information technology. Automatic identification and data capture techniques. Bar code symbology. QR Code|location=[[Geneva]]| publisher=[[International Organization for Standardization|ISO]]/[[International Electrotechnical Commission|IEC]]|year=2000|page=114| |
* {{cite book |title=BS ISO/IEC 18004:2006. Information technology. Automatic identification and data capture techniques. Bar code symbology. QR Code|location=[[Geneva]]| publisher=[[International Organization for Standardization|ISO]]/[[International Electrotechnical Commission|IEC]]|year=2000|page=114|oclc=60816353}} |
||
* {{cite book |
* {{cite book|title=BS ISO/IEC 18004:2006. Information technology. Automatic identification and data capture techniques. QR Code 2005 bar code symbology specification|location=London|publisher=[[British Standards Institution|BSI]]|year=2007|page=126|isbn=978-0-580-67368-9|url=https://knowledge.bsigroup.com/products/information-technology-automatic-identification-and-data-capture-techniques-qr-code-2005-bar-code-symbology-specification/standard|access-date=2023-05-04}} |
||
== External links == |
== External links == |
||
{{Commons category}} |
|||
* [[v:Reed–Solomon codes for coders|Reed Solomon Codes for Coders]] – an elaborate tutorial on Wikiversity, covering both QR code structure and the Reed Solomon codes used to encode the data. |
|||
<!-- Do NOT add links to external sites that generate QR codes, or provide QR solutions. Wikipedia is not a directory of links. If you really believe that you have something to link that is utterly unique, please bring it up on the discussion page. --> |
|||
{{Commons category|Quick Response Codes}} |
|||
* {{Official website|http://www.qrcode.com/en/index.html}} |
|||
* [http://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_coders Reed Solomon Codes for Coders] – an elaborate tutorial on Wikiversity, covering both QR code structure and the Reed Solomon codes used to encode the data. |
|||
* {{cite news |title=Q&A: how to Make a Quick Response Code |author=J. D. Biersdorfer |url=http://www.nytimes.com/2011/03/03/technology/personaltech/03askk.html |publisher=''[[The New York Times]]'' |date=2 March 2011 |accessdate=11 December 2012}} Information on converting a URL into a QR code |
|||
<!-- Do NOT add links to external sites which generate QR codes, or provide QR solutions. Wikipedia is not a directory of links. If you really believe you have something to link which is utterly unique, please bring it up on the discussion page. --> |
|||
{{Use dmy dates|date=August 2012}} |
|||
{{Barcodes}} |
{{Barcodes}} |
||
{{ISO standards}} |
{{ISO standards}} |
||
{{Authority control|state=autocollapse}} |
|||
{{Authority control}} |
|||
[[Category:1994 introductions]] |
[[Category:1994 introductions]] |
||
Line 299: | Line 470: | ||
[[Category:Barcodes]] |
[[Category:Barcodes]] |
||
[[Category:Encodings]] |
[[Category:Encodings]] |
||
[[Category:Hypermedia]] |
|||
[[Category:Japanese inventions]] |
Latest revision as of 10:03, 25 December 2024
A QR code (quick-response code)[1] is a type of two-dimensional matrix barcode, invented in 1994, by Japanese company Denso Wave for labelling automobile parts.[2][3] It features black squares on a white background with fiducial markers, readable by imaging devices like cameras, and processed using Reed–Solomon error correction until the image can be appropriately interpreted. The required data is then extracted from patterns that are present in both the horizontal and the vertical components of the QR image.[4]
Whereas a barcode is a machine-readable optical image that contains information specific to the labeled item, the QR code contains the data for a locator, an identifier, and web-tracking. To store data efficiently, QR codes use four standardized modes of encoding:
Compared to standard UPC barcodes, the QR labeling system was applied beyond the automobile industry because of faster reading of the optical image and greater data-storage capacity in applications such as product tracking, item identification, time tracking, document management, and general marketing.[4]
History
The QR code system was invented in 1994, at the Denso Wave automotive products company, in Japan.[6][7][8] The initial alternating-square design presented by the team of researchers, headed by Masahiro Hara, was influenced by the black counters and the white counters played on a Go board;[9] the pattern of the position detection markers was determined by finding the least-used sequence of alternating black-white areas on printed matter, which was found to be (1:1:3:1:1).[10][6] The functional purpose of the QR code system was to facilitate keeping track of the types and numbers of automobile parts, by replacing individually-scanned bar-code labels on each box of auto parts with a single label that contained the data of each label. The quadrangular configuration of the QR code system consolidated the data of the various bar-code labels with Kanji, Kana, and alphanumeric codes printed onto a single label.[11][10][6]
Adoption
As of 2024,[update] QR codes are used in a much broader context, including both commercial tracking applications and convenience-oriented applications aimed at mobile phone users (termed mobile tagging). QR codes may be used to display text to the user, to open a webpage on the user's device, to add a vCard contact to the user's device, to open a Uniform Resource Identifier (URI), to connect to a wireless network, or to compose an email or text message. There are a great many QR code generators available as software or as online tools that are either free or require a paid subscription.[12] The QR code has become one of the most-used types of two-dimensional code.[13]
During June 2011, 14 million American mobile users scanned a QR code or a barcode. Some 58% of those users scanned a QR or barcode from their homes, while 39% scanned from retail stores; 53% of the 14 million users were men between the ages of 18 and 34.[14]
In 2022, 89 million people in the United States scanned a QR code using their mobile devices, up by 26 percent compared to 2020. The majority of QR code users used them to make payments or to access product and menu information.[15]
In September 2020, a survey found that 18.8 percent of consumers in the United States and the United Kingdom strongly agreed that they had noticed an increase in QR code use since the then-active COVID-19-related restrictions had begun several months prior.[16]
Standards
Several standards cover the encoding of data as QR codes:[17]
- October 1997 – AIM (Association for Automatic Identification and Mobility) International[18]
- January 1999 – JIS X 0510
- June 2000 – ISO/IEC 18004:2000 Information technology – Automatic identification and data capture techniques – Bar code symbology – QR code (now withdrawn)
Defines QR code models 1 and 2 symbols. - 1 September 2006 – ISO/IEC 18004:2006 Information technology – Automatic identification and data capture techniques – QR Code 2005 bar code symbology specification (now withdrawn)[19]
Defines QR code 2005 symbols, an extension of QR code model 2. Does not specify how to read QR code model 1 symbols, or require this for compliance. - 1 February 2015 – ISO/IEC 18004:2015 Information – Automatic identification and data capture techniques – QR Code barcode symbology specification
Renames the QR Code 2005 symbol to QR Code and adds clarification to some procedures and minor corrections. - May 2022 – ISO/IEC 23941:2022 Information technology – Automatic identification and data capture techniques – Rectangular Micro QR Code (rMQR) bar code symbology specification[20]
Defines the requirements for Micro QR Code.
At the application layer, there is some variation between most of the implementations. Japan's NTT DoCoMo has established de facto standards for the encoding of URLs, contact information, and several other data types.[21] The open-source "ZXing" project maintains a list of QR code data types.[22]
Uses
QR codes have become common in consumer advertising. Typically, a smartphone is used as a QR code scanner, displaying the code and converting it to some useful form (such as a standard URL for a website, thereby obviating the need for a user to type it into a Web browser).
QR code has become a focus of advertising strategy, since it provides a way to access a brand's website more quickly than by manually entering a URL.[23][24] Beyond mere convenience to the consumer, the importance of this capability is that it increases the conversion rate: the chance that contact with the advertisement will convert to a sale. It coaxes interested prospects further down the conversion funnel with little delay or effort, bringing the viewer to the advertiser's website immediately, whereas a longer and more targeted sales pitch may lose the viewer's interest.
Although initially used to track parts in vehicle manufacturing, QR codes are used over a much wider range of applications. These include commercial tracking, warehouse stock control, entertainment and transport ticketing, product and loyalty marketing, and in-store product labeling.[citation needed] Examples of marketing include where a company's discounted and percent discount can be captured using a QR code decoder that is a mobile app, or storing a company's information such as address and related information alongside its alpha-numeric text data as can be seen in telephone directory yellow pages.[citation needed]
They can also be used to store personal information for organizations. An example of this is the Philippines National Bureau of Investigation (NBI) where NBI clearances now come with a QR code. Many of these applications target mobile-phone users (via mobile tagging). Users may receive text, add a vCard contact to their device, open a URL, or compose an e-mail or text message after scanning QR codes. They can generate and print their own QR codes for others to scan and use by visiting one of several pay or free QR code-generating sites or apps. Google had an API, now deprecated, to generate QR codes,[25] and apps for scanning QR codes can be found on nearly all smartphone devices.[26]
QR codes storing addresses and URLs may appear in magazines, on signs, on buses, on business cards, or on almost any object about which users might want information. Users with a camera phone equipped with the correct reader application can scan the image of the QR code to display text and contact information, connect to a wireless network, or open a web page in the phone's browser. This act of linking from physical world objects is termed hardlinking or object hyperlinking. QR codes also may be linked to a location to track where a code has been scanned. Either the application that scans the QR code retrieves the geo information by using GPS and cell tower triangulation (aGPS) or the URL encoded in the QR code itself is associated with a location. In 2008, a Japanese stonemason announced plans to engrave QR codes on gravestones, allowing visitors to view information about the deceased, and family members to keep track of visits.[28] Psychologist Richard Wiseman was one of the first authors to include QR codes in a book, in Paranormality: Why We See What Isn't There (2011).[29][failed verification] Microsoft Office and LibreOffice have a functionality to insert QR code into documents.[30][31]
QR codes have been incorporated into currency. In June 2011, The Royal Dutch Mint (Koninklijke Nederlandse Munt) issued the world's first official coin with a QR code to celebrate the centenary of its current building and premises. The coin can be scanned by a smartphone and originally linked to a special website with content about the historical event and design of the coin.[32] In 2014, the Central Bank of Nigeria issued a 100-naira banknote to commemorate its centennial, the first banknote to incorporate a QR code in its design. When scanned with an internet-enabled mobile device, the code goes to a website that tells the centenary story of Nigeria.[33]
In 2015, the Central Bank of the Russian Federation issued a 100-rubles note to commemorate the annexation of Crimea by the Russian Federation.[34] It contains a QR code into its design, and when scanned with an internet-enabled mobile device, the code goes to a website that details the historical and technical background of the commemorative note. In 2017, the Bank of Ghana issued a 5-cedis banknote to commemorate 60 years of central banking in Ghana. It contains a QR code in its design which, when scanned with an internet-enabled mobile device, goes to the official Bank of Ghana website.
Credit card functionality is under development. In September 2016, the Reserve Bank of India (RBI) launched the eponymously named BharatQR, a common QR code jointly developed by all the four major card payment companies – National Payments Corporation of India that runs RuPay cards along with Mastercard, Visa, and American Express. It will also have the capability of accepting payments on the Unified Payments Interface (UPI) platform.[35][36]
Augmented reality
QR codes are used in some augmented reality systems to determine the positions of objects in 3-dimensional space.[11]
Mobile operating systems
QR codes can be used on various mobile device operating systems. While initially requiring the installation and use of third-party apps, both Android and iOS (since iOS 11 [37][38]) devices can now natively scan QR codes, without requiring an external app to be used.[39] The camera app can scan and display the kind of QR code along with the link. These devices support URL redirection, which allows QR codes to send metadata to existing applications on the device.
Virtual stores
QR codes have been used to establish "virtual stores", where a gallery of product information and QR codes is presented to the customer, e.g. on a train station wall. The customers scan the QR codes, and the products are delivered to their homes. This use started in South Korea,[40] and Argentina,[41] but is currently expanding globally.[42] Walmart, Procter & Gamble and Woolworths have already adopted the Virtual Store concept.[43]
QR code payment
QR codes can be used to store bank account information or credit card information, or they can be specifically designed to work with particular payment provider applications. There are several trial applications of QR code payments across the world.[44][45] In developing countries including China,[46][47] India[48] QR code payment is a very popular and convenient method of making payments. Since Alipay designed a QR code payment method in 2011,[49] mobile payment has been quickly adopted in China. As of 2018, around 83% of all payments were made via mobile payment.[50]
In November 2012, QR code payments were deployed on a larger scale in the Czech Republic when an open format for payment information exchange – a Short Payment Descriptor – was introduced and endorsed by the Czech Banking Association as the official local solution for QR payments.[51][52] In 2013, the European Payment Council provided guidelines for the EPC QR code enabling SCT initiation within the Eurozone.
In 2017, Singapore created a task force including government agencies such as the Monetary Authority of Singapore and Infocomm Media Development Authority to spearhead a system for e-payments using standardized QR code specifications. These specific dimensions are specialized for Singapore.[53]
The e-payment system, Singapore Quick Response Code (SGQR), essentially merges various QR codes into one label that can be used by both parties in the payment system. This allows for various banking apps to facilitate payments between multiple customers and a merchant that displays a single QR code. The SGQR scheme is co-owned by MAS and IMDA.[54] A single SDQR label contains e-payments and combines multiple payment options. People making purchases can scan the code and see which payment options the merchant accepts.[54]
Website login
QR codes can be used to log into websites: a QR code is shown on the login page on a computer screen, and when a registered user scans it with a verified smartphone, they will automatically be logged in. Authentication is performed by the smartphone, which contacts the server. Google deployed such a login scheme in 2012.[55]
Mobile ticket
There is a system whereby a QR code can be displayed on a device such as a smartphone and used as an admission ticket.[56][57] Its use is common for J1 League and Nippon Professional Baseball tickets in Japan.[58][59] In some cases, rights can be transferred via the Internet. In Latvia, QR codes can be scanned in Riga public transport to validate Rīgas Satiksme e-tickets.[60]
Restaurant ordering
Restaurants can present a QR code near the front door or at the table allowing guests to view an online menu, or even redirect them to an online ordering website or app, allowing them to order and/or possibly pay for their meal without having to use a cashier or waiter. QR codes can also link to daily or weekly specials that are not printed on the standardized menus,[61] and enable the establishment to update the entire menu without needing to print copies. At table-serve restaurants, QR codes enable guests to order and pay for their meals without a waiter involved – the QR code contains the table number so servers know where to bring the food.[62] This application has grown especially since the need for social distancing during the 2020 COVID-19 pandemic prompted reduced contact between service staff and customers.[62]
Joining a Wi‑Fi network
By specifying the SSID, encryption type, password/passphrase, and if the SSID is hidden or not, mobile device users can quickly scan and join networks without having to manually enter the data.[63] A MeCard-like format is supported by Android and iOS 11+.[64]
- Common format:
WIFI:S:<SSID>;T:<WEP|WPA|nopass>;P:<PASSWORD>;H:<true|false|blank>;;
- Sample:
WIFI:S:MySSID;T:WPA;P:MyPassW0rd;;
Funerary use
A QR code can link to an obituary and can be placed on a headstone. In 2008, Ishinokoe in Yamanashi Prefecture, Japan began to sell tombstones with QR codes produced by IT DeSign, where the code leads to a virtual grave site of the deceased.[65][66][67] Other companies, such as Wisconsin-based Interactive Headstones, have also begun implementing QR codes into tombstones.[68] In 2014, the Jewish Cemetery of La Paz in Uruguay began implementing QR codes for tombstones.[69]
Electronic authentication
QR codes can be used to generate time-based one-time passwords for electronic authentication.
Loyalty programs
QR codes have been used by various retail outlets that have loyalty programs. Sometimes these programs are accessed with an app that is loaded onto a phone and includes a process triggered by a QR code scan. The QR codes for loyalty programs tend to be found printed on the receipt for a purchase or on the products themselves. Users in these schemes collect award points by scanning a code.
Counterfeit detection
Serialised QR codes have been used by brands[70] and governments[71] to let consumers, retailers and distributors verify the authenticity of the products and help with detecting counterfeit products, as part of a brand protection program.[72] However, the security level of a regular QR code is limited since QR codes printed on original products are easily reproduced on fake products, even though the analysis of data generated as a result of QR code scanning can be used to detect counterfeiting and illicit activity.[73] A higher security level can be attained by embedding a digital watermark or copy detection pattern into the image of the QR code. This makes the QR code more secure against counterfeiting attempts; products that display a code which is counterfeit, although valid as a QR code, can be detected by scanning the secure QR code with the appropriate app.[74]
The treaty regulating apostilles (documents bearing a seal of authenticity), has been updated to allow the issuance of digital apostilles by countries; a digital apostille is a PDF document with a cryptographic signature containing a QR code for a canonical URL of the original document, allowing users to verify the apostille from a printed version of the document.
Product tracing
Different studies have been conducted to assess the effectiveness of QR codes as a means of conveying labelling information and their use as part of a food traceability system. In a field experiment, it was found that when provided free access to a smartphone with a QR code scanning app, 52.6% of participants would use it to access labelling information.[75] A study made in South Korea showed that consumers appreciate QR code used in food traceability system, as they provide detailed information about food, as well as information that helps them in their purchasing decision.[76] If QR codes are serialised, consumers can access a web page showing the supply chain for each ingredient, as well as information specific to each related batch, including meat processors and manufacturers, which helps address the concerns they have about the origin of their food.[77]
COVID-19 pandemic
After the COVID-19 pandemic began spreading, QR codes began to be used as a "touchless" system to display information, show menus, or provide updated consumer information, especially in the hospitality industry. Restaurants replaced paper or laminated plastic menus with QR code decals on the table, which opened an online version of the menu. This prevented the need to dispose of single-use paper menus, or institute cleaning and sanitizing procedures for permanent menus after each use.[78] Local television stations have also begun to utilize codes on local newscasts to allow viewers quicker access to stories or information involving the pandemic, including testing and immunization scheduling websites, or for links within stories mentioned in the newscasts overall.
In Australia, patrons were required to scan QR codes at shops, clubs, supermarkets, and other service and retail establishments on entry to assist contact tracing. Singapore, Taiwan, the United Kingdom, and New Zealand used similar systems.[79]
QR codes are also present on COVID-19 vaccination certificates in places such as Canada and the EU (EU Digital COVID certificate), where they can be scanned to verify the information on the certificate.[80]
Design
Unlike the older, one-dimensional barcodes that were designed to be mechanically scanned by a narrow beam of light, a QR code is detected by a two-dimensional digital image sensor and then digitally analyzed by a programmed processor. The processor locates the three distinctive squares at the corners of the QR code image, using a smaller square (or multiple squares) near the fourth corner to normalize the image for size, orientation, and angle of viewing. The small dots throughout the QR code are then converted to binary numbers and validated with an error-correcting algorithm.
Information capacity
The amount of data that can be represented by a QR code symbol depends on the data type (mode, or input character set), version (1, ..., 40, indicating the overall dimensions of the symbol, i.e. 4 × version number + 17 dots on each side), and error correction level. The maximum storage capacities occur for version 40 and error correction level L (low), denoted by 40-L:[13][81]
Input mode | Max. characters | Bits/char. | Possible characters, default encoding |
---|---|---|---|
Numeric only | 7,089 | 31⁄3 | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
Alphanumeric | 4,296 | 51⁄2 | 0–9, A–Z (upper-case only), space$, %, *, +, -, ., /, : |
Binary/byte | 2,953 | 8 | ISO/IEC 8859-1 |
Kanji/kana | 1,817 | 13 | Shift JIS X 0208 |
Here are some samples of QR codes:
-
Version 1 (21×21). Content: "Ver1"
-
Version 2 (25×25). Content: "Version 2"
-
Version 3 (29×29). Content: "Version 3 QR Code"
-
Version 4 (33×33). Content: "Version 4 QR Code, up to 50 char"
-
Version 10 (57×57). Content: "VERSION 10 QR CODE, UP TO 174 CHAR AT H LEVEL, WITH 57X57 MODULES AND PLENTY OF ERROR CORRECTION TO GO AROUND. NOTE THAT THERE ARE ADDITIONAL TRACKING BOXES" (actually encoded in all capital letters). (Tracking boxes are more commonly called alignment patterns.)
-
Version 25 (117×117) Content: 1,269 characters of ASCII text describing QR codes
-
Version 40 (177×177) Content: "Version 40 QR Code can contain up to 1852 chars ..." (and followed by four paragraphs of ASCII text describing QR codes). The text refers to a QR Code with a "Level H" error correction. Other levels provide higher capacity.
Error correction
QR codes use Reed–Solomon error correction over the finite field or GF(28), the elements of which are encoded as bytes of 8 bits; the byte with a standard numerical value encodes the field element where is taken to be a primitive element satisfying . The primitive polynomial is , corresponding to the polynomial number 285, with initial root = 0 to obtain generator polynomials.
The Reed–Solomon code uses one of 37 different polynomials over , with degrees ranging from 7 to 68, depending on how many error correction bytes the code adds. It is implied by the form of Reed–Solomon used (systematic BCH view) that these polynomials are all on the form . However, the rules for selecting the degree are specific to the QR standard.
For example, the generator polynomial used for the Version 1 QR code (21×21), when 7 error correction bytes are used, is: .
This is obtained by multiplying the first seven terms: .
The same may also be expressed using decimal coefficients (over ), as: .
The highest power of in the polynomial (the degree , of the polynomial) determines the number of error correction bytes. In this case, the degree is 7.
When discussing the Reed–Solomon code phase there is some risk for confusion, in that the QR ISO/IEC standard uses the term codeword for the elements of , which with respect to the Reed–Solomon code are symbols, whereas it uses the term block for what with respect to the Reed–Solomon code are the codewords. The number of data versus error correction bytes within each block depends on (i) the version (side length) of the QR symbol and (ii) the error correction level, of which there are four. The higher the error correction level, the less storage capacity. The following table lists the approximate error correction capability at each of the four levels:
Level L (Low) | 7% of data bytes can be restored. |
Level M (Medium) | 15% of data bytes can be restored. |
Level Q (Quartile)[82] | 25% of data bytes can be restored. |
Level H (High) | 30% of data bytes can be restored. |
In larger QR symbols, the message is broken up into several Reed–Solomon code blocks. The block size is chosen so that no attempt is made at correcting more than 15 errors per block; this limits the complexity of the decoding algorithm. The code blocks are then interleaved together, making it less likely that localized damage to a QR symbol will overwhelm the capacity of any single block.
The Version 1 QR symbol with level L error correction, for example, consists of a single error correction block with a total of 26 code bytes (made of 19 message bytes and seven error correction bytes). It can correct up to 2 byte errors. Hence, this code is known as a (26,19,2) error correction code over GF(28) . It is also sometimes represented in short, as (26,19) code.
Due to error correction, it is possible to create artistic QR codes with embellishments to make them more readable or attractive to the human eye, and to incorporate colors, logos, and other features into the QR code block; the embellishments are treated as errors, but the codes still scan correctly.[83][84]
It is also possible to design artistic QR codes without reducing the error correction capacity by manipulating the underlying mathematical constructs.[85][86] Image processing algorithms are also used to reduce errors in QR-code.[87]
Encoding
Format information and masking
The format information records two things: the error correction level and the mask pattern used for the symbol. Masking is used to break up patterns in the data area that might confuse a scanner, such as large blank areas or misleading features that look like the locator marks. The mask patterns are defined on a grid that is repeated as necessary to cover the whole symbol. Modules corresponding to the dark areas of the mask are inverted. The 5-bit format information is protected from errors with a BCH code, and two complete copies are included in each QR symbol.[4] A (15,5) triple error-correcting BCH code over GF(24) is used, having the generator polynomial . It can correct at most 3 bit-errors out of the 5 data bits. There are a total of 15 bits in this BCH code (10 bits are added for error correction). This 15-bit code is itself X-ORed with a fixed 15-bit mask pattern (101010000010010) to prevent an all-zero string.
Error correction bytes
To obtain the error correction (EC) bytes for a message "www.wikipedia.org", the following procedure may be carried out:
The message is 17 bytes long, hence it can be encoded using a (26,19,2) Reed-Solomon code to fit in a Ver1 (21×21) symbol, which has a maximum capacity of 19 bytes (for L level error correction).
The generator polynomial specified for the (26,19,2) code, is: , which may also be written in the form of a matrix of decimal coefficients:
[1 127 122 154 164 11 68 117]
The 17-byte long message "www.wikipedia.org" as hexadecimal coefficients (ASCII values), denoted by M1 through M17 is:
[77 77 77 2E 77 69 6B 69 70 65 64 69 61 2E 6E 72 67]
The encoding mode is "Byte encoding". Hence the 'Enc' field is [0100] (4 bits). The length of the above message is 17 bytes hence 'Len' field is [00010001] (8 bits). The 'End' field is End of message marker [0000] (4 bits).
The message code word (without EC bytes) is of the form:
['Enc' 'Len' w w w . w i k i p e d i a . o r g 'End']
Substituting the hexadecimal values, it can be expressed as:
[4 11 77 77 77 2E 77 69 6B 69 70 65 64 69 61 2E 6E 72 67 0]
This is rearranged as 19-byte blocks of 8 bits each:
[41 17 77 77 72 E7 76 96 B6 97 06 56 46 96 12 E6 E7 26 70]
Using the procedure for Reed-Solomon systematic encoding, the 7 EC bytes obtained (E1 through E7, as shown in the symbol) which are the coefficients (in decimal) of the remainder after polynomial division are:
[174 173 239 6 151 143 37]
or in hexadecimal values:
[AE AD EF 06 97 8F 25]
These 7 EC bytes are then appended to the 19-byte message. The resulting coded message has 26 bytes (in hexadecimal):
[41 17 77 77 72 E7 76 96 B6 97 06 56 46 96 12 E6 E7 26 70 AE AD EF 06 97 8F 25]
Note: The bit values shown in the Ver1 QR symbol below do not match with the above values, as the symbol has been masked using a mask pattern (001).
Message placement
The message dataset is placed from right to left in a zigzag pattern, as shown below. In larger symbols, this is complicated by the presence of the alignment patterns and the use of multiple interleaved error-correction blocks.
-
Meaning of format information. In the above figure, the format information is protected by a (15,5) BCH code, which can correct up to 3 bit errors. The total length of the code is 15 bits, of which 5 are data bits (2 EC level + 3 mask pattern) and 10 are extra bits for error correction. The format mask pattern for these 15 bits is: [101010000010010]. Note that we map the masked values directly to its meaning here, in contrast to image 4 "Levels & Masks" where the mask pattern numbers are the result of putting the 3rd to 5th mask bit, [101], over the 3rd to 5th format info bit of the QR code.
-
Message placement within a Ver 1 QR symbol (21×21). The message is encoded using a (255,248) Reed Solomon code (shortened to (26,19) code by using "padding") that can correct up to 2 byte-errors. A total of 26 code-words consist of 7 error-correction bytes, and 17 data bytes, in addition to the "Len" (8 bit field), "Enc" (4 bit field), and "End" (4 bit field). The symbol is capable of level L error correction. The EC level is 01(L), and mask pattern is 001. Hence the first 5 bits of the format information are 01001 (without the format mask). After masking, the 5 bits become 11100, as seen here.
-
Larger symbol (Ver 3, 29×29) illustrating interleaved blocks. The message has 26 data bytes and is encoded using two Reed-Solomon code blocks. Each block is a (255,233) Reed Solomon code (shortened to (35,13) code), which can correct up to 11 byte-errors in a single burst, containing 13 data bytes and 22 "parity" bytes appended to the data bytes. The two 35-byte Reed-Solomon code blocks are interleaved (resulting in a total of 70 code bytes), so it can correct up to 22 byte-errors. The symbol achieves level H error correction.
The general structure of a QR encoding is as a sequence of 4 bit indicators with payload length dependent on the indicator mode (e.g. byte encoding payload length is dependent on the first byte).[88]
Mode indicator | Description | Typical structure '[ type : sizes in bits ]' |
---|---|---|
1 = 0b0001 | Numeric | [0001 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 31⁄3 × charcount ] |
2 = 0b0010 | Alphanumeric | [0010 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 51⁄2 × charcount ] |
4 = 0b0100 | Byte encoding | [0100 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 8 × charcount ] |
8 = 0b1000 | Kanji encoding | [1000 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 13 × charcount ] |
3 = 0b0011 | Structured append | [0011 : 4] [ Symbol Position : 4 ] [ Total Symbols: 4 ] [ Parity : 8 ] |
7 = 0b0111 | ECI | [0111 : 4] [ ECI Assignment number : variable ] |
5 = 0b0101 | FNC1 in first position | [0101 : 4] [ Numeric/Alphanumeric/Byte/Kanji payload : variable ] |
9 = 0b1001 | FNC1 in second position | [1001 : 4] [ Application Indicator : 8 ] [ Numeric/Alphanumeric/Byte/Kanji payload : variable ] |
0 = 0b0000 | End of message | [0000 : 4] |
- Note:
- Character Count Indicator depends on how many modules are in a QR code (Symbol Version).
- ECI Assignment number Size:
- 8 × 1 bits if ECI Assignment Bitstream starts with '0'
- 8 × 2 bits if ECI Assignment Bitstream starts with '10'
- 8 × 3 bits if ECI Assignment Bitstream starts with '110'
Four-bit indicators are used to select the encoding mode and convey other information.
Indicator | Meaning |
---|---|
0001 | Numeric encoding (10 bits per 3 digits) |
0010 | Alphanumeric encoding (11 bits per 2 characters) |
0100 | Byte encoding (8 bits per character) |
1000 | Kanji encoding (13 bits per character) |
0011 | Structured append (used to split a message across multiple QR symbols) |
0111 | Extended Channel Interpretation (select alternate character set or encoding) |
0101 | FNC1 in first position (see Code 128 for more information) |
1001 | FNC1 in second position |
0000 | End of message (Terminator) |
Encoding modes can be mixed as needed within a QR symbol. (e.g., a url with a long string of alphanumeric characters )
[ Mode Indicator][ Mode bitstream ] --> [ Mode Indicator][ Mode bitstream ] --> etc... --> [ 0000 End of message (Terminator) ]
After every indicator that selects an encoding mode is a length field that tells how many characters are encoded in that mode. The number of bits in the length field depends on the encoding and the symbol version.
Encoding | Ver. 1–9 | 10–26 | 27–40 |
---|---|---|---|
Numeric | 10 | 12 | 14 |
Alphanumeric | 9 | 11 | 13 |
Byte | 8 | 16 | 16 |
Kanji | 8 | 10 | 12 |
Alphanumeric encoding mode stores a message more compactly than the byte mode can, but cannot store lower-case letters and has only a limited selection of punctuation marks, which are sufficient for rudimentary web addresses. Two characters are coded in an 11-bit value by this formula:
- V = 45 × C1 + C2
This has the exception that the last character in an alphanumeric string with an odd length is read as a 6-bit value instead.
Code | Character | Code | Character | Code | Character | Code | Character | Code | Character |
---|---|---|---|---|---|---|---|---|---|
00 | 0 | 09 | 9 | 18 | I | 27 | R | 36 | Space |
01 | 1 | 10 | A | 19 | J | 28 | S | 37 | $ |
02 | 2 | 11 | B | 20 | K | 29 | T | 38 | % |
03 | 3 | 12 | C | 21 | L | 30 | U | 39 | * |
04 | 4 | 13 | D | 22 | M | 31 | V | 40 | + |
05 | 5 | 14 | E | 23 | N | 32 | W | 41 | - |
06 | 6 | 15 | F | 24 | O | 33 | X | 42 | . |
07 | 7 | 16 | G | 25 | P | 34 | Y | 43 | / |
08 | 8 | 17 | H | 26 | Q | 35 | Z | 44 | : |
Decoding example
The following images offer more information about the QR code.
-
1 – Introduction
-
2 – Structure
-
3 – Layout & Encoding
-
4 – Levels & Masks
-
5 – Protocols
Variants
Model 1
Model 1 QR code is an older version of the specification. It is visually similar to the widely seen model 2 codes, but lacks alignment patterns. Differences are in the bottom right corner, and in the midsections of the bottom and right edges are additional functional regions.
-
Model 1 QR code example
-
Model 1 QR code functional regions
Micro QR code
Micro QR code is a smaller version of the QR code standard for applications where symbol size is limited. There are four different versions (sizes) of Micro QR codes: the smallest is 11×11 modules; the largest can hold 35 numeric characters,[89] or 21 ASCII alphanumeric characters, or 15 bytes (128 bits).
-
Micro QR code example
-
Micro QR code functional regions
Rectangular Micro QR Code
Rectangular Micro QR Code (also known as rMQR Code) is two-dimensional (2D) matrix barcode invented and standardized in 2022 by Denso Wave as ISO/IEC 23941. rMQR Code is designed as a rectangular variation of QR code and has the same parameters and applications as original QR code. But rMQR Code is more suitable for the rectangular areas and has difference between width and height up to 19 in R7x139 version.
-
Rectangular Micro QR Code (rMQR Code) example
iQR code
iQR code is an alternative to existing square QR codes developed by Denso Wave. iQR codes can be created in square or rectangular formations; this is intended for situations where a longer and narrower rectangular shape is more suitable, such as on cylindrical objects. iQR codes can fit the same amount of information in 30% less space. There are 61 versions of square iQR codes, and 15 versions of rectangular codes. For squares, the minimum size is 9 × 9 modules; rectangles have a minimum of 19 × 5 modules. iQR codes add error correction level S, which allows for 50% error correction.[90] iQR Codes had not been given an ISO/IEC specification as of 2015, and only proprietary Denso Wave products could create or read iQR codes.[91]
-
iQR code example
Secure QR code
Secure Quick Response (SQR) code is a QR code that contains a "private data" segment after the terminator instead of the specified filler bytes "ec 11".[92] This private data segment must be deciphered with an encryption key. This can be used to store private information and to manage a company's internal information.[93]
Frame QR
Frame QR is a QR code with a "canvas area" that can be flexibly used. In the center of this code is the canvas area, where graphics, letters, and more can be flexibly arranged, making it possible to lay out the code without losing the design of illustrations, photos, etc.[94]
HCC2D
Researchers have proposed a new High Capacity Colored 2-Dimensional (HCC2D) Code, which builds upon a QR code basis for preserving the QR robustness to distortions and uses colors for increasing data density (as of 2014 it is still in the prototyping phase). The HCC2D code specification is described in details in Querini et al. (2011),[95] while techniques for color classification of HCC2D code cells are described in detail in Querini and Italiano (2014),[96] which is an extended version of Querini and Italiano (2013).[97]
Introducing colors into QR codes requires addressing additional issues. In particular, during QR code reading only the brightness information is taken into account, while HCC2D codes have to cope with chromatic distortions during the decoding phase. In order to ensure adaptation to chromatic distortions that arise in each scanned code, HCC2D codes make use of an additional field: the Color Palette Pattern. This is because color cells of a Color Palette Pattern are supposed to be distorted in the same way as color cells of the Encoding Region. Replicated color palettes are used for training machine-learning classifiers.
AQR
Accessible QR is a type of QR code that combines a standard QR code with a dot-dash pattern positioned around one corner of the code to provide product information for people who are blind and partially sighted. The codes, announce product categories and product details such as instructions, ingredients, safety warnings, and recycling information. The data is structured for the needs of users who are blind or partially sighted and offers larger text or audio output. It can read QR codes from a metre away, activating the smartphone's accessibility features like VoiceOver to announce product details.
License
The use of QR code technology is freely licensed as long as users follow the standards for QR code documented with JIS or ISO/IEC. Non-standardized codes may require special licensing.[98]
Denso Wave owns a number of patents on QR code technology, but has chosen to exercise them in a limited fashion.[98] In order to promote widespread usage of the technology Denso Wave chose to waive its rights to a key patent in its possession for standardized codes only.[17] In the US, the granted QR code patent is 5726435, and in Japan 2938338, both of which have expired. The European Patent Office granted patent 0672994 to Denso Wave, which was then validated into French, UK, and German patents, all of which expired in March 2015.[99]
The text QR Code itself is a registered trademark and wordmark of Denso Wave Incorporated.[100] In UK, the trademark is registered as E921775, the term QR Code, with a filing date of 3 September 1998.[101] The UK version of the trademark is based on the Kabushiki Kaisha Denso (DENSO CORPORATION) trademark, filed as Trademark 000921775, the term QR Code, on 3 September 1998 and registered on 16 December 1999 with the European Union OHIM (Office for Harmonization in the Internal Market).[102] The U.S. Trademark for the term QR Code is Trademark 2435991 and was filed on 29 September 1998 with an amended registration date of 13 March 2001, assigned to Denso Corporation.[103] In South Korea, trademark application filed on 18 November 2011 was refused at 20 March 2012, because the Korean Intellectual Property Office viewed that the phrase was genericized among South Korean people to refer to matrix barcodes in general.[104]
Risks
The only context in which common QR codes can carry executable data is the URL data type. These URLs may host JavaScript code, which can be used to exploit vulnerabilities in applications on the host system, such as the reader, the web browser, or the image viewer, since a reader will typically send the data to the application associated with the data type used by the QR code.
In the case of no software exploits, malicious QR codes combined with a permissive reader can still put a computer's contents and user's privacy at risk. This practice is known as "attagging", a portmanteau of "attack tagging".[105] They are easily created and can be affixed over legitimate QR codes.[106][failed verification] [107] On a smartphone, the reader's permissions may allow use of the camera, full Internet access, read/write contact data, GPS, read browser history, read/write local storage, and global system changes.[108][109][110][improper synthesis?]
Risks include linking to dangerous web sites with browser exploits, enabling the microphone/camera/GPS, and then streaming those feeds to a remote server, analysis of sensitive data (passwords, files, contacts, transactions),[111] and sending email/SMS/IM messages or packets for DDoS as part of a botnet, corrupting privacy settings, stealing identity,[112] and even containing malicious logic themselves such as JavaScript[113] or a virus.[114][115] These actions could occur in the background while the user is only seeing the reader opening a seemingly harmless web page.[116] In Russia, a malicious QR code caused phones that scanned it to send premium texts at a fee of $6 each.[105] QR codes have also been linked to scams in which stickers are placed on parking meters and other devices, posing as quick payment options, as seen in Austin, San Antonio and Boston, among other cities across the United States and Australia.[117][118][119]
See also
- Aztec Code
- Data Matrix
- High Capacity Color Barcode
- JAB Code
- PDF417
- QRpedia
- SnapTag
- SPARQCode
- Touchatag
- MaxiCode
References
- ^ Hara, Masahiro (1 October 2024). "I used to hate QR codes. But they're actually genius" (Interview). Interviewed by Muller, Derek. 34:09. Retrieved 1 October 2024.
The biggest feature of QR codes is that they can be read quickly. It's called Quick Response because it reacts quickly.
- ^ Hung, Shih-Hsuan; Yao, Chih-Yuan; Fang, Yu-Jen; Tan, Ping; Lee, RuenRone; Sheffer, Alla; Chu, Hung-Kuo (1 September 2020). "Micrography QR Codes". IEEE Transactions on Visualization and Computer Graphics. 26 (9): 2834–2847. doi:10.1109/TVCG.2019.2896895. ISSN 1077-2626. PMID 30716038. S2CID 73433883. Archived from the original on 21 April 2021. Retrieved 21 April 2021.
- ^ Chen, Rongjun; Yu, Yongxing; Xu, Xiansheng; Wang, Leijun; Zhao, Huimin; Tan, Hong-Zhou (11 December 2019). "Adaptive Binarization of QR Code Images for Fast Automatic Sorting in Warehouse Systems". Sensors. 19 (24): 5466. Bibcode:2019Senso..19.5466C. doi:10.3390/s19245466. PMC 6960674. PMID 31835866.
- ^ a b c "QR Code Essentials". Denso ADC. 2011. Archived from the original on 12 May 2013. Retrieved 12 March 2013.
- ^ "QR Code features". Denso-Wave. Archived from the original on 29 January 2013. Retrieved 3 October 2011.
- ^ a b c "QRコード開発|テクノロジー|デンソーウェーブ" [QR code development]. Denso Wave (in Japanese). Archived from the original on 26 October 2021. Retrieved 26 October 2021.
- ^ "2D Barcodes". NHK World-Japan. 26 March 2020. Archived from the original on 7 April 2020. Retrieved 7 April 2020.
- ^ "From Japanese Auto Parts to Ubiquity: A Look at the History of QR Codes". Mainichi Daily News. 9 November 2021. Archived from the original on 11 November 2021. Retrieved 11 November 2021.
- ^ "The Little-Known Story of the Birth of the QR Code". 10 February 2020. Archived from the original on 4 March 2020.
- ^ a b "History of QR Code". Denso Wave. Retrieved 30 April 2023.
- ^ a b Borko Furht (2011). Handbook of Augmented Reality. Springer. p. 341. ISBN 9781461400646. Archived from the original on 21 December 2016.
- ^ Joe Waters. "How to Use the Top QR Code Generators". Dummies.com. Archived from the original on 11 September 2017. Retrieved 5 June 2017.
- ^ a b "QR Code—About 2D Code". Denso-Wave. Archived from the original on 5 June 2016. Retrieved 27 May 2016.
- ^ "14m Americans scanned QR and bar codes with their mobiles in June 2011". 16 August 2011. Archived from the original on 5 April 2016. Retrieved 27 May 2016.
- ^ "Mobile QR scanner usage in the U.S. 2025". Statista. Retrieved 24 December 2023.
- ^ "U.S. and UK increase of QR code use 2020". 6 July 2021. Archived from the original on 14 August 2021. Retrieved 13 August 2021.
- ^ a b "QR Code Standardization". QR Code.com. Denso-Wave. Archived from the original on 10 May 2016. Retrieved 23 May 2016.
- ^ "ISS QR Code|AIM Store: Historical Archive". Aimglobal.org. Archived from the original on 8 August 2016. Retrieved 26 May 2016.
- ^ "ISO/IEC 18004:2006 - Information technology – Automatic identification and data capture techniques – QR Code 2005 bar code symbology specification". www.iso.org. 5 February 2009. Archived from the original on 8 March 2017. Retrieved 7 March 2017.
- ^ "ISO/IEC 23941:2022 Information technology — Automatic identification and data capture techniques — Rectangular Micro QR Code (rMQR) bar code symbology specification". ISO. Archived from the original on 3 January 2023. Retrieved 3 January 2023.
- ^ "Synchronization with Native Applications". NTT DoCoMo. Archived from the original on 6 August 2016. Retrieved 26 May 2016.
- ^ Sean Owen (17 January 2014). "Barcode contents". GitHub. Archived from the original on 15 February 2016. Retrieved 26 May 2016.
- ^ Rimma Kats (23 January 2012). "Starbucks promotes coffee blend via QR codes". Archived from the original on 3 June 2016. Retrieved 26 May 2016.
- ^ Jenny Lee (4 January 2012). "Tesco's cool QR code advertising campaign". Vancouversun. Archived from the original on 3 June 2016. Retrieved 26 May 2016.
- ^ "Getting Started with Infographics (deprecated)". google-developers.appspot.com. 26 May 2015. Archived from the original on 29 June 2016. Retrieved 27 May 2016.
- ^ "QR Code Readers for iPhone, Android, Blackberry and Windows Phone 7". 7 December 2010. Archived from the original on 25 August 2011.
- ^ "QR codes on China's train tickets may leak personal information". Want China Times. Archived from the original on 12 December 2013. Retrieved 16 March 2013.
- ^ Novak, Asami (23 March 2008). "Japanese Gravestones Memorialize the Dead With QR Codes". Wired. Archived from the original on 15 February 2013. Retrieved 8 May 2013.
- ^ Skepticality (5 July 2011). "Paranormality". Skepticality.com. Archived from the original on 3 July 2015. Retrieved 27 June 2015.
- ^ "Field codes: DisplayBarcode". Microsoft Support. Retrieved 22 April 2023.
- ^ "LibreOffice 6.4: Release Notes". The Document Foundation Wiki. Retrieved 22 April 2023.
- ^ "Herdenkingsmunt met QR code volop in het nieuws!" [Commemorative QR code in the news!]. Koninklijke Nederlandse Munt (in Dutch). 21 June 2011. Archived from the original on 29 June 2016. Retrieved 27 May 2016.
- ^ "New ₦100 Commemorative Centenary Celebration". Archived from the original on 8 September 2015. Retrieved 10 September 2015.
- ^ "Russia Marks Crimea Annexation With A Banknote Rapidly Losing Value". NPR. 23 December 2015. Archived from the original on 23 December 2015. Retrieved 20 June 2024.
- ^ www.ETRetail.com. "With IndiaQR launch, retail payments to get digital edge - ET Retail". ETRetail.com. Archived from the original on 15 February 2017. Retrieved 15 February 2017.
- ^ "IndiaQR to debut on Feb 20". The Times of India. Archived from the original on 16 February 2017. Retrieved 15 February 2017.
- ^ "Apple hid a QR Code scanner in iOS 11 — here's how to use it". CNET. Retrieved 1 October 2024.
- ^ Lopez, Napier (7 June 2017). "iOS 11 makes QR codes cool again". TNW | Apple. Retrieved 1 October 2024.
- ^ Lacoma, Tyler (3 October 2018). "How to Scan a QR Code". Digital Trends. Archived from the original on 22 April 2019. Retrieved 28 May 2019.
- ^ "Tesco QR Code Virtual Store". 14 April 2012. Archived from the original on 25 May 2016. Retrieved 26 May 2016.
- ^ Sebastián Campanario (16 September 2011). "Marketing futurista: ya se puede comprar con la cámara del celular" [Futuristic marketing: it's already possible to purchase with a cellphone's camera]. Clarin.com (in Spanish). Archived from the original on 23 September 2011.
- ^ "Marketers scatter phone-friendly codes across ads". 11 November 2010. Archived from the original on 12 January 2023. Retrieved 26 May 2016.
- ^ "Top 10 QR Code Store examples". 14 April 2012. Archived from the original on 6 June 2016. Retrieved 26 May 2016.
- ^ "SCVNGR Unveils QR Code Payment System". Mashable. 12 October 2011. Archived from the original on 8 December 2012.
- ^ Kim, Ryan (26 January 2012). "MasterCard starts piloting QkR mobile payment app". Gigaom. Archived from the original on 8 January 2014.
- ^ Jacobs, Harrison. "One photo shows that China is already in a cashless future". Business Insider. Archived from the original on 5 May 2019. Retrieved 14 October 2019.
- ^ Mozur, Paul (16 July 2017). "In Urban China, Cash Is Rapidly Becoming Obsolete". The New York Times. ISSN 0362-4331. Archived from the original on 21 October 2019. Retrieved 14 October 2019.
- ^ "Paying With Your Mobile Wallet To Get Simpler With Interoperable QR Codes". Moneycontrol. 28 October 2020. Archived from the original on 1 November 2020. Retrieved 22 December 2020.
- ^ "A Hangzhou Story: The Development of China's Mobile Payment Revolution" (PDF). Archived (PDF) from the original on 26 June 2020. Retrieved 23 June 2020.
- ^ "Payment methods in China: How China became a mobile-first nation". daxueconsulting.com. Archived from the original on 29 June 2020. Retrieved 23 June 2020.
- ^ "Standard - Formát pro sdílení platebních údajů v rámci tuzemského platebního styku v CZK prostřednictvím QR kódů" [Standard No. 26: Format for exchanging payment information for domestic payments in CZK using QR codes] (in Czech). Czech Banking Association. November 2012. Archived from the original on 3 June 2016. Retrieved 27 May 2016.
- ^ "Formát pro sdílení platebních údajů v CZK - QR kódy" [Format for exchanging payment information in CZK - QR codes] (in Czech). Czech Banking Association. August 2015. Archived from the original on 2020-02-16. Retrieved 2020-02-17.
- ^ IMDA (9 November 2022). "Annex A – Fact sheet on Singapore Quick Response Code (SGQR)" (PDF). Archived (PDF) from the original on 5 December 2022. Retrieved 10 November 2022.
- ^ a b Monetary Authority of Singapore (9 November 2022). "Singapore Quick Response Code (SGQR)". Archived from the original on 26 July 2022. Retrieved 10 November 2022.
- ^ Naraine, Ryan (17 January 2012). "Google testing login authentication via QR codes". ZDNet. Archived from the original on 15 June 2013.
- ^ "【公式】チケットの使い方 東京ディズニーリゾート" (in Japanese). Archived from the original on 20 October 2022. Retrieved 20 October 2022.
- ^ "ダイレクトイン(QRコード)の使い方|USJ WEBチケットストア". USJ (in Japanese). Archived from the original on 20 October 2022. Retrieved 20 October 2022.
- ^ "QRチケットレス入場について". サンフレッチェ広島 オフィシャルサイト (in Japanese).
- ^ "スマートスタジアム". 東北楽天ゴールデンイーグルス (in Japanese). Archived from the original on 20 October 2022. Retrieved 20 October 2022.
- ^ "New Riga public transport tickets are on sale now | Rīgas valstspilsētas pašvaldība". www.riga.lv. Retrieved 13 September 2023.
- ^ "Modern Restaurant Management | The Business of Eating & Restaurant Management News". modernrestaurantmanagement.com. 22 October 2020. Archived from the original on 1 November 2020. Retrieved 1 November 2020.
- ^ a b Kastrenakes, Jacob (29 September 2020). "Square launches QR codes that let you order from your table at a restaurant". Verge.com. VOX Media LLC. Archived from the original on 23 November 2020. Retrieved 24 November 2020.
- ^ "Share your Wi-Fi SSID & Password using a QR Code". 19 July 2015. Archived from the original on 12 January 2023. Retrieved 6 January 2018.
- ^ "zxing documentation: barcode contents". GitHub. zxing. Archived from the original on 15 February 2016. Retrieved 26 May 2016.
- ^ "モノウォッチは生まれ変わります". Archived from the original on 13 November 2015. Retrieved 10 September 2015.
- ^ Michael Keferl (20 March 2008). "QR code graves give a "Memorial Window"". Japan Trends. Archived from the original on 2 May 2012.
- ^ "供養の窓 - 石の声 株式会社" (in Japanese). Archived from the original on 13 November 2015. Retrieved 10 September 2015.
- ^ "Quiring Monuments adds smartphone codes to gravestones". Puget Sound Business Journal. 26 April 2011. Archived from the original on 23 June 2015. Retrieved 10 September 2015.
- ^ "Uruguayan Jewish Cemetery QR-ified" (in Spanish). EL PAIS. 24 March 2014. Archived from the original on 3 August 2016.
- ^ "Exclusive - CHINA: Pernod Ricard to use QR codes on all China packaging". www.just-drinks.com. 17 September 2013. Retrieved 24 April 2020.
- ^ "Digital tax stamps will curb fake goods - URA". Daily Monitor. Archived from the original on 12 January 2023. Retrieved 24 April 2020.
- ^ "The power of smart packaging". www.bakingbusiness.com. Archived from the original on 12 January 2023. Retrieved 3 May 2020.
- ^ Baldini, Gianmarco; Nai Fovino, Igor; Satta, Riccardo; Tsois, Aris; Checchi, Enrico (2015). Survey of techniques for the fight against counterfeit goods and Intellectual Property Rights (IPR) infringement. Luxembourg: European Commission. Joint Research Centre, Publications Office. pp. 28, 89–92. ISBN 978-92-79-54543-6. OCLC 948769705.
- ^ Carron, Cecilia (6 May 2015). "Combatting counterfeiting using QR codes". phys.org. Archived from the original on 12 January 2023. Retrieved 16 June 2020.
- ^ Li, Tongzhe; Messer, Kent D.; Li, Tongzhe; Messer, Kent D. (2019). Li, Tongzhe; Messer, Kent D. (eds.). "To Scan or Not to Scan: The Question of Consumer Behavior and QR Codes on Food Packages". Journal of Agricultural and Resource Economics. doi:10.22004/ag.econ.287977. ISSN 1068-5502. Archived from the original on 1 November 2020. Retrieved 24 June 2020.
- ^ Kim, Yeong Gug; Woo, Eunju (1 July 2016). "Consumer acceptance of a quick response (QR) code for the food traceability system: Application of an extended technology acceptance model (TAM)". Food Research International. 85: 266–272. doi:10.1016/j.foodres.2016.05.002. ISSN 0963-9969. PMID 29544844.
- ^ "Behind Every Smart Product is Smart Packaging | Future Food Asia". futurefoodasia.com. Archived from the original on 21 June 2020. Retrieved 24 June 2020.
- ^ Leger, Benjamin (27 October 2020). "QR codes are replacing physical menus at restaurants". [225]. Archived from the original on 1 November 2020. Retrieved 1 November 2020.
- ^ Purtill, James (19 November 2020). "The proliferation of QR code check-ins is a 'dog's breakfast'. Is there a better way?". www.abc.net.au. Australian Broadcasting Corporation. Archived from the original on 30 January 2021. Retrieved 15 January 2021.
- ^ Hristova, Bobby (28 December 2021). "Ontarians need QR code to prove vaccination next week. Here's what you need to know". Archived from the original on 31 December 2021. Retrieved 30 December 2021.
- ^ "Information capacity and versions of QR Code". Denso-Wave. Archived from the original on 29 May 2016.
- ^ "2D Barcode: QR-Code". Archived from the original on 15 September 2012. — TEC-IT
- ^ Hamilton Chan (18 April 2011). "HOW TO: Make Your QR Codes More Beautiful". Mashable. Archived from the original on 10 July 2012. Retrieved 29 July 2011.
- ^ Orli Sharaby (18 October 2010). "Form Meets Function: Extreme Makeover QR Code Edition". Archived from the original on 8 July 2012. Retrieved 29 July 2011.
- ^ Russ Cox (12 April 2012). "QArt Codes: How to make pictures with QR codes, part II". Archived from the original on 21 March 2015. Retrieved 8 May 2015.
- ^ Russ Cox (12 April 2012). "QArt Coder". Archived from the original on 24 April 2015. Retrieved 8 May 2015.
- ^ Gupta, Kishor Datta; Ahsan, Md Manjurul; Andrei, Stefan (January 2018). "Extending the Storage Capacity And Noise Reduction of a Faster QR-Code". Brain Broad Research in Artificial Intelligence and Neuroscience. 9 (1): 59–71.
- ^ ISO/IEC 18004:2006(E) § 6.4 Data encoding; Table 3 – Number of bits in character count indicator for QR code 2005
- ^ Information technology – Automatic identification and data capture techniques – QR Code 2005 bar code symbology specification, ISO/IEC 18004:2006 cor. 2009, pages 3, 6.
- ^ "QR Code Overview & Progress of QR Code Applications" (PDF). Archived (PDF) from the original on 20 May 2013. Retrieved 26 June 2014.
- ^ "iQR Code – QRcode.com – DENSO WAVE". Archived from the original on 7 September 2015. Retrieved 10 September 2015.
- ^ "Embedding Secret Data in QR Code". Archived from the original on 30 October 2018. Retrieved 29 October 2018.
- ^ "SQRC". qrcode.com. Archived from the original on 1 January 2018. Retrieved 26 December 2017.
- ^ "Frame QR". qrcode.com. Archived from the original on 20 December 2017. Retrieved 26 December 2017.
- ^ Querini, M; Grillo, A; Lentini, A; Italiano, GF (2011). "2D Color Barcodes for Mobile Phones" (PDF). International Journal of Computer Science and Applications. 8 (1). Technomathematics Research Foundation: 136–155. Archived from the original (PDF) on 4 March 2016. Retrieved 21 December 2024.
- ^ Querini, Marco; Italiano, Giuseppi F (2014). "Reliability and Data Density in High Capacity Color Barcodes" (PDF). Computer Science and Information Systems. 11 (4): 1595–1615. doi:10.2298/CSIS131218054Q. Archived from the original (PDF) on 24 July 2015. Retrieved 21 December 2024.
- ^ Querini, Marco; Italiano, Giuseppi F (2013). "Color classifiers for 2D color barcodes" (PDF). Federated Conference on Computer Science and Information System. Archived from the original (PDF) on 24 July 2015.
- ^ a b "About the patent". Denso-Wave. Archived from the original on 25 June 2016. Retrieved 26 June 2016.
- ^ "DPA". Archived from the original on 26 July 2018. Retrieved 28 July 2016."INPI". Archived from the original on 13 August 2016."UK IPO". 9 March 2013. Archived from the original on 14 June 2019. Retrieved 28 July 2016.
- ^ "QR Code.com". Denso-Wave. 6 November 2003. Archived from the original on 15 September 2012. Retrieved 23 April 2009.
- ^ "UK QR Code Trademark". Archived from the original on 15 September 2012.
- ^ "EU QR Code Trademark". Archived from the original on 15 September 2012.
- ^ "US QR Code Trademark". Archived from the original on 15 September 2012.
- ^ "KR QR Code Trademark Application". 2010. doi:10.8080/4020100059499. Archived from the original on 18 November 2023.
- ^ a b "Jargon Watch", Wired, vol. 20, no. 1, p. 22, January 2012.
- ^ "Malicious Images: What's a QR Code". SANS Technology Institute. 3 August 2011. Archived from the original on 13 July 2012. Retrieved 31 August 2011.
- ^ Waqas, Iam (19 October 2021). "Risks of Using QR Codes and How To Mitigate it – Not As Safe as You Think". Institute of Electrical and Electronics Engineers (IEEE). Retrieved 21 October 2024.
- ^ "Barcode Scanner". 1 June 2011. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
- ^ "QR Droid". 19 August 2011. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
- ^ "ScanLife Barcode Reader". 24 May 2011. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
- ^ "Consumer Alert: QR Code Safety". Better Business Bureau. 23 June 2011. Archived from the original on 15 July 2012. Retrieved 31 August 2011.
- ^ "AVG Cautions: Beware of Malicious QR Codes". PC World. 28 June 2011. Archived from the original on 7 September 2012. Retrieved 31 August 2011.
- ^ "EvilQR – When QRCode goes bad". AppSec-Labs Blog. 14 August 2011. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
- ^ "QR Codes: A Recipe for a Mobile Malware Tsunami". Cyveillance, Inc. 20 October 2010. Archived from the original on 28 July 2012. Retrieved 31 August 2011.
- ^ QR codes hold up to 2.9 KB whereas the smallest known computer virus is about one-tenth that size "The Smallest Virus I Could Manage". Virus Labs and Distribution. 1995. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
- ^ "Beware of Malicious QR Codes". ABC. 8 June 2011. Archived from the original on 1 August 2012. Retrieved 31 August 2011.
- ^ Binder, Matt. "Beware the QR code scams". Mashable. Archived from the original on 17 January 2022. Retrieved 18 January 2022.
- ^ Vincent, James (12 January 2022). "The latest phishing scam to watch out for: fraudulent QR codes on parking meters". The Verge. Archived from the original on 17 January 2022. Retrieved 18 January 2022.
- ^ Wodinsky, Shoshana (12 January 2022). "Scammers Are Using QR Codes to Plunder Parking Meter Payments". Gizmodo. Archived from the original on 18 January 2022. Retrieved 18 January 2022.
Bibliography
- BS ISO/IEC 18004:2006. Information technology. Automatic identification and data capture techniques. Bar code symbology. QR Code. Geneva: ISO/IEC. 2000. p. 114. OCLC 60816353.
- BS ISO/IEC 18004:2006. Information technology. Automatic identification and data capture techniques. QR Code 2005 bar code symbology specification. London: BSI. 2007. p. 126. ISBN 978-0-580-67368-9. Retrieved 4 May 2023.
External links
- Reed Solomon Codes for Coders – an elaborate tutorial on Wikiversity, covering both QR code structure and the Reed Solomon codes used to encode the data.