An automatic segmentation method of barcode image with complex background based on gradient direction consistency

A gradient direction and automatic segmentation technology, applied in image analysis, image data processing, electromagnetic radiation induction, etc., can solve the problems of algorithm failure, false detection and missed detection, etc., and achieve the effect of accurate and fast barcode recognition
CN104636706BActive Publication Date: 2017-12-26SHENZHEN KINGFOCUS BIOMDICAL ENG CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN KINGFOCUS BIOMDICAL ENG CO LTD
Publication Date
2017-12-26

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a complicated background bar code image automatic partitioning method based on gradient direction consistency. The complicated background bar code image automatic partitioning method comprises the following steps: a first step, converting an input image into a grey image I(n) and calculating horizontal direction gradient Gx(n) and perpendicular direction gradient Gy(n) of each pixel point n on the grey image I(n) to obtain a gradient amplitude G(n) and a gradient angle phi (n) of each pixel point n; a second step, selecting a gradient threshold value alpha, taking the pixel point with the gradient amplitude G(n) larger than the threshold value alpha as an image edge point to obtain an edge image Ie(n); a third step, performing gradient direction consistency estimation and screening based on partitioning to obtain a candidate image block set; a fourth step, calculating an average gradient direction Phici of each candidate image block Pci, and normalizing the average gradient direction Phici to a [-phi / 2, phi / 2] interval as the gradient direction of the candidate image block Pci; a fifth step, performing connected component labeling on the candidate image block based on direction consistency; a sixth step, analyzing and screening a candidate image block connected domain; a seventh step, performing waveform extraction and matching on a candidate bar code region for follow-up decoding. The method disclosed by the invention can identify a bar code more quickly and accurately.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of automatic image recognition, in particular to a method for automatically segmenting barcode images with complex backgrounds based on gradient direction consistency. Background technique

[0002] Automatic data collection technology is the key technology of information collection and processing. Bar code technology plays an important role in automatic data collection and has been widely used in industry, commerce, book publishing and medical and health services.

[0003] One-dimensional barcode is a mark composed of a group of regularly arranged, wide and narrow bars and spaces, which is used to represent certain information. At present, the barcode identification device commonly used in the market is a photoelectric reader, and this identification technology has been successfully put into commercial application. However, the photoelectric reader needs to manually align the barcode, and the degree of aut...

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