Unlock instant, AI-driven research and patent intelligence for your innovation.

QR code positioning method and system

A positioning method and positioning system technology, applied in the field of image recognition, can solve problems such as affecting the reading efficiency and taking a lot of time

Pending Publication Date: 2021-03-16
福州符号信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the case of serious distortion of the QR code, the position detection pattern of the QR code may not be able to maintain the characteristics of 1:1:3:1:1. In this case, there is no way to use this feature for positioning, and use hole filling It takes a lot of time to use the Hough transform method, which affects the reading efficiency

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
  • QR code positioning method and system
  • QR code positioning method and system
  • QR code positioning method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0107] see figure 1 , a kind of location method of QR code, comprises the steps:

[0108] S1: Preprocessing the target image containing the QR code. The preprocessing includes grayscale and filtering processing, improving the contrast of the target image and removing noise;

[0109] The preprocessing specifically includes, using a weighted average method to grayscale the target image, and convert it into an 8-bit bmp format. The grayscale target image is processed by using histogram equalization to increase the contrast of the target image. The K-nearest neighbor mean filter is used to process the histogram equalized target image to remove the noise of the target image.

[0110] The methods used in the preprocessing are the prior art, and after being processed by these preprocessing methods, the target graphics become clearer and have less noise.

[0111] S2: Perform binarization processing on the preprocessed target image. The binarization process adopts OTSU algorithm; ...

Embodiment 2

[0168] A positioning system for a QR code, including a memory and a processor, the memory stores instructions, and the instructions are adapted to be loaded by the processor and perform the following steps:

[0169] S1: Preprocessing the target image containing the QR code, the preprocessing includes grayscale and filtering processing, improving the contrast of the target image, and removing noise;

[0170] S2: Perform binarization processing on the preprocessed target image by calling the OTSU algorithm;

[0171] S3: Perform connected domain search on the binarized target image: find equivalent cliques line by line, and the obtained set of equivalent cliques is the connected domain, wherein the cliques have the same gray value and are continuous A segment of pixel collection;

[0172] S4: Searching for a position detection pattern from the connected domain obtained in step S3: when the connected domain only contains one sub-connected domain and the sub-connected domain also ...

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 QR code positioning method and system, and the method comprises the steps of determining a connected domain through searching a group of equivalent pairs, searching a position detection graph from the connected domain, determining the coordinates of four corners of a QR code according to the coordinates of the corners of the position detection graph and the mutual relation, and obtaining the overall region of the QR code. The invention has the advantages of being good in distorted image effect, high in positioning speed and high in precision.

Description

technical field [0001] The invention relates to a QR code positioning method and a system thereof, belonging to the field of image recognition. Background technique [0002] A two-dimensional code is a readable black and white matrix graphic barcode formed by extending one-dimensional on the basis of a one-dimensional barcode. QR codes can encode any information that can be digitized, such as text, images, videos, fingerprints, etc., and present it as a visible rectangular code. The two-dimensional code has the characteristics of large information capacity, wide coding range, strong error tolerance and error correction ability, low coding and decoding costs, and fast transmission speed. It has been widely used in Internet media information dissemination, network payment, logistics management and other fields, fast and accurate. The identification of QR codes has become a need in people's daily life. [0003] The first step in identifying a QR code is to locate it. The more...

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 福州符号信息科技有限公司