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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com