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

Sdílet
Vložit
  • čas přidán 15. 06. 2024
  • 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
  • Věda a technologie

Komentáře • 98

  • @christanner8765
    @christanner8765 Před 2 měsíci +20

    Another great, informative video. Thank you very much Gary!

  • @middleclasspoor
    @middleclasspoor Před 2 měsíci +9

    Great vid! Thank you! I've been curious about QR codes, just not enough to actually look into them!

  • @nboisen
    @nboisen Před 2 měsíci +7

    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!

  • @paulbarnett227
    @paulbarnett227 Před 2 měsíci +4

    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.

  • @gojohnniegogo
    @gojohnniegogo Před 2 měsíci +2

    Really helpful, Gary! I was just thinking about creating my own the other day as it happens. Cheers

  • @bobanderson1727
    @bobanderson1727 Před 2 měsíci +1

    Great video, Gary. I've often wondered how these things worked. That information was most interesting, as I often find of your videos.

  • @rockyotina3570
    @rockyotina3570 Před měsícem +1

    Very informative. Thank you.

  • @skyak4493
    @skyak4493 Před 2 měsíci +5

    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 Před 2 měsíci +1

      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 Před 2 měsíci +1

      @@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.

  • @LokiDaFerret
    @LokiDaFerret Před 2 měsíci +6

    My phone reads your high quality error correction test with three red marks... "A QR code is a two-dimensional matrix barcode."

    • @fllthdcrb
      @fllthdcrb Před 2 měsíci +2

      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.

  • @nimrodlevy
    @nimrodlevy Před 2 měsíci +1

    This was amazing!! Many many thanks!!!

  • @johnc6440
    @johnc6440 Před měsícem

    Very interesting - thank you for researching it

  • @logicalfundy
    @logicalfundy Před 2 měsíci +4

    Most restaurants in my area still use paper menus.

  • @Flameboar
    @Flameboar Před 2 měsíci +1

    Thank you Gary

  • @ed.puckett
    @ed.puckett Před 2 měsíci +1

    Very useful, thank you

  • @fllthdcrb
    @fllthdcrb Před 2 měsíci +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.

  • @Flankymanga
    @Flankymanga Před 2 měsíci +1

    good one thanks for explanation!

  • @karenfreeman797
    @karenfreeman797 Před měsícem

    Thank you for the info

  • @akiratoriyama1320
    @akiratoriyama1320 Před 2 měsíci +1

    Very interesting!!!

  • @ObviousSchism
    @ObviousSchism Před 2 měsíci

    Excellent video!

  • @markloughtonUK
    @markloughtonUK Před 2 měsíci

    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 !

  • @DavidPlayfair
    @DavidPlayfair Před 2 měsíci

    Very interesting.
    Thank you. :)

  • @philpots48
    @philpots48 Před 2 měsíci

    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?

  • @djsbriscoe
    @djsbriscoe Před 2 měsíci

    Could you please put the links to the QR code applications you mentioned in the description? Thanks.

  • @zz3709
    @zz3709 Před 2 měsíci +1

    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 Před 2 měsíci +2

      Not really. If you actually need the error correction, it's best to not use a logo.

  • @Iconoclasher
    @Iconoclasher Před 2 měsíci +1

    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 Před 2 měsíci

      True, other two dimensional formats support your suggestion. Data Matrix would be an example.

  • @tonysheerness2427
    @tonysheerness2427 Před 2 měsíci +2

    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 Před 2 měsíci +1

      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  Před 2 měsíci +1

      I must say that I have never been offered a restaurant app to install.

    • @tonysheerness2427
      @tonysheerness2427 Před 2 měsíci

      @@GaryExplains Restaurants are places to enjoy good company and fine dining, Phones should be banned not encouraged in such places.

    • @tonysheerness2427
      @tonysheerness2427 Před 2 měsíci

      @@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  Před 2 měsíci

      I see. So you think you have the right to impose your ideals on other people. Interesting. 😜

  • @xinaesthetic
    @xinaesthetic Před 2 měsíci +1

    There are some interesting AI images which are readable as QR codes but aside from the three orientation elements look wildly different...

  • @LokiDaFerret
    @LokiDaFerret Před 2 měsíci

    "Gary Explains" 😁

  • @nigelholland24
    @nigelholland24 Před 2 měsíci

    That big Qr code said Gary explains

  • @Baulder13
    @Baulder13 Před 2 měsíci

    was literally just thinking how these worked yesterday... strange

  • @Fred2-123
    @Fred2-123 Před 2 měsíci +1

    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.

  • @KW-ei3pi
    @KW-ei3pi Před 2 měsíci

    I've heard that you can get malware or virus's by reading QR codes. Is that true? Thanks

    • @GaryExplains
      @GaryExplains  Před 2 měsíci

      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 Před 2 měsíci

    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.

  • @aawilliamrios
    @aawilliamrios Před měsícem

    You could explain what QR stands for.

    • @GaryExplains
      @GaryExplains  Před měsícem

      Quick Response as I show in the video at 1:22 and as it is written in the description of the video.

  • @sk3ffingtonai
    @sk3ffingtonai Před 2 měsíci

    👏👍👍

  • @evanmbxx8897
    @evanmbxx8897 Před 2 měsíci

    No secret messages!

  • @jamesowens7148
    @jamesowens7148 Před 2 měsíci +2

    Gee, I don't bring "smartphones" to restaurants. Will they supply me with one so that I can read their bloody menu?

    • @AnotherPointOfView944
      @AnotherPointOfView944 Před 2 měsíci

      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 Před 2 měsíci +1

      So I suppose if the internet goes down you can’t eat.

  • @JV-pu8kx
    @JV-pu8kx Před 2 měsíci

    A QR code generator is included in Adobe InDesign.

  • @SirHackaL0t.
    @SirHackaL0t. Před 2 měsíci

    Lol, version 40 can’t survive CZcams compression.😂

  • @onnonius
    @onnonius Před 2 měsíci

    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  Před 2 měsíci

      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 Před 2 měsíci

      Where do you live?
      Blue decaying state?
      We NEVER accepted THAT around here!

    • @onnonius
      @onnonius Před 2 měsíci

      @@pepeshopping The Netherlands, Europe.

    • @marcd6897
      @marcd6897 Před 13 dny

      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 😂😂😂

  • @frequentlycynical642
    @frequentlycynical642 Před 2 měsíci

    No paper menu? I leave. The idea of scrolling back and forth on a multipage menu on a tiny screen is beyond absurd.

  • @llm2562
    @llm2562 Před 2 měsíci

    Androids watch TV static

  • @aMulliganStew
    @aMulliganStew Před 2 měsíci +1

    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.

  • @JelMain
    @JelMain Před 2 měsíci +1

    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  Před 2 měsíci

      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 Před 2 měsíci

      ​@@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  Před 2 měsíci

      How is that related to QR codes? i.e. to the medium used to convey that information.

    • @JelMain
      @JelMain Před 2 měsíci

      @@GaryExplains Because it's entrapment, which in law's a crime. Whoever created this system's partly responsible.

    • @GaryExplains
      @GaryExplains  Před 2 měsíci +1

      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.

  • @GWorxOz
    @GWorxOz Před 2 měsíci

    Hate QR codes. Will NOT use them.

    • @GaryExplains
      @GaryExplains  Před 2 měsíci

      Fair enough. Can I ask why?

    • @GWorxOz
      @GWorxOz Před 2 měsíci

      @@GaryExplains Fail too often.

    • @GaryExplains
      @GaryExplains  Před 2 měsíci

      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 Před měsícem

      ​@GaryExplains I've never had one fail. More likely, you have a dodgy scanner.

    • @GWorxOz
      @GWorxOz Před měsícem

      @@toby9999 Every phone I've ever owned....no.