A method and equipment for improving a QR code decoding rate

A QR code and decoding rate technology, applied in the field of two-dimensional code recognition, can solve the problems of undecodable images, easy wear of paper, difficult decoding, etc., to achieve the effect of suppressing noise, reducing noise, and improving decoding rate

Inactive Publication Date: 2019-05-03
福州符号信息科技有限公司
View PDF13 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Two-dimensional barcode is a barcode technology that uses specific geometric images to distribute black and white rectangular arrays on a two-dimensional plane according to certain rules to record data symbol information; two-dimensional code has large storage capacity, contains rich information, and has a special analysis method. Strong confidentiality, but due to the two-dimensional nature of the two-dimensional code, different information is stored in the horizontal and vertical directions, which is more difficult to decode than the one-dimensional barcode
[0004] In real life, the application scenarios of two-dimensional codes are very extensive, and the media carrying two-dimensional codes are also various, such as metal, plastic, paper and mobile phone screens, etc., and the two-dimensional codes printed on different media have a familiar reading effect There is a big difference; especially in the printing of QR codes with paper as the medium, due to the problems of paper and printers, in many cases, there is ink diffusion on the edge of the printed QR codes, and in real life, paper is easier Wear and tear, resulting in undecodable captured images

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 method and equipment for improving a QR code decoding rate
  • A method and equipment for improving a QR code decoding rate
  • A method and equipment for improving a QR code decoding rate

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] see figure 1 , a method for improving the QR code decoding rate, comprising the following steps:

[0059] Obtain an image of a QR code, perform position detection graphics search processing on the image, and record the number of position detection graphics and key graphic information;

[0060] The number of position detection patterns is greater than or equal to the set value (the set value of this embodiment is 2, there are only three position detection patterns for a QR code, if there is only one, the positions of the other two cannot be estimated; knowing two position detection Graphics can be based on the relationship between two position detection graphics, such as distance, relative position to infer the position of the third position detection graphics; less than two can not be decoded successfully) then decode processing; the number of position detection graphics is less than the set value Perform smoothing processing on the image, and then perform position det...

Embodiment 2

[0064] Further, when acquiring a frame of QR code image, set a flag A to judge whether the image has been smoothed. A is TRUE, which means that the image has been smoothed, and FALSE, which means that the image has not been smoothed. A defaults to FALSE; when smoothing the image, set A to TURE. By setting the flag bit A, it directly indicates whether the image has been smoothed, which simplifies the process of judging whether the image has been smoothed.

[0065] Further, see Figure 2-6 , the key graphic information includes the width information of the unit module and the center coordinates of the position detection graphic; the specific method for the search processing of the position detection graphic is:

[0066] For details, see Figure 4 , according to the module width standard ratio of the QR code position detection pattern 1:1:3:1:1, traverse the entire image by row, if the module width standard ratio of the QR code position detection pattern is continuously detecte...

Embodiment 3

[0082]A device for improving the decoding rate of 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:

[0083] Obtain an image of a QR code, perform position detection graphics search processing on the image, and record the number of position detection graphics and key graphic information;

[0084] The number of position detection patterns is greater than or equal to the set value (the set value of this embodiment is 2, there are only three position detection patterns for a QR code, if there is only one, the positions of the other two cannot be estimated; knowing two position detection Graphics can be based on the relationship between two position detection graphics, such as distance, relative position to infer the position of the third position detection graphics; less than two can not be decoded successfully) then decode processing; the number of 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 relates to a method for improving the decoding rate of a QR code, and the method comprises the following steps: obtaining an image of a frame of QR code, carrying out the searching of aposition detection graph on the image, and recording the number of the position detection graphs and key graph information; if the number of the position detection graphs is greater than or equal to aset value, decoding; the number of the position detection graphs is smaller than a set value, conducting smoothing processing on the image, and conducting position detection graph searching processing on the smoothed image, whether the number of the position detection graphs searched after smoothing processing is larger than or equal to the set value or not is judged, conducting decoding processing if the number of the position detection graphs searched after smoothing processing is larger than or equal to the set value, and otherwise the decoding process is ended; and decoding the QR code according to the found position detection graph and the key graph information, outputting a result if the decoding is successful, judging whether the image is subjected to smoothing processing or not ifthe decoding is failed, if the image is subjected to smoothing processing, ending the decoding process, and if the image is not subjected to smoothing processing, returning to the smoothing processing step.

Description

technical field [0001] The invention relates to a method and equipment for improving the decoding rate of a QR code, and belongs to the technical field of two-dimensional code recognition. Background technique [0002] Barcode technology is an emerging technology developed on the basis of computer technology and information technology that integrates coding, printing, data acquisition and identification processing. Barcode technology is widely used in business, warehousing and logistics management due to its fast, accurate and reliable identification, and low cost. Industrial control and mobile payment fields. [0003] Barcodes can be divided into one-dimensional barcodes and two-dimensional barcodes. One-dimensional barcodes are marks composed of a group of bars and spaces arranged according to certain rules; different coding rules represent different information. Two-dimensional barcode is a barcode technology that uses specific geometric images to distribute black and wh...

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/10G06K7/14G06T5/00
Inventor 宋少龙陈小杰
Owner 福州符号信息科技有限公司
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