Unlock instant, AI-driven research and patent intelligence for your innovation.

A barcode decoding method and device

A decoding method and barcode technology, which are applied in the field of barcode decoding methods and devices, can solve problems such as inaccurate decoding templates, deviations between bar space width and theoretical width, and inaccurate decoding.

Active Publication Date: 2019-11-15
ゼジャンハーレイテクノロジーカンパニーリミテッド
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a barcode decoding method and device, which are used to solve the problems in the prior art that when the barcode boundary is unclear, the width of the bar space deviates from the theoretical width, and the selected decoding template is inaccurate, resulting in inaccurate decoding.

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
  • A barcode decoding method and device
  • A barcode decoding method and device
  • A barcode decoding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] figure 1 A schematic diagram of a barcode decoding process provided by an embodiment of the present invention, the process includes the following steps:

[0050] S101: For the character to be decoded in the barcode, according to the number of boundary points of the decoded character corresponding to the type of the barcode, and the first target end boundary point of the character preceding the character to be decoded located on the row scanning line, It is determined that the character to be decoded is located at a candidate end boundary point on the row scanning line.

[0051] The barcode decoding method provided by the embodiment of the present invention can be applied to electronic equipment, and the electronic equipment can be a barcode reading device such as a handheld barcode reader, a fixed barcode reader, or a terminal such as a mobile phone or a tablet computer with a barcode decoding function. equipment.

[0052] The electronic device can identify the charac...

Embodiment 2

[0066] When the boundary is unclear and the camera angle deviation is large, the width value corresponding to each character to be decoded in the barcode is closely related to the width value corresponding to the previous character, in order to further improve the accuracy of decoding. On the basis of the above-mentioned embodiments, in the embodiment of the present invention, the method further includes:

[0067] Perform the stored second width value of the decoded character according to the third width value corresponding to the first target end boundary point of the character to be decoded and the second target end boundary point range of the character to be decoded renew.

[0068] In the embodiment of the present invention, after the target end boundary point of each character to be decoded is determined, it may be based on the first target end boundary point of the previous character of the character to be decoded and the first target end boundary point of the character t...

Embodiment 3

[0070] In order to further improve the accuracy of decoding, on the basis of the above-mentioned embodiments, in the embodiment of the present invention,

[0071]According to the first width value corresponding to the first target end boundary point and the candidate end boundary point range and the stored second width value of the decoded character, determine that the character to be decoded is located on the row scanning line The second objective end boundary points include:

[0072] judging whether the absolute value of the difference between the first width value corresponding to the character to be decoded and the saved second width value is less than a set threshold;

[0073] If yes, the candidate end boundary point is used as the second target end boundary point where the character to be decoded is located on the row scanning line;

[0074] If not, identifying the distance between each boundary point on the line scan line and the first target end boundary point, and th...

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 embodiment of the invention discloses a bar code decoding method and apparatus, aiming at solving the problem that in the prior art, the bar code boundary is not distinct and the width and the theoretical width of the bar space have deviation, so that decoding is not accurate. The bar code decoding method includes the steps: according to the quantity of boundary points of decoding characters corresponding to the type of a bar code, and according to a first target end boundary point of the previous character of the characters to be decoded, determining the candidate end boundary point of the characters to be decoded; according to the corresponding first width value and saved second width value of the first target end boundary point and the candidate end boundary point range, determining a second target end boundary point of the characters to be decoded; and according to the gray scale information in the first target end boundary point and second target end boundary point range, decoding the characters to be decoded. Therefore, the bar code decoding method and apparatus can avoid inaccuracy, of the bar space width of the determined decoded characters, caused by non-distinct bar code boundary to a certain degree, and can improve the accuracy of decoding to a certain degree.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a barcode decoding method and device. Background technique [0002] Bar code technology is an emerging technology developed on the basis of computer technology and information technology that integrates coding, printing, identification, data acquisition and processing. Barcode technology is widely used in business, library management, warehousing, post and telecommunications, transportation and industrial control due to its advantages of fast, accurate, reliable and low cost, and is bound to play an important role in the emerging "Internet of Things" applications. role. [0003] In the barcode detection scheme based on the vision system, it is mainly divided into barcode positioning and barcode decoding. In the process of barcode decoding, how to improve the accuracy of decoding has always been an important research topic. Existing bar code decoding method mainly comp...

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/10
CPCG06K7/10821
Inventor 马诗洁周璐谢世斌张兴明李铭
Owner ゼジャンハーレイテクノロジーカンパニーリミテッド