Fast positioning method for two-dimensional codes

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

Active Publication Date: 2017-06-13
GUANGZHOU INTELLIGENT CITY DEV INST +2
View PDF3 Cites 6 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

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
  • Fast positioning method for two-dimensional codes
  • Fast positioning method for two-dimensional codes
  • Fast positioning method for two-dimensional codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0027] Such as figure 1 As shown, a quick positioning method of a two-dimensional code includes the following steps:

[0028] S1, acquire the image of the QR code to be processed; the device acquires the color image transmitted by the camera.

[0029] S2, converting the two-dimensional code image obtained in step S1 into a grayscale image; the grayscale image is an image with an image brightness value ranging from 0 to 255. The image that step S1 obtains uses R, G, B to represent the red, green, blue component of each pixel point in the color image respectively, and the brightness value of the pixel point corresponding to the grayscale image after conversion is I, then: I=0.3 *R+0.59*G+0.11*B.

[0030] S3, median filtering; because the camera and the transmission process will be affected by factors such as current instability, individual bright spots will appear in the image, that is, salt and pepper noise. In order to eliminate the influence of salt and pepper noise, it is...

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] Two-dimensional code is to record data symbol information with a specific geometric figure according to a certain rule in the plane, that is, a black and white graphic distributed in the two-dimensional direction; in the code compilation, the "0" that constitutes the internal logic basis of the computer is skillfully used , The concept of "1" bit stream, using several geometric shapes corresponding to binary to represent text and numerical information, automatically read through image input equipment or photoelectric scanning equipment to realize automatic processing of information: it has some common features of barcode technology : Each code system has its specific character set; each character occupies a certain width; it has certain verification functions, etc. At the same time, it also ha...

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/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