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

Inactive Publication Date: 2018-01-12
中联惠众信息技术(北京)有限公司
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, because the QR codes attached to items often have problems such as damage, folding, and deformation, many QR codes cannot be correctly identified, which brings inconvenience to the networking of the Internet of Things

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
  • Two-dimensional code error correction decoding method and device
  • Two-dimensional code error correction decoding method and device
  • Two-dimensional code error correction decoding method and device

Examples

Experimental program
Comparison scheme
Effect test

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.

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 discloses a two-dimensional code error correction decoding method. The two-dimensional code error correction decoding method comprises the following steps that a two-dimensional code image is obtained; two-dimensional code words are extracted from the two-dimensional code image; an identification pattern is obtained from the two-dimensional code words; whether the two-dimensional code words can be recognized correctly or not can be judged according to the identification pattern; if the two-dimensional code words can be recognized correctly, the two-dimensional code words are recognized; otherwise, the position of a correction pattern is calculated by utilizing the identification pattern; the correction pattern is identified according to the position of the correction pattern;the two-dimensional code is corrected by utilizing the identification pattern and the correction pattern so as to obtain recognizable two-dimensional code words, and the two-dimension code words arerecognized. The identification pattern and the correction pattern which are different from those in the prior art are used, so that the positioning is more accurate during decoding, and the inclination and damage of the two-dimensional code pattern can be easily recognized; meanwhile, according to the damage degree of the two-dimensional code pattern, identification methods are selected in stages,the processing steps are increased along with the increase of the damage degree, and the processing efficiency and the processing effect are both taken into consideration.

Description

technical field [0001] The present application relates to the decoding field, in particular to a two-dimensional code error correction decoding method and a decoding device thereof. Background technique [0002] With the rapid development of the Internet of Things, objects that use the Internet of Things to connect to the Internet are everywhere in real life. These objects are usually connected to the Internet by scanning the QR code attached to them to realize the functions of object information collection, anti-counterfeiting and traceability. [0003] However, because the QR codes attached to items often have problems such as damage, folding, and deformation, many QR codes cannot be correctly identified, which brings inconvenience to the networking of the Internet of Things. Contents of the invention [0004] The purpose of the present application is to provide a two-dimensional code error correction decoding method and a decoding system for implementing error correctio...

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/14
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