How do QR Codes Work? Features, Format, Error Correction, and More!

  Рет қаралды 27,907

Gary Explains

Gary Explains

Күн бұрын

Quick Response codes (QR codes) are commonplace. They are highly recognizable and easy to use. But what is the format of that magic square? How do QR codes work? How are QR codes made? Why can you put a logo in the middle of a QR code? Please, let me explain!
---
QR code security: www.researchgate.net/publicat...
Twitter: / garyexplains
Instagram: / garyexplains
#garyexplains

Пікірлер: 98
@christanner8765
@christanner8765 3 ай бұрын
Another great, informative video. Thank you very much Gary!
@GaryExplains
@GaryExplains 3 ай бұрын
Glad you enjoyed it
@omesterprinceso12
@omesterprinceso12 2 ай бұрын
Can someone assist me now
@nboisen
@nboisen 3 ай бұрын
Interesting introduction to the formatting of a QR code. What would be interesting to learn is how a particular letter is encoded into a two-dimensional array of pixels. Maybe that could be your next video!
@chrisarmstrong8198
@chrisarmstrong8198 2 ай бұрын
Good suggestion !
@middleclasspoor
@middleclasspoor 3 ай бұрын
Great vid! Thank you! I've been curious about QR codes, just not enough to actually look into them!
@LokiDaFerret
@LokiDaFerret 3 ай бұрын
My phone reads your high quality error correction test with three red marks... "A QR code is a two-dimensional matrix barcode."
@fllthdcrb
@fllthdcrb 3 ай бұрын
Heck, I find his third example at the low level scans correctly... _sometimes._ And sometimes, it's a little or a lot garbled, though still recognizable as English text.
@paulbarnett227
@paulbarnett227 3 ай бұрын
I did wonder how they worked having the logos in the middle. They are just gaming the error correction to make it readable. Though that then makes it less robust for handling 'real' errors.
@skyak4493
@skyak4493 3 ай бұрын
Good video. I was kind of hoping it would go a little further into what happens when you scan these with your phone but it does make sense for that to be a separate video. Specifically, I worry these are incredibly vulnerable to man-in-the-middle attacks. I wonder if I could set my phone to use a super limited and secure DNS and antivirus on QR scan sites and maybe heuristics.
@pepeshopping
@pepeshopping 3 ай бұрын
What happens? Depends on the app, right? You didn’t get the part where this is pure text, so it can be a WiFi name and password or a URL,etc. Yes, DNS and AV do help against malware, but they can always use the IP address instead of the FQDN, right?
@skyak4493
@skyak4493 2 ай бұрын
@@pepeshopping I just think it would be a good video to go through the settings on phones to assure QRs don't install viruses. I avoid QRs because I don't trust them. What I want is for my phone to just show me the information and what the QR is asking to do along with anything known about the site, address, numbe...r or heuristics.
@gojohnniegogo
@gojohnniegogo 3 ай бұрын
Really helpful, Gary! I was just thinking about creating my own the other day as it happens. Cheers
@bobanderson1727
@bobanderson1727 3 ай бұрын
Great video, Gary. I've often wondered how these things worked. That information was most interesting, as I often find of your videos.
@GaryExplains
@GaryExplains 3 ай бұрын
Glad you enjoyed it
@nimrodlevy
@nimrodlevy 3 ай бұрын
This was amazing!! Many many thanks!!!
@rockyotina3570
@rockyotina3570 2 ай бұрын
Very informative. Thank you.
@fllthdcrb
@fllthdcrb 3 ай бұрын
6:09 Slight correction: larger QR codes have _more_ alignment patterns, placed at regular intervals horizontally and vertically. Also, it's very interesting how even if there is damage to parts of the code you might think are critical, such as the timing pattern, it's _still_ readable with sufficient error correction, as your examples show. I'm not a big fan of putting logos and such in the middle, though; you're just throwing away some of that error correction and making scanning problems more likely. I would personally avoid it or at least try to keep it to a minimum.
@Flameboar
@Flameboar 3 ай бұрын
Thank you Gary
@johnc6440
@johnc6440 2 ай бұрын
Very interesting - thank you for researching it
@markloughtonUK
@markloughtonUK 3 ай бұрын
I've generated a few directly from Google Chrome (go to the share menu) and wondered how it still managed to work with their dino logo in the middle. Now i know. Thanks Gary !
@Flankymanga
@Flankymanga 3 ай бұрын
good one thanks for explanation!
@ed.puckett
@ed.puckett 3 ай бұрын
Very useful, thank you
@karenfreeman797
@karenfreeman797 2 ай бұрын
Thank you for the info
@logicalfundy
@logicalfundy 3 ай бұрын
Most restaurants in my area still use paper menus.
@akiratoriyama1320
@akiratoriyama1320 2 ай бұрын
Very interesting!!!
@ObviousSchism
@ObviousSchism 3 ай бұрын
Excellent video!
@GaryExplains
@GaryExplains 3 ай бұрын
Glad you liked it!
@DavidPlayfair
@DavidPlayfair 3 ай бұрын
Very interesting. Thank you. :)
@GaryExplains
@GaryExplains 3 ай бұрын
Glad you enjoyed it!
@philpots48
@philpots48 3 ай бұрын
Well done Gary, I wrote UPC bar code software for a manufacture and learned that the white is the code and the black bars are the boundaries. I wonder if it's the same with QR codes?
@Iconoclasher
@Iconoclasher 2 ай бұрын
It's strange the "finder pattern" is as large as it is. It takes up about 20% of the area. A solid line along the top would accomplish the same thing. Assuming it's primary purpose is for orientation.
@tommyplays5436
@tommyplays5436 2 ай бұрын
True, other two dimensional formats support your suggestion. Data Matrix would be an example.
@zz3709
@zz3709 3 ай бұрын
Awesome. Is there some mechanism to not have data on the middle (ie: blank), so that a logo on the middle isn't eliminating error correction altogether?
@logicalfundy
@logicalfundy 3 ай бұрын
Not really. If you actually need the error correction, it's best to not use a logo.
@tonysheerness2427
@tonysheerness2427 3 ай бұрын
Very interesting and informative. For some things they are fantastic but others it is technology for the sake of technology. I prefer a menu. in a restaurant.
@zz3709
@zz3709 3 ай бұрын
Restaurants prefer to not have to keep reprinting and laminating if menu items change. No more cleaning and having someone bring it to you, etc. And they prefer to know you have a smartphone so they can later get you to install an app and they can harvest your data.
@GaryExplains
@GaryExplains 3 ай бұрын
I must say that I have never been offered a restaurant app to install.
@tonysheerness2427
@tonysheerness2427 3 ай бұрын
@@GaryExplains Restaurants are places to enjoy good company and fine dining, Phones should be banned not encouraged in such places.
@tonysheerness2427
@tonysheerness2427 3 ай бұрын
@@zz3709 Printing out menus or paying an IT man to keep updating the web site. A menu to me is far better. As usually they are bigger than a small phone screen.
@GaryExplains
@GaryExplains 3 ай бұрын
I see. So you think you have the right to impose your ideals on other people. Interesting. 😜
@djsbriscoe
@djsbriscoe 2 ай бұрын
Could you please put the links to the QR code applications you mentioned in the description? Thanks.
@xinaesthetic
@xinaesthetic 3 ай бұрын
There are some interesting AI images which are readable as QR codes but aside from the three orientation elements look wildly different...
@LokiDaFerret
@LokiDaFerret 3 ай бұрын
"Gary Explains" 😁
@nigelholland24
@nigelholland24 3 ай бұрын
That big Qr code said Gary explains
@Baulder13
@Baulder13 2 ай бұрын
was literally just thinking how these worked yesterday... strange
@aawilliamrios
@aawilliamrios 2 ай бұрын
You could explain what QR stands for.
@GaryExplains
@GaryExplains 2 ай бұрын
Quick Response as I show in the video at 1:22 and as it is written in the description of the video.
@Fred2-123
@Fred2-123 2 ай бұрын
We went to a restaurant where you were supposed to scan a QR code to see the menu. Nope, sorry, it is too hard to read the 6-8 page menu on a 2.5" by 2.5" screen. We asked to get a real menu. Which they had but were trying to get people to avoid. Seems they thought the customers were supposed to serve the restaurant instead of the restaurant serving the customers. For whatever reason, that restaurant has gone out of business.
@evanmbxx8897
@evanmbxx8897 2 ай бұрын
No secret messages!
@sk3ffingtonai
@sk3ffingtonai 3 ай бұрын
👏👍👍
@KW-ei3pi
@KW-ei3pi 2 ай бұрын
I've heard that you can get malware or virus's by reading QR codes. Is that true? Thanks
@GaryExplains
@GaryExplains 2 ай бұрын
You can get malware or a virus by clicking on any malicious link regardless of the way you are offered the link: SMS, Email, WhatsApp, whatever. However the good news is that Google has a service built into Chrome which is able to recognize malicious links. It is called "Safe Browsing". It lets client applications check URLs against Google's constantly updated lists of unsafe web resources. Examples of unsafe web resources are social engineering sites (phishing and deceptive sites) and sites that host malware or unwanted software.
@magillanz
@magillanz 2 ай бұрын
If restaurant only had QR code instead of menu I would leave and go somewhere else. Why should I use my data and try to read a menu on phone. They are always difficult to read on a phone.
@JV-pu8kx
@JV-pu8kx 3 ай бұрын
A QR code generator is included in Adobe InDesign.
@jamesowens7148
@jamesowens7148 3 ай бұрын
Gee, I don't bring "smartphones" to restaurants. Will they supply me with one so that I can read their bloody menu?
@AnotherPointOfView944
@AnotherPointOfView944 3 ай бұрын
Yes I know someone who doesnt own one (out of bloody mindedness really). So it will piss him off greatly at somewhere like Nandos.
@Quince828
@Quince828 3 ай бұрын
So I suppose if the internet goes down you can’t eat.
@frequentlycynical642
@frequentlycynical642 3 ай бұрын
No paper menu? I leave. The idea of scrolling back and forth on a multipage menu on a tiny screen is beyond absurd.
@GaryExplains
@GaryExplains 3 ай бұрын
Beyond absurd!
@SirHackaL0t.
@SirHackaL0t. 3 ай бұрын
Lol, version 40 can’t survive KZfaq compression.😂
@onnonius
@onnonius 3 ай бұрын
I adored the QR codes until they were misused to get into restaurants if not jabbed/tested. And those QR-codes were even heavy protected by digital signatures. Very good but very 1984.
@GaryExplains
@GaryExplains 3 ай бұрын
If the proof needed to get in was a certificate or some other form of evidence the result would have been the same, don't blame QR codes for that, it is just a way to convey information.
@pepeshopping
@pepeshopping 3 ай бұрын
Where do you live? Blue decaying state? We NEVER accepted THAT around here!
@onnonius
@onnonius 2 ай бұрын
@@pepeshopping The Netherlands, Europe.
@marcd6897
@marcd6897 Ай бұрын
Aaaah, tinfoil hats are here in the comment section as well 😂😂😂 Pssssst, be careful, the elites will transfer secret intel codes into your brains by just looking at the codes 😂😂😂
@llm2562
@llm2562 3 ай бұрын
Androids watch TV static
@JelMain
@JelMain 3 ай бұрын
However, their latest use by Royal Mail to incriminate the innocent has done harm. The Post Office introduced them on postage stamps to detect fraud, now blamed on China, but the Royal Mail started fining the recipients instead, who cannot be guilty.
@GaryExplains
@GaryExplains 3 ай бұрын
Is that the fault of the QR code? If it was a bar code or some other kind of code would the results be any different?
@JelMain
@JelMain 3 ай бұрын
​@@GaryExplains Yes it is, because we fell for the security theatre justifying the con. The senders of the mail are claiming they bought the stamps through legal channels, too, so something funny's going on: at the same time it's another reason to avoid the Post Office like the plague.
@GaryExplains
@GaryExplains 3 ай бұрын
How is that related to QR codes? i.e. to the medium used to convey that information.
@JelMain
@JelMain 3 ай бұрын
@@GaryExplains Because it's entrapment, which in law's a crime. Whoever created this system's partly responsible.
@GaryExplains
@GaryExplains 3 ай бұрын
I still don't understand. If the system used a barcode and not a QR code then the results would be exactly the same. I don't understand how this is a problem with QR codes.
@aMulliganStew
@aMulliganStew 3 ай бұрын
So I now to have a phone, etc., in order to scan a code, in order to get a menu, in order to order a cup of coffee?!? Check, please.
@GWorxOz
@GWorxOz 2 ай бұрын
Hate QR codes. Will NOT use them.
@GaryExplains
@GaryExplains 2 ай бұрын
Fair enough. Can I ask why?
@GWorxOz
@GWorxOz 2 ай бұрын
@@GaryExplains Fail too often.
@GaryExplains
@GaryExplains 2 ай бұрын
Interesting. The only time I had a QR code fail to read was one that was carved into wood, not printed. Besides that I have never had a failure. 🤷‍♂️
@toby9999
@toby9999 2 ай бұрын
​@GaryExplains I've never had one fail. More likely, you have a dodgy scanner.
@GWorxOz
@GWorxOz 2 ай бұрын
@@toby9999 Every phone I've ever owned....no.
What Are Those Other Weird QR Codes?
16:10
ThioJoe
Рет қаралды 947 М.
But what are Hamming codes? The origin of error correction
20:05
3Blue1Brown
Рет қаралды 2,3 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 90 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 156 МЛН
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 52 МЛН
98% Cloud Cost Saved By Writing Our Own Database
21:45
ThePrimeTime
Рет қаралды 316 М.
Why I Quit the Scrum Alliance
7:58
The Passionate Programmer
Рет қаралды 11 М.
Error Correcting Curves - Numberphile
17:46
Numberphile
Рет қаралды 233 М.
Use QR Codes at Home for Organization and Productivity
8:56
Andy Park
Рет қаралды 39 М.
USB 3.0 vs 3.1 vs 3.2 vs 4.0: What's the difference?
13:13
Gary Explains
Рет қаралды 35 М.
Error Correction & International Book Codes - Computerphile
21:13
Computerphile
Рет қаралды 82 М.
Why This New CD Could Change Storage
14:42
ColdFusion
Рет қаралды 1 МЛН
QR codes and why Russians are afraid of them #SoME3
34:49
Sort of School
Рет қаралды 2,5 М.