{"id":159,"date":"2023-07-07T20:46:37","date_gmt":"2023-07-08T00:46:37","guid":{"rendered":"https:\/\/unsung.davidpogue.com\/?p=159"},"modified":"2023-11-16T13:42:37","modified_gmt":"2023-11-16T18:42:37","slug":"the-man-who-invented-qr-codes","status":"publish","type":"post","link":"https:\/\/www.unsungscience.com\/index.php\/2023\/07\/07\/the-man-who-invented-qr-codes\/","title":{"rendered":"The Man Who Invented QR Codes"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Season 2 \u2022\u00a0Episode 14<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In 1994, Masahiro Hara, working at a Toyota car-parts subsidiary, got tired of having to scan six or seven barcodes on every box of parts that zoomed past on the assembly line. Why, he wondered, were we still using the standard barcode\u2014a bunch of closely spaced parallel lines\u2014that we\u2019d been using since the 70s? Why couldn\u2019t someone invent a barcode that used two dimensions instead of one\u2026 could work from any angle or distance\u2026could work even if it got smudged or torn?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And so, studying a game of Go, he dreamed up what we now know as the QR Code, the one you scan with your phone. It\u2019s the square barcode that shows up on restaurant menus, billboards, magazine ads\u2014even tattoos and gravestones. But even that, says Hara-san, is only the beginning.<\/p>\n\n\n\n<figure class=\"wp-block-audio\"><audio controls src=\"https:\/\/unsung.davidpogue.com\/wp-content\/uploads\/2023\/10\/unsungscience-20230707.mp3\"><\/audio><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Episode transcript<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><sub>Intro<\/sub><\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Even if you don\u2019t know what a QR code is, you actually do. You\u2019ve seen it hundreds of times. It\u2019s a printed square made up of black-and-white square pixels in weird patterns. They show up on ads, business cards, tickets, restaurant menus\u2026 You point your phone\u2019s camera at it, and boom\u2014it opens up a website, or a menu, or a show ticket.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue Do you remember the day that you came up with this idea? How old were you? Where were you?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator Yes, I remember very clearly. It was early 1993, when I was 34 and when I was playing Go, which is a board game, during a lunch break. The concept of putting black and white dots on a grid occurred to me.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s rare to find a cultural element as global and ubiquitous as a QR code\u2026that was basically invented by a single guy. And today, you\u2019ll get to meet him.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019m David Pogue, and this is \u201cUnsung Science.\u201d&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><sub>First Ad<\/sub><\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Season 2,&nbsp;<strong>episode 14<\/strong>\u2026The Man Who Invented QR Codes!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, that\u2019s right. I\u2019m going to devote an entire episode to the invention of a barcode.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I do realize that if I really want to soar to the top of the podcast charts, this is not the right topic. I should do true crime, or partisan politics, or answer your sex questions. But you know what? I believe in myself, and my interests. I have integrity, and so do you. So\u2026barcodes it is.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You\u2019ve seen thousands of barcodes in your life. On every single thing sold in every single store. Every bottle, box, bag, can, carton, container, crate, jar, jug, packet, pouch, pack, pallet, sack, and tube\u2026 has a barcode.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s that little patch of thick and thin lines, stripes, like unevenly spaced fence posts or jail bars. The cashier scans that barcode, or you do, and presto\u2014<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Beep! of a checkout scan<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2026the cash register knows what item you\u2019ve bought and what the price is. And the store now knows that you\u2019ve depleted its inventory of that item by one.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the pre-barcode days, the cashier had to look for a price tag on every single thing, and manually type the price into the register\u2026<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Cash-register tabulation sounds<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2026which was tedious and error-prone and gave you carpal tunnel syndrome.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Cash-register tabulation sounds, followed by \u201cow.\u201d<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What I\u2019m describing, of course, is a&nbsp;<em>UPC&nbsp;<\/em>barcode. Universal Product Code. It came along in the 1970s, when the grocery-store industry decided that they\u2019d had quite enough of the old\u2014<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Cash-register tabulation sounds, followed by \u201cow.\u201d<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It was time to modernize. They opened up a competition to see which tech company could design the best scannable barcode, and in 1972, IBM was the winner. It designed this barcode based roughly on Morse code, with its alternation of short and long tones\u2026<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Morse-code sound<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2026only this time, it was thick and thin lines read by a laser beam.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And in the summer of 1974, the first store rang up the first sale of the first item ever bought by having its UPC barcode scanned.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Beep! of a checkout scan<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It was a pack of Juicy Fruit gum, for 67 cents\u2014a purchase so culturally significant that there\u2019s a replica of that pack of gum in the Smithsonian.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, at checkout, the UPC code was much faster and more accurate than human eye-hand coordination. But as human-computer interfaces go, it was really pretty crude.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Problem #1:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Beep!&nbsp;<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These barcodes are one-dimensional. If the code isn\u2019t perfectly perpendicular to the laser beam reading it, you get an error. Of course, IBM\u2019s design features&nbsp;<em>two&nbsp;<\/em>laser beams, forming an X, inside the scanner, so you can be a little sloppier with your barcode positioning. But still, it sometimes takes a few tries to get it to read.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Problem #2:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Beep!&nbsp;<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2026was tolerance for errors: the UPC didn\u2019t have much. So if par t of the barcode is torn away, or smeared, or partly covered by a Sharpie mark or an oil stain, the machine can\u2019t read it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And problem #3:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Beep!&nbsp;<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The standard UPC barcode doesn\u2019t store much data. Its entire readout, in fact, is 12 digits. And the biggest number you can describe with 12 digits is twelve 9\u2019s in a row\u2014just shy of 1 trillion. It\u2019s 999 billion, 999 million, and so on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Everything sold in every single store has its own unique UPC number. A 20-ounce bottle of Heinz ketchup is always 013000013673. For half-inch Scotch Magic Tape, it\u2019s 021200000041. So in theory, the UPC system should be able to identify a trillion different products, right?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wrong.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Turns out the first&nbsp;<\/strong><strong><em>six<\/em><\/strong><strong>&nbsp;digits identify the company. The barcode for every product from Procter &amp; Gamble, for example, begins with 003800, whether it\u2019s Febreze, Pampers, or Tide.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then the next 5 digits identify the product within that company\u2019s portfolio. Procter &amp; Gamble, for example, makes Joy Lemon Scent Dish Soap, 21737.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, if you\u2019re following along at home, you may realize that we\u2019ve accounted for only 11 digits. Six for the company, five for its product. What about the twelfth number in the barcode?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s a checksum\u2014a digit that confirms that this is a real UPC code, and that it\u2019s been scanned correctly. This is super wonky, but I\u2019m going to get into this, because it\u2019s kind of fascinating: To see if a UPC code is real, you add up the numbers in the odd-numbered positions and multiply by three. Then you add in the digits in the even-numbered positions. Divide your answer by 10, subtract&nbsp;<em>that&nbsp;<\/em>answer from 10, and voila: You\u2019ve just calculated the final digit of the UPC code. The checksum.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Credit cards use a checksum system, too. That\u2019s why you can\u2019t make up a credit-card number.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Just for fun, I looked up the barcodes 111111111111 and 222222222222. Those turn out to be invalid codes, because the checksum comes out wrong. 555555555555 works, though. That\u2019s an actual product. It\u2019s an L-shaped pillow for breastfeeding babies called the Jolly Jumper Boomerang Nursing Cushion.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">See what you can learn from podcasts?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Anyway, bottom line is that UPC codes will run out after far fewer than a trillion products. The limit is more like a few billion. And we\u2019re getting to that point. Have you&nbsp;<em>seen&nbsp;<\/em>how many flavors of Oreos there are?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Over the years, various UPC code systems with expanded capacity have come along. But all those barcodes are still one-dimensional, error-prone, and limited.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which is why this episode is not about UPC barcodes. It\u2019s about their spiritual successor: The QR code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, you may or may not know the&nbsp;<em>term<\/em>&nbsp;QR code, or what it stands for: \u201cQuick Response.\u201d But you\u2019ve certainly&nbsp;<em>seen<\/em>&nbsp;a QR code. It\u2019s that square computery pattern, made up of little square black-and-white pixels, that shows up on things like billboards, magazine ads, business cards, tickets, and restaurant menus. You show it to your phone\u2019s camera, and it does something. It opens a web page with more information, or shows you the restaurant menu. You might have used a QR code to check into a hotel, or log into a web site. A QR scan can pinpoint a location on a map, display a message or a picture, download a PDF file, auto-connect to a WiFi network, or pay for something.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">QR codes appear in books. They show up on baseball tickets in Japan. You even see QR codes during TV shows or TV ads, to scan from the couch.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In some countries, during the pandemic, you had to scan a QR code at stores and restaurants to show that you were there, for contact-tracing purposes. In other countries, vendors have set up entire virtual stores in train stations\u2014basically a wall of photos of items you can order on the spot, by scanning their QR codes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nigeria, Russia, and the Netherlands have released bills or even coins with QR codes on them, which you can scan to read up on some historical national info.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>In China and other countries, QR codes serve as sort of interactive price tags: You scan the QR code for an item, and your phone says, \u201cPay 12 bucks?\u201d or whatever\u2014and with one tap, you\u2019ve paid. This system is so fast and easy that almost nobody uses cash anymore in China. Stores, cabs, subways, movie theaters, street vendors, street performers, even people experiencing homelessness have QR codes for easy paying.&nbsp;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So yeah. QR is&nbsp;<em>everywhere.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So what is this thing? Where did it come from? And who invented it? And is he a multimillionaire?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Well, we found him. He\u2019s alive and well, in his mid-sixties, living in Japan, surrounded by shelves full of awards.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue When you go to parties, when you go to meetings, do people know who you are?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator Yes, I believe so. Especially with these days after and the honor of winning multiple awards, people started to recognize my achievement of developing QR code. So sometimes I was asked to take a photo. So gradually, yeah, people recognize.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is the voice of Masahiro Hara, the man who invented the QR code.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Actually, it\u2019s not.&nbsp;<em>This&nbsp;<\/em>is the voice of Masahiro Hara:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hara:&nbsp;<em>Same response in Japanese<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But in an \u201cUnsung Science\u201d first, I conducted this interview with him over Zoom, with his colleague Yoshihiro Okamoto serving as translator.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hara-San was born in Tokyo in 1957. Yeah\u2014I\u2019m going to refer to Masahiro Hara as Hara-San, because in Japan, that\u2019s how you refer to someone with respect. \u201cSan\u201d kind of means \u201cthe honorable\u201d or \u201cgood sir.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So. Hara-san graduated college in 1977, and got his first job at Denso, a Japanese car-parts manufacturer, a subsidiary of Toyota. He was still at Denso in the early 90s, when the Japanese economy wasn\u2019t in great shape. Every company was trying to boost productivity.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And you wanna know what was&nbsp;<em>extremely&nbsp;<\/em>unproductive? Trying to find the right box of parts on the Denso assembly line. Every box scrolling by had&nbsp;<em>multiple&nbsp;<\/em>UPC-style barcode stickers on it. You\u2019d have to scan&nbsp;<em>every one&nbsp;<\/em>of them with your handheld scanner gun to figure out what was inside. It was super inefficient, and also a pain in the butt.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator There were cases where we put ten barcodes side by side, and read it one by one. So it\u2019s very inefficient at that time.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hara-san was 34 years old, and he\u2019d had enough of scanning eight or ten stickers on every box of car parts.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue Did somebody ask you to create a new barcode? Was that an idea from your boss, or did you just independently say, \u201cI think we need a better barcode?\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator The idea occurred to me on my own.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue Do you remember the day that you came up with this idea? How old were you? Where were you?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator Yes, I remember very clearly. It was early 1993, when I was 34 and when I was playing Go, which is a board game, during a lunch break. The concept of putting black and white dots on a grid occurred to me.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It may have been the most important lunch break of his life.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go is an ancient Chinese board game where you and your opponent each have these round, white or black stones. They look kind of like Mentos, or oversized M&amp;Ms. The object is to place them strategically on a 19 by 19 grid in such a way that they fence in your opponent\u2019s stones.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you saw a Go board after a game, pictured side-by-side with a QR code, you\u2019ll definitely see the family resemblance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Anyway, the key to this Eureka moment was that UPC barcodes are one-dimensional. If the code were square instead, two-dimensional, you\u2019d be able to store&nbsp;<em>so&nbsp;<\/em>much more data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So Hara-san told his bosses that he wanted to develop a new, improved scannable code for Denso\u2019s car parts. As translator Okamoto-san puts it,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hara-san: When he decided to develop this, he told his boss that that he\u2019ll do it in two years.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue Wow. How long did it take?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator Exactly two years.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first challenge was figuring out how the scanner camera would know when it was&nbsp;<em>looking&nbsp;<\/em>at a QR code\u2014to differentiate the code from whatever text surrounded it on the page or the box. How could he teach the software to pluck out the QR code from its surroundings?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And then, one morning on the train to work, buildings were flashing by. Fa\u00e7ade after fa\u00e7ade, each full of windows in identical rows and columns.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But suddenly, one building jumped out at him: In a bit of whimsy, the architect had designed the windows at the top and bottom of the building to be different shapes and sizes.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Maybe that was the key. Maybe he could put special locator symbols, finder symbols, at the corners of his code that would tell the scanner, \u201cYo! Start interpreting this as data!\u201d&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But what would those finder symbols be?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator So in order to distinguish QR codes from letters and figures, I investigated various printed materials to find shapes that are rarely used in the work at that time.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It had to be a really unusual symbol, something that would never ordinarily appear in printed material. Otherwise, the scanner might try to read something that was unreadable.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hara-san studied fliers, boxes, newspapers, magazines, and books, in multiple languages, trying to find something that wasn\u2019t there\u2014a symbol that nobody was using.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What he came up with was simple and elegant: A solid black square, with a black frame around it, like a little cubist eyeball. A square inside a square. Turns out that symbol almost never appears in any other context. It\u2019s not part of any alphabet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you look at a QR code, you\u2019ll see three of these finder symbols, at three of the four corners of the square barcode.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue Why three and not four?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator Because QR code is a square, so if, you know, the\u2014two lines you can define what is the other one, where the other one is, where the other one is.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In other words, if the software knows where three of the corners are, it can figure out where the fourth one is.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;Pogue Did you try any other designs that didn\u2019t work well? Other patterns, other shapes?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator Yes, there are some other ideas, especially for making a finder symbol. And for example, there was an idea to make a triangle or circle in the corner.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue But square worked better?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator Yes, square worked better.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the computer knows that it has encountered a QR code on the page, and knows where its boundaries are, it knows the code\u2019s orientation, and it can begin to read the actual data\u2014that ocean of tiny square pixels.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator Okay, so a scanner, which is a camera, first takes image by its camera. Then it recognizes the finder pattern, as we discussed, in the QR code. And then from the three finder patterns, the scanner identifies the outline of the QR code and reads the black and white pattern of each cell. Then finally, it shows the characters contained in the code, and it is done in 16 milliseconds.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The software starts reading from the lower right, where the very first cluster of dots tells the software whether this message is going to be a number, some text, or some Japanese characters. The next cluster of dots specifies how&nbsp;<em>long&nbsp;<\/em>this message is going to be\u2014how many numbers or characters.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The analysis zigzags through the rest of those pixels like a tractor mowing a field: It scans upward until it hits the first cubist eyeball, then turns around and scans down the next column to the left. Hits the bottom, doubles back and scans up the third column, and so on.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eventually, it encounters a special cluster called the \u201cend indicator,\u201d meaning, \u201cThis is the end of the message.\u201d But the scanning isn\u2019t over yet. At this point, the path continues with error-correction data\u2014kind of like that checksum digit in the UPC code, but much, much more detailed. It\u2019s almost like a backup of the QR\u2019s encoded data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All told, a single QR code can store over 7,000 numbers, or about 3,000 typed characters. The grid of dots can be as small as 21 rows and columns, or as big as 177 by 177.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The real genius of the design, though, is not just the amount of data it stores; it\u2019s how fast and flexible it is for reading.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator QR code can store 200 times more information than barcode, and it can be read from anywhere in 360 degrees quickly. And also it can be read even if part of the code is damaged or covered with dirt, which barcode cannot.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In fact, even if you smudge or cover or tear away as much as 30% of a QR code, the information still comes through to your phone. That\u2019s how much error-correction and redundancy is built into the design.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sometimes, companies dress up a QR code with their logo, or some little graphic in the middle. I saw that on a cereal box recently. They can do that because of this error-correction. The scanner says, \u201coh dear, there\u2019s a chunk of this code covered up by some graphic\u2014but I don\u2019t care! I can still get the data!\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can be amazingly sloppy with the angle or distance of your phone. That made it a huge hit in the Denso car-parts factory. You could reliably scan boxes that had weird shapes, sitting at odd angles as they zoomed by on the conveyor belt.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After two years of effort, Masahiro Hara had achieved his goal.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue Were your bosses very happy? Did you get a raise? Did they have a party for you?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator Actually, my bosses were not so excited when I first showed them the QR code. It Is because they did not know how much it would be used, or generate new business with this new code.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Well, great. Two years of genius effort, and Hara-san is rewarded with a big yawn from management.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Obviously, there\u2019s more to the story. In particular, there were four seismic cultural events that changed the course of history\u2014and brought QR codes to global domination. I\u2019ll let you know about \u2018em\u2026after the break!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><sub>Second ad break<\/sub><\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before I get back to QR codes, I gotta tell you something really funny.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After we record an interview for this show, we feed it into an AI transcription website called Trint to convert it into a written document, so I can write my script.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The accuracy is not flawless. So I hire a wonderful person named Oli via Noble to listen through the interview and fix the Trint transcript.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, Trint is capable of transcribing 33 languages\u2014but you can choose only one language per recording. My conversation with Hara-san included both Japanese and English, so I chose English and clicked Transcribe.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">WELL! Trint did its best trying to transcribe the AUDIO of Hara-san\u2019s answers in Japanese\u2014into English syllables that SOUND like what he said, even if they make no sense as sentences.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, for example, when Hara-San said:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hara:&nbsp;<em>[00:27:39 (excerpt)<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2026Trint treated him as an English speaker saying this:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Olivia: Oh. And of course, they got like Scott Bakula crying, also looking to get them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s Olivia herself, reading these comic gems. Here\u2019s another one:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Olivia:&nbsp; So we just got a kick out of my Yoda knuckles. I could not shake your head on.}&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And who doesn\u2019t get a kick out of Yoda knuckles??<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OK, OK, just one more.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Olivia:&nbsp; I\u2019m sure, according to psychologist and Uncle Sam, somebody just took our idea based on all the dictum, one of the most radical terminology in the Middle East.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So great. Well done, Olivia.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OK. That was just a little comic interlude for ya. Now, back to our story in progress.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hara-San had indeed licked the problems of traditional barcodes. But his bosses failed to appreciate the QR code\u2019s genius and its majesty. What they wanted to know was, how\u2019s it going to make us money?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator They did not know how much it would be used, or generate new business with this new code. And so they told me that you should go to the market first, then see how, you know, potential customers respond.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So Hara-san took his invention to auto-industry trade shows and gave demos to potential clients.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator Fortunately, we got a very good response from the potential customers. So that makes, you know, my bosses\u2019 response gradually different. And there was a party for me six years after the code was invented.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue That\u2019s a little late.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the Denso executives saw that the QR code had money-making potential, they made a crucial decision: Give away the technology. Don\u2019t defend the patent.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue Why did Denso make the QR code format available to the whole public? How would the company profit from the QR code becoming popular?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator Denso\u2019s company strength is manufacturing. So our strategy was to develop business with readers, code readers, for QR codes.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue Oh, I see. So you give away the code and then you charge for the reading machines. It\u2019s like, like razors and razor blades, right?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hara-san Yes, I think so, too. It\u2019s a similar model.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pretty soon, all the car companies were using QR codes. Then advertisers. Then the Japanese lottery. The QR code was a surprise hit\u2014in Japan.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue And by the way, we call it QR code for \u2018quick response.\u2019 Is it a different name in Japan? What did you call it?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator In Japan, it\u2019s also the same\u2014quick response code. So we call it QR code too.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But becoming a cultural triumph in Japan is one thing. It took decades for the QR code to achieve full world saturation. And it owes that ubiquity to four seismic cultural events.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, the mad-cow disease scare. Don\u2019t know if you remember that, but it was this horrifying neurological disease in cows that made them uncoordinated, nervous, or even violent, and then they died.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Anchor: In 1996, a lethal new disease appeared in Britain.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Doctor: Patients present with difficulties in balance and walking. And the deterioration from first symptom to death takes only a matter of months.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the nineties, a couple of hundred people died after eating contaminated beef, so there was a worldwide panic. Suddenly, it was really, really important to<em>&nbsp;track&nbsp;<\/em>every bite of beef, from the farm to the wrapped package in the grocery store. The QR code was an ideal tracking system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The second big push came along in 2007, with the invention of the iPhone. Pretty soon, people could download a special app onto their smartphones, and read QR codes just by pointing the phone. You didn\u2019t need to buy a special reader gun anymore. Sorry about that, Denso!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The third huge event: In 2017, both Apple and Google built QR scanning right into the Camera apps of their smartphones. No more downloading a special app!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue Somewhere along the line 2017, the phone could read QR code just by itself, just in the camera app. Did they call you up and ask you about that? Did you know that was happening?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator No, actually, they did not consult with us. But when this happened, I felt very happy, because I thought the QR code has been widely recognized all over the world.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Today, you just open your Camera app and point it at a QR code. You don\u2019t even take the picture. Instantly, a button appears, showing the website that will open when you tap it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And the fourth push was a little thing called the global pandemic. During COVID, nobody wanted to handle a restaurant menu that might be infectious, or to pick up a brochure or whatever. Everything went touchless. The solution was\u2014QR codes. Point your phone at a laminated card on the restaurant table, and the latest menu or wine list appears on its screen. Saves the restaurant money, makes it easy to update the menu, and keeps your grubby mitts off of physical menus.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Suddenly, QR codes went mainstream.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Today, Masahiro Hara is still working at Denso after 46 years. And he\u2019s still developing the QR code\u2019s successors. Like, what if you could wear a QR code on a bracelet or necklace with all your medical records?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator What I am working on now is to put information about someone\u2019s X-ray data or heartbeat data. So when someone goes to the hospital, if he or she can show that kind of information, he can or she can have a smooth and quick diagnosis in the hospital.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">He\u2019s experimented with color QR codes, too, going beyond black-and-white to pack even more data into a tiny space\u2014maybe even videos.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And he\u2019s already introduced the SQRC\u2014the secure QR code, where part of the code is encrypted, and can only be read by a special scanner.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator: As a result, it is used to poll amusement park tickets and also for traceability.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Of course, once you\u2019ve got a secure portion of the code, that can\u2019t be faked or duplicated, all kinds of possibilities open up. For example, you know those employee security badges that get you into secure areas of a building? Hara-San has come up with a way to make them un-impersonatable, using those same SQRC\u2019s.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It works like this: Your employee photo is embedded into the encrypted code on your badge. Now you show up for work, at the nuclear facility or gold-bar storage company or whatever.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator: To verify the person, he or she goes in front of the camera and holds SQRC held up by the dedicated reader.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">At this point, a camera compares what you&nbsp;<em>actually&nbsp;<\/em>look like, standing there, with the stored image of your face on your badge. And if they match, you get to go in.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator: You can even use this system in an environment not connected to the Internet. So as a result, this system is used for access control, or it can also prevent impersonation.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue Your QR code obviously became very successful. Was that because of your skill and your good ideas, or was there some part of luck and timing?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator It was my idea to develop a code that can be read quickly and reliably. But I was very lucky to be able to develop this before a cell phone or a smartphone with cameras become popular.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue I\u2019ve heard of QR codes appearing on gravestones, which seemed surprising, but also a very good idea. Have you heard of any crazy examples of people using QR codes?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator Yes, I have seen people with QR code tattoos on their bodies in Japan in 2004. Then I heard their contact information in in there, so they exchanged their contact information by using a tattoo.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>That seems like a pretty cool idea\u2014as long as you don\u2019t think you\u2019ll ever move or change your phone number for the rest of your life. Oh wait a minute, no\u2014if your address changes, you\u2019d just edit the website that opens up when you scan the QR code, like a restaurant changing its prices. Duh.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue Did you have an idea that this could be very big?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator The answer is yes and no. So when I went to the trade show and showed, showed especially industry-use customers this secure code, I had a very good response. So I thought it can spread in an industry use, but I could never imagine that it would be spread, you know, you know, usual consumers. So that was totally surprising to me.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Heroic, sunset music<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019m delighted to have met Masahiro Hara\u2014truly one of the unsung engineers of our time\u2014and to tell you his story. And when you look back over the arc of his career, I think one profound adage really sums it up. In the words of the Trint transcription:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hara-san:&nbsp; [00:21:13]&nbsp;But the real concrete sketches on display? Your eyes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>As I said goodbye to Hara-san and his translator Okomoto-san, Hara-san had a little surprise for me.&nbsp;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue [00:48:36] \/you know, young people today, they might have posters on the wall of their sports heroes or their music heroes. If I had a poster on my wall, it would be of you.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hara-san [00:48:21] Thank you. Thank you for interview me.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>That\u2019s Hara-san himself, speaking his own English!<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pogue [00:48:25] Oh, you didn\u2019t tell us you speak English!&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Translator [00:48:33] He can.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hara-san: I am happy that you are interesting in QR code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/worldcrunch.com\/tech-science\/qr-code-technology\">https:\/\/worldcrunch.com\/tech-science\/qr-code-technology<\/a><\/p>\n<div class=\"powerpress_player\" id=\"powerpress_player_2841\"><audio class=\"wp-audio-shortcode\" id=\"audio-159-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/unsung.davidpogue.com\/wp-content\/uploads\/2023\/10\/unsungscience-20230707.mp3?_=1\" \/><a href=\"https:\/\/unsung.davidpogue.com\/wp-content\/uploads\/2023\/10\/unsungscience-20230707.mp3\">https:\/\/unsung.davidpogue.com\/wp-content\/uploads\/2023\/10\/unsungscience-20230707.mp3<\/a><\/audio><\/div><p class=\"powerpress_links powerpress_links_mp3\" style=\"margin-bottom: 1px !important;\">Podcast: <a href=\"https:\/\/unsung.davidpogue.com\/wp-content\/uploads\/2023\/10\/unsungscience-20230707.mp3\" class=\"powerpress_link_pinw\" target=\"_blank\" title=\"Play in new window\" onclick=\"return powerpress_pinw('https:\/\/www.unsungscience.com\/?powerpress_pinw=159-podcast');\" rel=\"nofollow\">Play in new window<\/a> | <a href=\"https:\/\/unsung.davidpogue.com\/wp-content\/uploads\/2023\/10\/unsungscience-20230707.mp3\" class=\"powerpress_link_d\" title=\"Download\" rel=\"nofollow\" download=\"unsungscience-20230707.mp3\">Download<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>In 1994, Masahiro Hara, working at a Toyota car-parts subsidiary, got tired of having to scan six or seven barcodes on every box of parts that zoomed past on the assembly line. Why, he wondered, were we still using the standard barcode\u2014a bunch of closely spaced parallel lines\u2014that we\u2019d been using since the 70s? Why couldn\u2019t someone invent a barcode that used two dimensions instead of one\u2026 could work from any angle or distance\u2026could work even if it got smudged or torn?\u00a0<span class=\"excerpt-more-link\"><a class=\"more-link\" href=\"https:\/\/www.unsungscience.com\/index.php\/2023\/07\/07\/the-man-who-invented-qr-codes\/\">More <svg class=\"svg-icon\" width=\"24\" height=\"24\" aria-hidden=\"true\" role=\"img\" focusable=\"false\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M6.96954 10.2804L11.9999 15.3107L17.0302 10.2804L15.9695 9.21973L11.9999 13.1894L8.0302 9.21973L6.96954 10.2804Z\" fill=\"currentColor\"\/><\/svg><\/a><\/span><\/p>\n<div class=\"excerpt-audio-block\">\n<figure class=\"wp-block-audio\"><audio controls src=\"https:\/\/unsung.davidpogue.com\/wp-content\/uploads\/2023\/10\/unsungscience-20230707.mp3\"><\/audio><\/figure>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,1],"tags":[],"class_list":["post-159","post","type-post","status-publish","format-standard","hentry","category-podcast","category-uncategorized","entry"],"_links":{"self":[{"href":"https:\/\/www.unsungscience.com\/index.php\/wp-json\/wp\/v2\/posts\/159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.unsungscience.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.unsungscience.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.unsungscience.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.unsungscience.com\/index.php\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":1,"href":"https:\/\/www.unsungscience.com\/index.php\/wp-json\/wp\/v2\/posts\/159\/revisions"}],"predecessor-version":[{"id":161,"href":"https:\/\/www.unsungscience.com\/index.php\/wp-json\/wp\/v2\/posts\/159\/revisions\/161"}],"wp:attachment":[{"href":"https:\/\/www.unsungscience.com\/index.php\/wp-json\/wp\/v2\/media?parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.unsungscience.com\/index.php\/wp-json\/wp\/v2\/categories?post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.unsungscience.com\/index.php\/wp-json\/wp\/v2\/tags?post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}