Method and device for generating and recognizing two-dimension code

A technology of two-dimensional codes and square arrays, which is applied to record carriers used by machines, instruments, electromagnetic radiation induction, etc., and can solve problems such as single two-dimensional code patterns, inability to identify content by users, and inability to meet individual needs of users.

Active Publication Date: 2013-10-30
ALIBABA GRP HLDG LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, no matter in terms of structure or color change, the two-dimensional code pattern is relatively simple. Without the

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
  • Method and device for generating and recognizing two-dimension code
  • Method and device for generating and recognizing two-dimension code
  • Method and device for generating and recognizing two-dimension code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The technical solutions of the present application will be described in further detail below with reference to the drawings and embodiments.

[0029] According to the different needs of users, the embodiments of the present application make different modifications to the enlarged data matrix, so that multiple colors can be used in the two-dimensional code, and the structure can also be changed and adjusted, so that The two-dimensional barcode is more beautiful and practical. At the same time, the modification rate of the modified data matrix is ​​controlled to be less than the preset error tolerance rate threshold and the color contrast value of the modified data matrix is ​​greater than the preset color contrast threshold, so that the modified area does not affect Use of QR code scanning.

[0030] image 3 It is a flow chart of the method for generating a two-dimensional code disclosed in the embodiment of this application. As shown in the figure, this embodiment inc...

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 and device for generating and recognizing a two-dimension code. Specifically, according to the method, a data matrix generated according to the memory content of the two-dimension code is amplified; element value modification is carried out on the amplified data matrix; the rate of a modification area in all areas and the color contrast of the modified data matrix are obtained; whether the rate of the modification area in all the areas is smaller than a preset error-tolerant rate threshold value or not is judged, and whether the color contrast value of the modified data matrix is larger than a preset color contrast threshold value or not is judged; when the rate of the modification area in all the areas is smaller than the preset error-tolerant rate threshold value, and the color contrast value of the modified data matrix is larger than the preset color contrast threshold value, dotting is carried out to generate the two-dimension code according to the modified data matrix. Therefore, the method and device for generating and recognizing the two-dimension code achieves the color and structure change of the two-dimension code, and therefore the two-dimension code is more attractive and more practical, and is convenient for users to recognize, and meanwhile the coding use of the two-dimension code is not affected.

Description

technical field [0001] The present application relates to the field of computer image processing, in particular to a method and device for generating and identifying two-dimensional codes. Background technique [0002] Barcode technology has developed very rapidly since its birth in the early 1970s. One-dimensional barcodes are usually used to identify items rather than describe them. The so-called identification of an item is to assign a code to an item. The code is marked on the item in the form of a barcode, which is used to identify the item for automatic scanning equipment. The code or one-dimensional barcode itself does not indicate the descriptive nature of the product. information. [0003] With the development of modern high-tech, there is an urgent need to use barcodes to express more information in a limited geometric space to meet the needs of ever-changing information representation. [0004] Two-dimensional barcode, also known as two-dimensional barcode, is a...

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
IPC IPC(8): G06K19/06G06K7/10
Inventor 孙中炜
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products