Decoding method and device for a barcode

A decoding and barcode technology, used in instruments, inductive record carriers, electromagnetic radiation induction, etc., can solve the problems of difficult to decode characters from empty information and unable to decode barcodes.

Active Publication Date: 2021-06-18
HANGZHOU HIKVISION DIGITAL TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For barcodes with such printing defects, it is difficult for existing decoding algorithms to decipher the characters represented by them based on the blank information in the barcodes, that is, the existing decoding algorithms cannot decode barcodes with the above printing defects

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
  • Decoding method and device for a barcode
  • Decoding method and device for a barcode
  • Decoding method and device for a barcode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0097] As an implementation manner of the embodiment of the present invention, the correction module 102 may include:

[0098] The matching sub-module is used to match the waveform of each candidate truth template with the waveform of the codeword at each pixel point of the codeword, and use the pixel point that matches successfully as a positive matching pixel point, and the pixel point that does not match successfully The pixels of are used as negative matching pixels;

[0099] The correction sub-module is used to determine that the bar empty point to which the negative matching pixel point belongs is empty, and the width of the bar empty point to which the negative matching pixel point belongs is not wider than the width of the reference bar empty point, then the The negative matching pixel points are modified to positive matching pixel points, and the corrected matching results of the waveforms of each candidate truth template and the waveform of the codeword at each pixel...

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

Embodiments of the present invention provide a barcode decoding method and device. For each codeword in the barcode to be decoded, the number of bars contained in the codeword is judged according to the number of theoretical bar spaces in the codeword in the barcode to be decoded. When the number of bars and spaces increases in pairs, the codeword is matched and decoded based on the template matching decoding method, and a preset number of candidate truth templates corresponding to the codeword are obtained, as well as the correction corresponding to each candidate truth template. The pre-correction matching result; correct the pre-correction matching result to obtain the corrected matching result corresponding to each candidate truth template; judge that the target true value exists in the preset number of candidate truth templates according to the pre-correction matching result and the corrected matching result. When the value template is used, the truth value corresponding to the target truth template is determined as the truth value corresponding to the codeword, and the decoding of the codeword is completed. Utilizing the solution provided by the embodiment of the present invention can realize the decoding of the barcode with continuous white slender scratches on the bar.

Description

technical field [0001] The invention relates to the technical field of barcode identification, in particular to a barcode decoding method, device, electronic equipment and computer-readable storage medium. Background technique [0002] Barcode (barcode), also called barcode, is a graphic identifier for expressing a set of information by arranging multiple black bars and blanks with different widths according to certain coding rules. A common barcode is a parallel line pattern formed by black bars (abbreviated as bars) and white bars (abbreviated as empty) with very different reflectivity. Barcodes can mark the country of origin, manufacturer, product name, production date, book classification number, mail start and end location, category, date and many other information, so it is widely used in many fields such as commodity circulation, book management, postal management, banking system be widely used. Therefore, when applying barcodes, it is of great significance to ident...

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 Patents(China)
IPC IPC(8): G06K7/14
CPCG06K7/146
Inventor 李俊柏万其明武晓阳
Owner HANGZHOU HIKVISION DIGITAL TECH
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