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

Distortion image correction based two-dimensional code decoding method and system

A technology of image correction and decoding method, which is applied in the field of two-dimensional code decoding method and system based on distorted image correction, which can solve problems such as the inability to accurately read image two-dimensional codes, achieve the effect of reducing the amount of calculation and improving the success rate of decoding

Active Publication Date: 2015-11-11
FUJIAN NEWLAND AUTO ID TECH CO LTD
View PDF5 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For this reason, the technical problem to be solved by the present invention is that barcode reading equipment in the prior art cannot accurately read two-dimensional codes with distorted images.

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
  • Distortion image correction based two-dimensional code decoding method and system
  • Distortion image correction based two-dimensional code decoding method and system
  • Distortion image correction based two-dimensional code decoding method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] Such as figure 1 Shown is a preferred embodiment of the present invention. A two-dimensional code decoding method based on distorted image correction, comprising the following steps:

[0063] S1: Obtain an image containing a two-dimensional code. Such as figure 2 shown.

[0064] S2: Determine multiple feature points and their positions of the two-dimensional code, and judge the type of the two-dimensional code according to the position of the feature points. Such as figure 2 , the feature point of the matrix two-dimensional code (such as QR code) can be a pixel point in the imaging area, such as the center point of the "bull's eye" in the shape of "back". The feature points of the determinant two-dimensional code (such as PDF417 code) can be the feature points of the start code area. A "bull's eye" occupies 7 pixels.

[0065] S3: establish a coordinate system, and obtain the coordinates of a plurality of feature points of the two-dimensional code in the image. ...

Embodiment 2

[0086] Such as Figure 8 Shown is a preferred embodiment of the present invention. A two-dimensional code decoding system based on distorted image correction, including the following modules:

[0087] Image acquisition module 1: acquire a frame of an image containing a two-dimensional code. Such as figure 2 shown.

[0088] Feature point acquisition module 2: determine multiple feature points of the two-dimensional code, and determine the type of the two-dimensional code. Such as figure 2 , the feature point of the matrix two-dimensional code (such as QR code) can be a pixel point in the imaging area, such as the center point of the "bull's eye" in the shape of "back". The feature points of the determinant two-dimensional code (such as PDF417 code) can be the feature points of the start code area. A "bull's eye" occupies 7 pixels.

[0089] Calculation module 3: establish a coordinate system, and acquire coordinates of multiple feature points of the two-dimensional code...

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 present invention provides a distortion image correction based two-dimensional code decoding method and a system. The method comprises: acquiring a frame of image that contains a two-dimensional code, and judging the type of the two-dimensional code by determining a plurality of feature points of the two-dimensional code; calling a corresponding matching template according to the type of the two-dimensional code; performing correction by using perspective transformation first, wherein the computation amount of the perspective transformation is small and a quadrilateral pattern with relatively low distortion degree can be realized; filling the matching template with a gray-scale value of each pixel point, wherein rapid decoding is realized by the matching template; if the decoding is failed, then performing correction by starting a curved surface correction algorithm that is relatively complicated and more accurate in correction precision, wherein the curved surface correction can correct a pattern with relatively high distortion degree; performing the perspective transformation on the two-dimensional code pattern subjected to the curved surface correction again for correction. After the curved surface correction, a pattern approximate to a regular quadrangle is obtained and the perspective transformation is performed again, so that the success rate of decoding can be greatly increased.

Description

technical field [0001] The invention relates to a method and system for correcting distorted barcode images, in particular to a method and system for decoding two-dimensional codes based on distorted image correction. Background technique [0002] Barcode (referred to as barcode) can be divided into one-dimensional barcode and two-dimensional barcode. One-dimensional barcode is a mark composed of a set of regularly arranged bars, spaces and corresponding characters. "Bar" refers to the part with low reflectivity to light. "Void" refers to the part with high reflectivity to light, and the data composed of these bars and spaces expresses certain information. Two-dimensional barcode is a new generation of barcode technology that records data symbol information in a black and white rectangular matrix distributed on a plane (two-dimensional direction) according to certain rules; two-dimensional barcodes can be divided into stacked two-dimensional barcodes and matrix 2D barcodes....

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/10
Inventor 郑云美陈文传
Owner FUJIAN NEWLAND AUTO ID 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