Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for generating two-dimensional color codes

A two-dimensional code and color code technology, applied in the field of image recognition and two-dimensional code, can solve the problems affecting the appearance of the picture and recognition efficiency, interference, etc., to improve the overall visual effect, reduce the number, and reduce the space occupied by the code area Effect

Inactive Publication Date: 2017-09-22
黄琼凡
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] A two-dimensional code is a black-and-white pattern distributed on a plane (two-dimensional direction) according to a certain rule with a specific geometric figure. From the appearance point of view, the two-dimensional code point is relatively large and basically fills the entire two-dimensional code area. If Place the QR code map on the picture, and the picture area where the code area is located will be covered by the code map, which will affect the appearance of the picture and the recognition efficiency
[0003] In addition, the black and white dots of the QR code represent 1 and 0 in binary respectively. In order to store data in the QR code, the data needs to be coded first, and then evenly distributed to the code area of ​​the QR code according to the rules. , since there are a large number of uniform black and white code points in the code area, no matter whether it is a black base map or a white base map, there will be great interference

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for generating two-dimensional color codes
  • A method for generating two-dimensional color codes
  • A method for generating two-dimensional color codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] At first, explain the principle of the present invention: as Figure 1-2 As shown, the symbols in the two-dimensional code area include functional symbols and coding symbols. The functional symbols are some fixed symbols, mainly used for positioning functions, and the coding symbols include format information, version information, data, and error correction codewords. The data part (also known as data code point) in the two-dimensional code diagram occupies most of the space. To reduce the number of black or white dots in the symbol, that is, to reduce the number of 1 or 0 characters in the encoded data, we can modify the data part padding characters in to achieve this.

[0029] Such as image 3 As shown, the code point data generation process of the present invention comprises the following steps:

[0030] 3001): Firstly, user data, a terminator, and all "0" filling symbols are filled in a data buffer Buffer1 in order to replace the original filling characters.

[0...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method for generating a two-dimensional color code, comprising: replacing the original filling characters in the coded symbol data part of the two-dimensional code with all "0s" and regenerating the coded symbol; using a background image to mask the regenerated coded symbol Operation; obtain the replacement character at the corresponding padding position after the mask operation; replace the original padding character in the coded symbol data part of the two-dimensional code with the replaced character and regenerate the coded symbol again; use the background image to generate the coded symbol for the second time Perform another masking operation; on a two-dimensional dot matrix, print the functional symbols of the two-dimensional code and the coding symbols after the second masking operation according to the two-dimensional code specification. This two-dimensional color code generation method achieves reducing black or white code points by modifying the filling characters, so that it is easier to integrate into background patterns with various colors, improves the overall visual effect, and expands the commercial application range of two-dimensional codes.

Description

technical field [0001] The invention relates to image recognition and two-dimensional code technology, in particular to a method for generating a two-dimensional color code. Background technique [0002] A two-dimensional code is a black-and-white pattern distributed on a plane (two-dimensional direction) according to a certain rule with a specific geometric figure. From the appearance point of view, the two-dimensional code point is relatively large and basically fills the entire two-dimensional code area. If If you place the QR code image on the picture, the image area where the code area is located will be covered by the code image, which will affect the appearance of the image and the recognition efficiency. [0003] In addition, the black and white dots of the QR code represent 1 and 0 in binary respectively. In order to store data in the QR code, the data first needs to be encoded, and then evenly distributed to the code area of ​​the QR code according to the rules , ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06K19/06
Inventor 黄琼凡
Owner 黄琼凡