A fast positioning method of two-dimensional code

A positioning method and two-dimensional code technology, which is applied in the field of rapid positioning of two-dimensional codes, can solve the problems of complex application environment and long time consumption, and achieve the effect of simple operation, improved accuracy and fast positioning

Active Publication Date: 2019-07-12
GUANGZHOU INTELLIGENT CITY DEV INST +2
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] QR codes have a wide range of applications, so their application environment is relatively complex
The common method takes a long time in the QR code positioning stage

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 fast positioning method of two-dimensional code
  • A fast positioning method of two-dimensional code
  • A fast positioning method of two-dimensional code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0027] Such as figure 1 As shown, a fast positioning method of a QR code includes the following steps:

[0028] S1: Obtain a two-dimensional code image to be processed; the device obtains a color image transmitted by the camera.

[0029] S2: Convert the two-dimensional code image obtained in step S1 into a grayscale image; the grayscale image is an image with an image brightness value of 0 to 255. In the image obtained in step S1, R, G, and B are used to represent the red, green, and blue components of each pixel in the color image, and the brightness value of the pixel corresponding to the converted gray image is I, then: I=0.3 *R+0.59*G+0.11*B.

[0030] S3, median filter; because the camera and the transmission process will be affected by current instability and other factors, the image will have individual bright spots, that is, salt and pepper noise. In order to eliminate the influence of salt and pepper noise, the image needs to be median filtered. The median filter is a non-...

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 present invention proposes a fast positioning method for two-dimensional codes. The method comprises the following steps: S1, obtaining a to-be-processed two-dimensional code image; S2, converting the two-dimensional code image obtained in step S1 into a gray scale image; S3, carrying out median filtering; S4, carrying out edge detection; and S5, carrying out parallel coordinate positioning, wherein the step S5 comprises: S51, mapping the edge image obtained in step S4 to parallel coordinates, S52, rotating the edge image obtained in step S4 along the Y-axis direction, and mapping the rotated edge image to the parallel coordinates; and S53, comparing the distance between each intersection in the image obtained in step S51 with the distance between each intersection in the image obtained in step S52, so that coordinates corresponding to the points with the equal distance jointly describe the area where the two-dimensional code is located. According to the fast positioning method for two-dimensional codes provided by the present invention, in the complex background, fast positioning is carried out on the area where the two-dimensional code is located.

Description

Technical field [0001] The invention relates to the field of two-dimensional codes, in particular to a fast positioning method for two-dimensional codes. Background technique [0002] The two-dimensional code uses a certain geometric figure according to a certain rule to record data symbol information in black and white graphics distributed in the plane, that is, in the two-dimensional direction; in the code preparation, the "0" that constitutes the internal logic of the computer , The concept of "1" bit stream uses several geometric shapes corresponding to binary to represent text numerical information, which is automatically read by image input equipment or photoelectric scanning equipment to realize automatic information processing: it has some common features of barcode technology : Each code system has its own specific character set; each character occupies a certain width; it has a certain check function, etc. At the same time, it also has the function of automatically ide...

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): G06K7/14
CPCG06K7/1417G06K7/1443
Inventor 胡建国李仕仁邓诚谦梁津铨
Owner GUANGZHOU INTELLIGENT CITY DEV INST
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