One-dimensional barcode decoding method based on bar and space unit amplification

A decoding method and dimensional bar code technology, applied in instruments, inductive record carriers, electromagnetic radiation induction, etc., can solve problems such as decoding failure, and achieve the effect of improving the decoding rate

Active Publication Date: 2019-02-01
SHANGHAI HUANGHE INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Especially when determining the width of a narrow empty cell, the width determined by two adjacent scanning lines can still reach a gap of at most 1 pixel even if the boundary positioning algorithm does not have boundary extraction errors. The empty unit itself only occupies 1 to 2 pixels, and this gap is enough to cause decoding failure

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
  • One-dimensional barcode decoding method based on bar and space unit amplification
  • One-dimensional barcode decoding method based on bar and space unit amplification
  • One-dimensional barcode decoding method based on bar and space unit amplification

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the present invention more comprehensible, preferred embodiments are described in detail below with accompanying drawings.

[0019] The general idea of ​​the present invention is: locate the barcode center of the barcode image with the prior art and determine the inclination angle of the barcode, determine the barcode center scanning line according to the inclination angle of the barcode and the barcode center point, and calculate the bar space cell boundary on the barcode center scanning line Point, get the width stream, send it to the decoding, if the decoding is successful, it will return the decoding information, if the decoding fails and the barcode is horizontal or vertical, it will return the decoding failure, otherwise, enter the process of correcting and enlarging the barcode bar empty unit, and send it to the decoding again .

[0020] to combine Figure 4 , a kind of one-dimensional bar code decoding method based on bar empty unit amplificati...

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 provides a one-dimensional barcode decoding method based on bar vacancy unit amplification, which is characterized by comprising the steps of positioning the barcode center of a barcode image and determining an inclination angle of a barcode according to existing technologies, and determining a barcode center scanning line according to the inclination angle of the barcode and the barcode center; calculating bar vacancy unit boundary points on the barcode center scanning line, acquiring a width flow, decoding the width flow, and returning decoding information if the width flow is successfully decoded; if the width flow is decoded unsuccessfully and the barcode is horizontal or vertical, returning a decoding failure, if not, getting into a procedure of correcting and amplifying a bar vacancy unit of the barcode, and decoding a new width flow again. The one-dimensional barcode decoding method not only can meet decoding requirements of ordinary barcodes, but also can meet decoding requirements of inclined barcodes with certain decoding difficulty. Meanwhile, when the boundary points on the barcode scanning line are not accurately extracted, the one-dimensional barcode decoding method can achieve a certain correction effect, so that the decoding rate is improved.

Description

technical field [0001] The invention relates to a decoding method of a one-dimensional barcode. Background technique [0002] The one-dimensional barcode decoding method mainly locates the boundary of the scanning line according to the prior art, determines the bar space unit, extracts the width stream, and uses the width stream to decode. When the one-dimensional barcode has an inclination angle of 45° or 135°, especially when the space unit of the barcode is narrow, the decoding failure rate is high. [0003] like figure 1 As shown, it is a barcode image with an inclination angle of about 45°. It can be seen from the figure that this barcode is affected by the printing quality, the barcode clarity is not enough, and the image contrast is not strong, which will affect the determination of the boundary points. There may be some errors in the positioning of the location. to combine figure 2 , when the barcode image has a certain inclination angle and the narrow unit in t...

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/1413G06K7/1452G06K7/1473
Inventor 刘宁
Owner SHANGHAI HUANGHE INFORMATION TECH CO LTD
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