Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

One-dimensional barcode identification method based on image sampling line grey scale information analysis

A technology of image sampling and grayscale information, which is applied in the field of one-dimensional barcode recognition, can solve the problems of barcode bar space information errors, affecting the distribution of projection curves, etc., to prevent errors, have good practicability and adaptability, and improve accuracy. Effect

Active Publication Date: 2015-06-24
HANGZHOU SYNOCHIP DATA SECURITY TECH CO LTD
View PDF5 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The most important thing is that this method relies heavily on geometric correction. Even if the barcode is slightly tilted or deformed, it will affect the distribution of the projection curve, resulting in errors in the barcode and empty information.

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 identification method based on image sampling line grey scale information analysis
  • One-dimensional barcode identification method based on image sampling line grey scale information analysis
  • One-dimensional barcode identification method based on image sampling line grey scale information analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] Referring to 2-5, a one-dimensional barcode recognition method based on image sampling line grayscale information analysis, the steps are as follows: (1) Find the precise area of ​​the one-dimensional barcode according to the image segmentation calculation to form the sampling interval ABCD;

[0037] (2) According to the placement position of the image or other approaching directions, arrange a sampling curve b2 that passes through all the black and white bars of the one-dimensional barcode;

[0038] (3) Obtain the gray value of each position on the sampling curve b2 from point b21 to point b22 on the sampling interval ABCD to form a gray curve with high and low pixel values, and the peak part of the gray curve corresponds to the one-dimensional barcode White bar, the black bar of the one-dimensional barcode corresponding to the trough part;

[0039] (4) Perform corresponding processing on the sampled grayscale curve to obtain a binary pulse curve corresponding to black...

Embodiment 2

[0046] The difference between this embodiment and Embodiment 1 is that when there is a stain on the sampling curve b2, which causes the sampling curve to fail to obtain the width of the bar space, you can continue to re-arrange other sampling lines on the barcode image, such as a1, a2, b1, and repeat Step (2)-step (5) until a complete one-dimensional barcode is obtained. When there is a stain somewhere in the barcode, as long as it does not cover the entire length of the empty unit, it will not affect the recognition of the barcode.

Embodiment 3

[0048] The difference between this embodiment and Embodiment 1 is that when there are stains on the multiple sampling curves of the one-dimensional barcode, the successfully decoded parts on each sampling curve are combined to form a complete one-dimensional barcode to realize the one-dimensional barcode It can also be recognized when there are many stains on it.

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 identification method based on image sampling line grey scale information analysis. The method comprises the following steps that 1, a precise region of a one-dimensional barcode is found out according to image segmentation and calculation to form a sampling interval ABCD; 2, a sampling curve b2 passing through all black and white strip spaces of the one-dimensional barcode is arranged according to the placing position of an image or in the other approaching direction; 3, grey scale values at all positions, from a point b21 to a point b22 on the sampling interval ABCD, on the sampling curve b2 are obtained to form a grey scale curve, grey scale curve crest parts correspond to black strips of the one-dimensional barcode, and trough parts correspond to blanks of the one-dimensional barcode; 4, corresponding processing is carried out on the sampled grey scale curve to obtain a two-value pulse curve of black and white corresponding; 5, barcode bar vacancy boundary points are obtained from the two-value pulse curve, then the width of the barcode bar vacancy sequence is calculated and converted into the width of a barcode bar vacancy unit module, and a coded character set of the corresponding one-dimensional barcode is searched to obtain corresponding codons.

Description

technical field [0001] The invention relates to a one-dimensional barcode recognition method based on image sampling line grayscale information analysis. Background technique [0002] A complete one-dimensional barcode consists of static areas on both sides, start character, data character, check character, and terminator. Its structure diagram is as follows: figure 1 shown. It arranges multiple black bars and spaces of different widths according to certain coding rules to express a set of information. [0003] Commonly used barcode scanning equipment is usually composed of light source (such as laser), optical lens, photosensitive device (such as CCD, CMOS, etc.), decoding logic circuit and I / O interface and other components. To put it simply, the light source projects light onto the barcode, and the light reflected from the barcode passes through the optical lens and enters the surface of the photosensitive device. After a series of processing such as photoelectric conve...

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/10
Inventor 官慧仙杨波
Owner HANGZHOU SYNOCHIP DATA SECURITY TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products