QR code: the factory requirements inside the square
The QR code began as a way to carry manufacturing information through production work. Denso's Masahiro Hara later described a practical bottleneck: workers could face approximately 1,000 barcode scans in a day because individual labels held only about 20 characters. More detailed production control demanded more information, while smaller products left less room to print it. The system released in 1994 addressed those linked requirements of capacity, space, and scanning speed. Its name, Quick Response, put the speed requirement directly into the product's identity.
In Denso Wave's development interview, Hara dates the request from manufacturing sites to 1992. He was working on barcode scanners and optical character recognition equipment and initially tried improving the scanners. The label's limited capacity remained a constraint. The new design would encode kanji and kana as well as alphanumeric information, using both dimensions of a printed area. Factory conditions added another requirement: production documents could be stained by oil and grease. A useful industrial label had to tolerate some damage as well as carry more information.
Denso Wave's published history describes a two-person development team and a survey of surrounding printed material. Hara and his colleague reduced images and characters on leaflets, magazines, and cartons to black-and-white patterns, looking for a ratio uncommon in ordinary printing. A locator resembling nearby marks could mislead a scanner. They selected the sequence 1:1:3:1:1 for the widths of alternating dark and light regions. The resulting square position markers helped equipment find the code and establish its orientation despite changes in the scanning angle.
The early patent records the geometry more precisely. US5726435A names Hara and four other inventors, with an original Japanese priority date of March 14, 1994, and a U.S. filing date of March 14, 1995. Its illustrated embodiment places positioning symbols at three corners of a square matrix. Each consists of nested dark, light, and dark squares. A scan through a marker's center encounters the same five-part ratio at different angles. The patent describes identifying the markers before proceeding to locate the information-bearing cells.
That patent also distinguishes the locator pattern from the data. Its abstract describes three positioning symbols, a data region, timing cells, and a cell marking the remaining corner. The QR code design therefore reserves some printed space for locating and interpreting the rest. In the illustrated 21-by-21-cell embodiment, diagonal alternating light and dark timing cells help establish data-cell coordinates. These are details of that early embodiment, whose timing arrangement belongs to the patent's particular design. Its publication followed in 1998, after the system's 1994 release.
Error correction gives the industrial requirement a measurable form. Denso Wave's technical explanation describes four selectable levels and the use of Reed-Solomon coding. Extra correction information increases robustness but also increases the space required. It suggests levels Q or H for dirty factory environments and level L for clean settings requiring more data. Level M is described as the usual choice. Selecting a level therefore balances the likely damage against the amount of information and the size of the printed symbol.
The percentages refer to codewords, each containing eight bits, rather than to an arbitrary fraction of the visible square. Denso Wave illustrates the distinction with 100 original codewords and 100 correction codewords: 50 damaged codewords can be corrected, corresponding to 25 percent of the combined total. Its outline specification gives approximate restoration levels of 7, 15, 25, and 30 percent for L, M, Q, and H. A QR code's resilience depends on its encoding and selected correction level; a percentage alone does not describe every possible pattern of physical damage.
Adoption initially followed the manufacturing purpose. Denso Wave's history identifies the automotive industry's electronic Kanban production-management system as an early application, spanning production, shipping, and transaction slips. Food, pharmaceutical, and contact-lens businesses subsequently used the technology for merchandise control and traceability. The same history dates wider Japanese public use to 2002, when mobile phones with scanning functions made websites and coupons accessible through printed symbols. That later phone use expanded a system already developed for industrial information handling.
Standardization provided a shared technical framework. Denso Wave records AIM approval in October 1997, JEIDA approval in March 1998, Japanese industrial standardization in January 1999, and ISO approval in June 2000 as ISO/IEC 18004. The company published specifications and limited its patent-rights waiver to standardized QR codes. The QR code could spread through compatible implementations while its specifications became part of national and international standards.
The published outline also shows how capacity depends on the symbol being encoded. Sizes extend from 21-by-21 to 177-by-177 modules, increasing by four modules per side. Maximum capacities differ by data type: 7,089 numeric characters, 4,296 alphanumeric characters, 2,953 binary bytes, or 1,817 kanji characters. Those maxima belong to the outline's available configurations, rather than to every printed square. Capacity, correction overhead, and recognition patterns share the same limited area, linking the familiar factory label's appearance to the information it must carry.
- Denso Wave, QR Code development story: interview with Masahiro Hara on manufacturing requirements — www.denso-wave.com
- Denso Wave, History of QR Code: pattern selection, release, industrial adoption, and phone use — www.qrcode.com
- Hara and colleagues, US5726435A: Optically readable two-dimensional code and method and apparatus using the same — patents.google.com
- Denso Wave, Error Correction Feature: Reed-Solomon coding and codeword restoration — www.qrcode.com
- Denso Wave, QR Code Standardization: standards dates, patent policy, and outline specification — www.qrcode.com