Therefore, there cannot be any patterns or markings, so as to ensure that the QR can be recognized. It contains five modules: quiet zone, position detection patterns, separators for position detection patterns, timing patterns, and alignment patterns. Functional Patternsįunctional graphics are areas that do not participate in encoding data.
PYTHON QR CODE READER LIBRARY CODE
QR code structureĪccording to the standard (ISO/IEC 18004), we can understand that the QR code structure is as follows:Įach part of the two-dimensional code has its own function, and can basically be divided into two parts: functional patterns and encoding region. The permutation and combination of points determine the meaning of the matrix two-dimensional bar code. In the position of the corresponding element of the matrix, the appearance of dots (square dots, dots or other shapes) is used to represent binary “1”, and the absence of dots represents binary “0”.
![python qr code reader library python qr code reader library](https://i.imgur.com/a3DMtyO.png)
It can record numbers, English letters, Chinese characters, Japanese letters, special symbols (such as spaces, %, / etc.), binary information and other information into a square picture. A two-dimensional code uses a certain geometric figure to record data symbol information in a black and white pattern distributed on a plane (two-dimensional direction) according to a certain rule.
![python qr code reader library python qr code reader library](https://raw.githubusercontent.com/ushelp/EasyQRCodeJS-NodeJS/HEAD/doc/images/demo.png)
Compared with traditional barcodes, it can store more information. A QR code is a matrix type 2D barcode (also known as checkerboard type 2D barcode), which has been frequently used on mobile devices in recent years.