Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and equipment for identifying two-dimension code

A two-dimensional code and seed point technology, applied in the field of two-dimensional code recognition, can solve the problems of two-dimensional code position detection graphic error, two-dimensional code recognition failure, incorrect area of ​​two-dimensional code, etc.

Active Publication Date: 2015-06-10
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF3 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, since the area where the two-dimensional code is located or the background area of ​​the area where the two-dimensional code is located may also have an area where the width of the black area and the width of the white area in the horizontal and vertical directions satisfy the ratio of 1:1:3:1:1, Therefore, if the above method is used to determine the area where the two-dimensional code is located, the located area may not be the position detection pattern of the two-dimensional code, that is, the determined position detection pattern of the two-dimensional code is wrong, resulting in the scanning device according to the error. The location of the two-dimensional code determined by the position detection pattern is incorrect, which leads to the inability to obtain the information recorded by the two-dimensional code, which leads to the failure of the two-dimensional code recognition

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 equipment for identifying two-dimension code
  • Method and equipment for identifying two-dimension code
  • Method and equipment for identifying two-dimension code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0070] An embodiment of the present invention provides a method for identifying a two-dimensional code, such as Figure 4 As shown, the method may include:

[0071] S101. Determine n center of gravity points of n first regions, wherein each first region includes a center of gravity point, and the n first regions are overlapping regions of horizontal regions and vertical regions in the two-dimensional code image to be recognized, and the horizontal region is the area in which the ratio of the width of the black area to the width of the white area in the horizontal direction is the first preset ratio, and the vertical area is the area in which the ratio of the width of the black area to the width of the white area in the vertical direction is the first preset ratio, The two-dimensional code image at least includes the area where the two-dimensional code is located, n≥3, and n is an integer.

[0072] Wherein, the image of the two-dimensional code to be recognized can be understo...

Embodiment 2

[0108] An embodiment of the present invention provides a method for identifying a two-dimensional code, such as Image 6 As shown, the method may include:

[0109] S201. Acquire a two-dimensional code image.

[0110] Specifically, the two-dimensional code image can be obtained through various image scanning devices, for example, the two-dimensional code to be recognized can be captured by a mobile phone, a camera, a scanner and other devices with a shooting function, so as to obtain the two-dimensional code image.

[0111] S202. Perform image preprocessing on the two-dimensional code image.

[0112] After the two-dimensional code image is acquired, image preprocessing may be performed on the two-dimensional code image, so as to simplify the data in the process of recognizing the two-dimensional code and improve the reliability of recognizing the two-dimensional code.

[0113] Specifically, performing image preprocessing on the two-dimensional code image may include the follo...

Embodiment 3

[0168] like Figure 9 As shown, the embodiment of the present invention provides a two-dimensional code recognition device, including:

[0169] The determining unit 10 is configured to determine n center of gravity points of n first areas, wherein each first area includes a center of gravity point, and the n first areas are horizontal areas and vertical areas in the two-dimensional code image to be recognized , the horizontal area is an area in which the ratio of the width of the black area to the width of the white area in the horizontal direction is the first preset ratio, and the vertical area is the ratio of the width of the black area to the width of the white area in the vertical direction The ratio is the area of ​​the first preset ratio, the two-dimensional code image at least includes the area where the two-dimensional code is located, n≥3, and n is an integer.

[0170] The determination unit 10 is further configured to determine the center of gravity of the position...

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 provides a method and equipment for identifying a two-dimension code, and relates to the field of an image identifying technique. The equipment is capable of improving the accuracy rate of a location detection graph for locating the two-dimension code, so as to improve the success rate of identifying the two-dimension code. The method comprises the steps of determining n centers of gravity of n first areas, wherein n first areas are overlapped areas of a horizontal area and a vertical area in a two-dimension code image to be identified, the horizontal area is an area of which the proportion of the width of a black area to the width of a white area in the horizontal area is a first preset proportion, and the vertical area is an area of which the proportion of the width of a black area to the width of a white area in the vertical area is the area of the first preset proportion; determining the center of gravity of the location detection graph in n centers of gravity; detecting the center of gravity of the location detection graph of the two-dimension code as a first seed point for region growing, so as to form an area where the two-dimension code is; and obtaining the information of an image where the two-dimension code is. The method is applied to a two-dimension code identifying system.

Description

technical field [0001] The invention relates to the technical field of image recognition, in particular to a method and equipment for recognizing two-dimensional codes. Background technique [0002] A two-dimensional code (English: 2-dimensional bar code) is a barcode that uses black and white images to record data symbol information. The black and white images are composed of specific geometric figures distributed on a plane according to certain rules. Generally speaking, the method for identifying a two-dimensional code may include: determining the area where the two-dimensional code is located, correcting the image in the area, and decoding the corrected image to obtain the information recorded by the two-dimensional code, namely Get information about the image for the region. [0003] In the traditional method, the area where the two-dimensional code is located is determined by locating the position detection pattern in the two-dimensional code. Wherein, each two-dimen...

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): G06K7/10G06K9/32
Inventor 汤雅妃王志军张尼王笑帝刘镝张曼君
Owner CHINA UNITED NETWORK COMM GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products