Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2015-09-09
GUILIN UNIV OF ELECTRONIC TECH
View PDF2 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Commonly used domestic one-dimensional barcodes such as European Article Number (European Article Number, EAN), Universal Product Code (Universal Product Code, UPC), 39 codes, crossed 25 codes, etc. have the general limitations of low information density, small data capacity, and only Can represent information in one dimension, has no error correction capability, does not have encryption function, strictly depends on database or networking, etc.
Due to the limitation of one-dimensional barcode capacity, it can no longer meet the growing production demand, so two-dimensional barcode came into being
Two-dimensional barcodes can represent more information in the horizontal and vertical dimensions within a limited geometric space, and have greatly improved in terms of coding range, information density, and error correction capabilities. However, as black and white two-dimensional barcodes The Quick Response Code (QR code) with the largest capacity, the version is 40, and the QR code whose error correction level is L can only store 7089 numbers or 4296 uppercase letters or 2953 ASCII characters or 1817 Chinese characters
[0005] 3. During the encoding / decoding process of color QR codes, the conversion of color space will lead to the loss of color information;
[0006] 4. It is necessary to use the reference color to deal with the color cast problem of the color QR code, and the calculation complexity is greatly increased;
[0007] 5. The decoding accuracy rate is not high

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
  • Method of encoding/decoding color QR code
  • Method of encoding/decoding color QR code
  • Method of encoding/decoding color QR code

Examples

Experimental program
Comparison scheme
Effect test

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...

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

This invitation discloses a method of encoding / decoding a color QR (Quick Response) code. The method maintains the reliability and robustness of a standard black and white QR code, and employs a lossless compression algorithm to make the data capacity of a color QR code much larger than the data capacity of other colored two-dimensional code of a same kind. In addition, encoding colors are not required to be the most distant from each other in an RGB color space in order to enhance color resolution. A process of encoding / decoding a color QR code does not require color space transfer, i.e., color information loss can be avoided. Color QR cod decoding has no special requirements for ambient lighting, and does not need to utilize reference colors as a palette, thereby greatly reducing computational complexity, and obtaining 100% decoding accuracy.

Description

technical field [0001] The invention relates to a two-dimensional code, in particular to a coding / decoding method of a color QR code. Background technique [0002] The application of barcode technology has greatly improved the speed of data collection and information processing, and has become an important branch in the field of automatic identification. Commonly used domestic one-dimensional barcodes such as European Article Number (European Article Number, EAN), Universal Product Code (Universal Product Code, UPC), 39 codes, crossed 25 codes, etc. have the general limitations of low information density, small data capacity, and only It can represent information in one dimension, has no error correction capability, does not have encryption function, and is strictly dependent on database or networking. Due to the limitation of one-dimensional barcode capacity, it can no longer meet the growing production demand, so two-dimensional barcode came into being. Two-dimensional b...

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): G06K19/06G06K7/10
Inventor 陈元枝邓艳史绍亮姜文英
Owner GUILIN UNIV OF ELECTRONIC TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products