<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>科普 on Margrop Blog</title>
    <link>https://blog.margrop.net/en/tag/%E7%A7%91%E6%99%AE/</link>
    <description>Recent content in 科普 on Margrop Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Wed, 29 Jul 2026 08:00:00 +0800</lastBuildDate>
    <atom:link href="https://blog.margrop.net/en/tag/%E7%A7%91%E6%99%AE/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Why Can a QR Code Still Scan After Losing a Corner? It Has Backups, Not Magic</title>
      <link>https://blog.margrop.net/en/post/qr-code-missing-corner-error-correction/</link>
      <pubDate>Wed, 29 Jul 2026 08:00:00 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/qr-code-missing-corner-error-correction/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;The short answer&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;A QR code can sometimes survive a missing corner because the encoder stores more than the original message. It also adds redundant information that lets a decoder detect and repair a bounded amount of damage. If the missing part is mainly in the data area, the remaining modules and the error-correction codewords may be enough to reconstruct the payload.&lt;/p&gt;&#xA;&lt;p&gt;But “one missing corner” is not a precise engineering measurement. A corner that contains ordinary data may be recoverable. A small cut through one of the three large finder patterns can be much worse: the scanner may fail to locate and orient the symbol before it even reaches the error-correction stage.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;img alt=&#34;An original illustration comparing a damaged QR code with a dictation exercise&#34; src=&#34;https://blog.margrop.net/post-images/qr-code-missing-corner-error-correction/00-cover-generated.webp&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;Figure 1: Original artwork made for this article. A QR code behaves less like a single copy of an answer and more like a dictation exercise with extra clues.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;You have probably seen this in real life: a poster is torn, a shipping label is covered by tape, or someone puts a logo in the middle of a QR code, yet a phone still opens the destination. Where is the missing information coming from? How can the camera know what the covered black and white modules should have been?&lt;/p&gt;&#xA;&lt;p&gt;This article starts with a reproducible local experiment and then explains the algorithm through a familiar analogy: a dictation sentence with a few missing characters. We will separate the QR layout, finder patterns, codewords, Reed–Solomon error correction, the meaning of L/M/Q/H, and the common mistake of treating “30% correction” as “30% of the picture can be painted over.”&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
