Complex background bar code segmentation and reading method based on machine vision

A complex background and machine vision technology, applied in the field of image processing, can solve problems such as decoding failure, different effects, and width ratio changes, and achieve the effects of ensuring successful reading, improving robustness and adaptability, and eliminating interference

Active Publication Date: 2018-01-26
UNIV OF ELECTRONIC SCI & TECH OF CHINA
View PDF7 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In terms of barcode reading, at present, most of them are based on related decoding operations based on the well-segmented bar-space boundaries. However, according to different environments, different methods of dividing bar-space boundaries of barcodes have very different effects. , there are relatively few studies on
Especially in the case of uneven lighting conditions, there will be problems when using ordinary fixed thresholds to determine the bar-space boundaries of barcodes. Incorrect boundary segmentation will directly lead to changes in the ratio of each width, which will eventually lead to 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
  • Complex background bar code segmentation and reading method based on machine vision
  • Complex background bar code segmentation and reading method based on machine vision
  • Complex background bar code segmentation and reading method based on machine vision

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0061] figure 1 It is a flow chart of the barcode segmentation and reading method under the complex background based on machine vision of the present invention.

[0062] In this example, if figure 1 As shown in the present invention, a barcode segmentation and reading method based on machine vision in a complex background comprises the following steps:

[0063] S1, barcode segmentation

[0064] S1.1. Calculate the gradient information of the grayscale image I to form the gradient magnitude image T, and normalize it to [0,255];

[0065]

[0066]

[0067] Among them, C(x,y) represents the size of the pixel value at (x,y), G x (x,y) indicates the gradient value in the x direction at (x,y), G y (x, y) represents the gradient value in the y direction at (x, y), G(x, y) represents the approximate gradient magnitude at (x, y), and θ(x, y) represents the gradient direction at (x, y) ;

[0068] The gradient magnitude map T is normalized to [0,255] as follows figure 2 As s...

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 discloses a complex background bar code segmentation and reading method based on machine vision. Gradient direction consistency characteristics of a bar code image are utilized, a bar code segmentation method based on local gradient information fusion is utilized to precisely extract a bar code from the complex background; the acquired bar code area is corrected and sampled, an end code calibration method is utilized to acquire minimum unit width of the bar code, bar-space definition of the bar code is carried out through utilizing a dynamic threshold method, and bar code decoding, fault tolerance and examination are lastly carried out.

Description

technical field [0001] The invention belongs to the technical field of image processing, and more specifically relates to a barcode segmentation and reading method based on machine vision under a complex background. Background technique [0002] The wide use of barcode technology provides a unified and simple language for trade transactions in different countries and regions. Using the identification information of barcodes, it is easy to convert them into recognizable electronic data, so as to achieve the purpose of fast reading and also The problem of manual input that is prone to errors is avoided. Although one-dimensional barcodes have different forms of expression and ways of storing data, their basic characteristics are the same, and they all rely on the combination of black and white stripes of different widths to represent information. In the current electronics manufacturing industry, barcodes are mainly read by hand-held traditional laser barcode scanners. Althoug...

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
IPC IPC(8): G06K7/14G06K9/34G06K9/46
Inventor 康波王琳庄孟雨钱志敏李云霞
Owner UNIV OF ELECTRONIC SCI & TECH OF CHINA
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