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

Method and system for detecting QR (quick response) code correction graphics

一种校正图形、检测方法的技术,应用在机器使用的记录载体、电磁辐射感应、仪器等方向,能够解决无法快速准确的检测QR码校正图形等问题

Inactive Publication Date: 2015-04-15
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] For this reason, the technical problem to be solved by the present invention is that the correction pattern of the QR code cannot be detected quickly and accurately in the prior art, thereby proposing a detection method of the correction pattern of the QR code

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 system for detecting QR (quick response) code correction graphics
  • Method and system for detecting QR (quick response) code correction graphics
  • Method and system for detecting QR (quick response) code correction graphics

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0093]This embodiment provides a method for detecting QR code correction graphics, such as figure 1 shown, including the following steps:

[0094] Acquiring reference coordinates according to the relative positional relationship between the center point of the correction figure and the center point of the detection figure;

[0095] Accurately position the correction figure within the predetermined range of the reference coordinates, and obtain the coordinates of the center point of the correction figure.

[0096] It should be noted that, depending on the version number of the QR code, the number and position of the correction graphics are different. In this embodiment, the detected and positioned correction pattern is the correction pattern in the lower right corner of the QR code, such as figure 2 The calibration graph shown in 1. Regardless of the version number, the correction graphic in the lower right corner is fixed to the edge of the QR code. Therefore, according t...

Embodiment 2

[0111] This embodiment is an improvement made on the basis of Embodiment 1. In the step of accurately locating the correction figure within a predetermined range of the reference coordinates and obtaining the coordinates of the center point of the correction figure, the predetermined range includes the reference coordinates square area. From figure 2 It can be seen from the figure that after the rough positioning of the correction figure is completed, a rough reference coordinate position is obtained, and then the correction figure is accurately positioned within the predetermined range of the reference coordinate, which is obviously located at the lower right corner of the QR image The correction graph of , falls in the square area, which is the gray line frame. If the square area is too large, the detection range will be too wide, and the calculation amount will be too large to make the detection speed slow. If the square area is too small, the correction pattern may not b...

Embodiment 3

[0131] This embodiment is an improvement made on the basis of Embodiments 1 and 2, and mainly detects some cases where the black module in the center of the correction pattern is severely distorted. At the same time, in order to fully consider various situations, in reality, the central black module will disappear due to distortion and other reasons, leaving only the white module, such as Figure 7 shown. For this situation, this embodiment also provides a corresponding detection method,

[0132] In the step of accurately positioning the correction figure within the predetermined range of the reference coordinates, and obtaining the coordinates of the center point of the correction figure:

[0133] If no horizontal or vertical line segment whose length ratio of white:black:white meets the preset ratio is detected after detecting the predetermined range along the first direction, the following steps are performed:

[0134] Detecting the predetermined range along the first dir...

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

Method and system for detecting a correction pattern in a QR code are disclosed. In the detection of a correction pattern, coordinates of the correction pattern is at first roughly estimated according to the detected coordinates of the detection patterns and different QR code versions, then a square region is specified around the coordinates of the correction pattern, in which a search is performed repeatedly. Finally, in conjunction with the characteristic of the correction pattern itself, i.e., having a line segment meeting a predetermined ratio, the correction pattern may be accurately located in the predetermined area, without the need of searching patterns meeting a 1:1:1 ratio line by line in the entire QR code image.

Description

technical field [0001] The invention relates to an image positioning detection technology, in particular to a detection method and system for a QR code correction pattern. Background technique [0002] The two-dimensional code is composed of black and white specific geometric figures distributed in the two-dimensional direction according to certain rules, which can express information in the two-dimensional direction, so the information capacity and space utilization rate are high, and it has a certain verification function . Two-dimensional codes are divided into stacked two-dimensional codes and matrix two-dimensional codes, and QR codes are one of the matrix two-dimensional codes. [0003] The smallest information unit in a QR code is a square module, and the number of modules included in different versions of the QR code is also different. A QR code whose version number is 1 includes 21*21 modules, and every time the version number increases by 1, the number of modules...

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 Applications(China)
IPC IPC(8): G06K7/10
CPCG06K7/1473G06K7/1443G06K7/1417G06K19/06037
Inventor 张玲关超刘振华刘革章车万毅
Owner PEKING UNIV FOUNDER 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