二维码

Ever wondered how a QR code works? No, me neither but it's low-key fascinating. (Warning, there is some extremely nerdy shit here.? )

想过二维码的工作原理吗?不,我也不知道,但它是低调的迷人的。(警告,这里有一些极其书呆子的东西。?)

The Quick Response code was invented by a subsidiary of Toyota to track parts across the manufacturing process. Barcodes were proving inadequate - they can only be read at certain angles and didn't store much data relative to their size The QR code solves those issues and more

快速响应代码是由丰田公司的一个子公司发明的,用于跟踪整个制造过程中的零件。条形码被证明是不够的--它们只能在某些角度被读取,而且相对于它们的尺寸来说,没有存储太多的数据,二维码解决了这些问题和更多问题。

The most distinctive thing about a QR code are these cube shapes, called Finder Patterns, that help your reader detect the code. The smaller fourth cube, the Alignment Pattern, orientates the code so it can be at any angle and the reader will still know which way is up.

二维码最独特的地方是这些立方体的形状,被称为 "发现者图案",它帮助你的阅读器检测到代码。较小的第四个立方体,即对准图案,确定了代码的方向,因此它可以处于任何角度,而阅读器仍将知道哪种方式是向上。

You've probably never noticed but every QR code has these alternating black and white dots called the Timing Pattern. These tell the reader how big a single module is and how big the whole QR code is - known as the version. Version 1: Smallest Version 40: Biggest

你可能从未注意过,但每个二维码都有这些交替出现的黑色和白色圆点,称为计时图案。这些告诉读者一个模块有多大,整个QR码有多大--称为版本。版本1:最小的 版本40:最大的

Information about the format is stored in these two strips near the Finder patterns. It's stored twice so its readable even when QR code is partially obscured. (You'll notice that this is a recurring theme.)

有关格式的信息被存储在靠近Finder模式的这两个条带中。它被存储了两次,所以即使QR码被部分遮挡,它也是可读的。(你会注意到这是一个反复出现的主题)。

This stores three crucial pieces of information: - Mask. - Error correction level - Error correction format. I know these sound super fucking boring but they are actually pretty interesting.

这存储了三个关键信息: - 掩码。- 纠错水平 - 纠错格式。我知道这些听起来超级他妈的无聊,但它们实际上是相当有趣的。

First, error correction - what is it? Essentially, it dictates how much redundant information is stored in the code to ensure it remains readable even when part of it is missing.

首先,纠错--它是什么?从本质上讲,它决定了在代码中存储多少冗余信息,以确保即使部分信息丢失,也能保持可...

开通本站会员,查看完整译文。

Accueil - Wiki
Copyright © 2011-2024 iteam. Current version is 2.137.1. UTC+08:00, 2024-11-15 10:19
浙ICP备14020137号-1 $Carte des visiteurs$