条码和二维码的条[bars]和点[dots]通常叫做模组[modules]
Similar to 1D bar codes, they encode characters
and numbers in graphical symbols that are constructed by dark and light bars or dots that are called
modules.
有两类常见的二维码:堆叠码和矩阵码
Two common types are the so-called stacked codes and matrix codes.
堆叠码
PDF417
基本组成单元是码词[codeword]
According to the name of the symbol type, each codeword consists of four dark as well as four light bars (spaces) and is built up by 17 modules. It always starts with a dark and ends with a light bar.
PDF417由4条4空 17个模组组成,开始于黑条结束于白条
Each 1D bar code encodes an individual ’codeword’.
矩阵码
常见二维码:Data Matrix ECC 200, QR Code, Micro QR Code, and Aztec Code
三个组成部分: They consist of three components:
finder pattern+the data patterns+quiet zone
二维码的大小就是行列数
The number of rows and columns define the size of a symbol