Two-dimensional code error correction decoding method and device
A two-dimensional code and decoding technology, which is applied in the field of decoding, can solve the problems of two-dimensional code damage, folding, deformation, etc., and achieve the effect of taking into account processing efficiency and processing effect, improving computing efficiency, and easy recognition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] The error correction decoding method of this application is as follows: figure 2 shown, including the following steps:
[0050] Step S210, obtaining a two-dimensional code image;
[0051] The two-dimensional code image can be obtained by scanning, wherein, the two-dimensional code image of the present application is as follows: image 3 shown.
[0052] Step S220, extracting the two-dimensional code code word from the two-dimensional code image;
[0053] Extract the two-dimensional code code words from the scanned two-dimensional code image, where the obtained two-dimensional code code words are as follows: image 3 As shown, identification patterns 310 , 320 , 330 , encoding pattern 350 and correction pattern 340 are included.
[0054] Step S230, obtaining the identification pattern from the code words of the two-dimensional code;
[0055] The black solid square is used in the two-dimensional code to represent the coding pattern 350, and the hollow rectangle is us...
Embodiment 2
[0078] On the basis of the scheme of embodiment 1, the following embodiment 2 is proposed. The main steps in embodiment 2 are the same as in embodiment 1, only adding that when the two-dimensional code code word cannot be correctly recognized, the position of the correction pattern is calculated by using the recognition pattern Before, add the following steps to further improve the efficiency of recognizing QR codes and save recognition time.
[0079] Wherein, if step S240 judges that the two-dimensional code code word cannot be correctly recognized, the following steps are also included before using the recognition pattern to calculate the position of the correction pattern:
[0080] Step P1, delete the supplementary code in the two-dimensional code word;
[0081] In two-dimensional code coding, the coding pattern 350 often includes supplementary codes used to fill up the space of the two-dimensional code, and the supplementary codes are used to complete the blank areas in th...
Embodiment 3
[0099] The present application also discloses a two-dimensional code error correction and decoding device, including a processor, which can implement the error correction and decoding methods in Embodiment 2 and Embodiment 3 above.
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