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

A QR code automatic positioning and orientation method

A technology of automatic positioning and QR code, which is applied in the field of image processing, can solve the problems of easy misdetection, ignoring the consistency of square angles, and low robustness, so as to achieve high robustness, save labor costs and time, The effect of broad application prospects

Active Publication Date: 2016-05-25
南京无限物联科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Literature [7] uses the median filter to smooth the QR code image. The median filter is suitable for eliminating salt and pepper noise, but it is not suitable for eliminating uneven illumination and has low robustness.
In addition, it only filters out the image-seeking image based on the consistency of the center of gravity of the block, ignoring the consistency of the block angle, which is easy to misdetect the image-seeking image

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
  • A QR code automatic positioning and orientation method
  • A QR code automatic positioning and orientation method
  • A QR code automatic positioning and orientation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments.

[0059] Such as figure 2 As shown, the QR code automatic positioning and orientation method includes the following steps:

[0060] Step 1.1, convert the input image into a grayscale image.

[0061] Step 1.2, use the adaptive threshold algorithm to binarize the grayscale image to eliminate noise interference. Suppose the size of the input image is X×Y, src(x,y) is the pixel value of the input image at coordinates (x,y), and dst(x,y) is the pixel value of the output image at coordinates (x,y) , the grayscale image pixel value range is [minValue, maxValue], blockSize is the side length of the square neighborhood, and offset is the offset. If the center of the square neighborhood is (x, y), then T(x, y) is the mean value of the neighborhood pixels. The adaptive threshold algorithm is as follows:

[0062] dst ( ...

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 an automatic QR (quick response) code positioning and orientating method. The method includes: converting an input image into a grayscale image; binarizing the grayscale image by the self-adaptive threshold algorithm to eliminate noise interference; extracting an grayscale image edge according to an Sobel operator; extracting a profile sequence from the edge by the chain code tracing algorithm; filtering a rectangular profile, filtering a view-finding image from the rectangular profile sequency, and judging whether the image has a QR code or not; and correcting and dividing the QR code. By the automatic QR code positioning and orientating method, QR code positioning and orientating can be realized quickly and accurately in a robustness manner, and QR codes can be extracted from images without manual operations, so that manpower cost and time are saved greatly. The automatic QR code positioning and orientating method is applicable to industrial informationization and automation and has wide application prospect.

Description

technical field [0001] The invention relates to a method for positioning and orienting a two-dimensional barcode, in particular to a method for automatically locating and orienting a QR code by using a computer program, which belongs to the technical field of image processing. Background technique [0002] "QR" of QR code is the abbreviation of QuickResponse, such as figure 1 shown. The national standard GB / T18284-2000 calls it a quick response matrix code. Compared with 1D barcodes, QR codes can store richer information, including encryption of text, URL addresses and other types of data. [0003] In practical applications, QR code acquisition signals are usually not ideal, and are often interfered by various factors such as illumination, printing quality, display quality, and rotation. Therefore, the QR code automatic positioning and orientation technology can significantly improve the decoding speed. The standard decoding algorithm provided by the national standard GB...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06K9/32G06K9/46
Inventor 谢培树
Owner 南京无限物联科技有限公司
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