Supercharge Your Innovation With Domain-Expert AI Agents!

Bar code image angle correction method and device

A barcode image and angle correction technology, applied in the field of image processing, can solve problems such as poor barcode recognition results and poor correction effects, and achieve the effect of improving detection accuracy

Active Publication Date: 2020-06-19
GUANGDONG UNIV OF TECH
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This application provides a barcode image angle correction method and device, which are used to solve the problem that the existing barcode correction method can only perform small angle correction on one-dimensional barcodes, and the correction effect is poor when the barcode angle is seriously inclined, so that Technical issues with poor barcode recognition results

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
  • Bar code image angle correction method and device
  • Bar code image angle correction method and device
  • Bar code image angle correction method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to enable those skilled in the art to better understand the solutions of the application, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only It is a part of the embodiments of this application, but not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.

[0048] For ease of understanding, please refer to figure 1 , An embodiment of a barcode image angle correction method provided in this application includes:

[0049] Step 101: Perform grayscale processing on the acquired barcode image to be corrected.

[0050] It should be noted that grayscale processing is performed on the acquired barcode image to be corrected to facilitate subsequent...

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 bar code image angle correction method and device, and the method comprises the steps: carrying out the graying and binarization of an obtained to-be-corrected bar code image, and obtaining a first binary image; performing contour retrieval on the white foreground region in the first binary image based on a contour retrieval algorithm to obtain a first contour; carrying out black filling on the white foreground region with the area smaller than a preset threshold value, and then carrying out contour retrieval again to obtain a second contour; calculating a center of asecond contour of the white foreground region based on the second contour; performing linear fitting on the obtained central point based on Hough transform, and outputting an included angle; calculating a correction angle based on the included angle; according to the bar code correction method, the bar code image to be corrected is rotated to obtain the corrected bar code image, and the technicalproblems that an existing bar code correction method can only perform small-angle correction on the one-dimensional bar code, the correction effect is poor under the condition that the angle inclination of the bar code is serious, and the bar code recognition result is poor are solved.

Description

Technical field [0001] This application relates to the field of image processing technology, and in particular to a method and device for correcting barcode image angles. Background technique [0002] Bar code is a symbol formed by arranging black lines and blanks of different thicknesses according to certain coding rules. Barcodes are widely used in daily life, such as commodities and express orders. The current one-dimensional barcodes can usually be used to store numbers, letters and other information. Since one-dimensional barcodes only express information in a single direction, the existing machine vision technology has requirements for the placement angle of the barcode when identifying one-dimensional barcodes. The angle of the barcode needs to be adjusted to facilitate barcode recognition. The existing barcode correction method can only perform small-angle correction for one-dimensional barcodes. When the barcode angle is severely tilted, the correction effect is poor, r...

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): G06T3/60G06T7/136G06T7/13G06T7/187G06T7/62
CPCG06T3/608G06T7/136G06T7/13G06T7/187G06T7/62Y02A10/40
Inventor 岑仕杰何元烈
Owner GUANGDONG UNIV OF TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More