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 r

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

Example Embodiment

[0061] Example 1

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

[0063] S1: Obtain an image containing a QR code. Such as figure 2 Shown.

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

[0065] S3: Establish a coordinate system, and obtain the coordinates of multiple characteristic points of the two-dimensio...

Example Embodiment

[0085] Example 2

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

[0087] Image acquisition module 1: Obtain an image containing a two-dimensional code. Such as figure 2 Shown.

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

[0089] Calculation module 3: Establish a coordinate system and obtain the coordinates of multiple characteristic points of the two-dimensional code. The step...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products