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
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2019-02-01
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
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...
Examples
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...