Method of encoding/decoding color QR code
An encoding method and QR code technology, applied in the field of two-dimensional codes, can solve the problems of small data capacity, low information density, and increased computational complexity, and achieve the effects of increasing data capacity, improving recognition, and reducing computational complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] Such as figure 1 As shown, the encoding flowchart of the color QR code of the embodiment of the present invention, its encoding method comprises the following steps:
[0059] S101) Input a character string to be encoded to form a source data information flow;
[0060] S102) Using a compression algorithm to compress the source data information flow;
[0061] S103) Perform data analysis according to the coding rules of the QR code, convert source data information streams in different modes into binary data, add terminators bit by bit after the binary data, and add padding characters when necessary to form a data code word stream;
[0062] S104) According to the number of bytes of the data code word stream, determine the version of the color QR code, the error correction level, the total number of code words, the number of data code words, the number of error correction code words, and the number of error-corrected blocks, according to the version after the QR code initia...
Embodiment 2
[0090] Such as Figure 4 As shown, the decoding flowchart of the color QR code provided by the embodiment of the present invention, its decoding method includes the following steps:
[0091] S201) loading a color QR code image;
[0092] S202) traverse the color QR code image to obtain the RGB value of each pixel in the image;
[0093] S203) Detect whether the image finding pattern exists; if the image finding pattern is successfully detected, then enter step S204), otherwise enter step S213) to end this decoding;
[0094] S204) Return the coordinate value of the center point of the image-finding figure, and continue to detect the correction figure, and return the coordinate value of the center point of the correction figure;
[0095] S205) Utilizing perspective transformation, rasterizing the QR code, and identifying the color module;
[0096] S206) Read format information and version information according to the color mapping table;
[0097] S207) Eliminate the mask, reco...
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