QR Code Recognition Based On Image Processing

Slides:



Advertisements
Similar presentations
Digital Image Processing
Advertisements

Object Recognition from Local Scale-Invariant Features David G. Lowe Presented by Ashley L. Kapron.
Automatic Color Gamut Calibration Cristobal Alvarez-Russell Michael Novitzky Phillip Marks.
Last 4 lectures Camera Structure HDR Image Filtering Image Transform.
Prénom Nom Document Analysis: Document Image Processing Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
Document Image Processing
Chessmen Position Recognition Using Artificial Neural Networks Jun Hou Dec. 8, 2003.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Computer vision: models, learning and inference
With support from: NSF DUE in partnership with: George McLeod Prepared by: Geospatial Technician Education Through Virginia’s Community Colleges.
Uncertainty Representation. Gaussian Distribution variance Standard deviation.
DTM Generation From Analogue Maps By Varshosaz. 2 Using cartographic data sources Data digitised mainly from contour maps Digitising contours leads to.
A Study of Approaches for Object Recognition
Contents Description of the big picture Theoretical background on this work The Algorithm Examples.
Fitting a Model to Data Reading: 15.1,
Scale Invariant Feature Transform (SIFT)
Iris localization algorithm based on geometrical features of cow eyes Menglu Zhang Institute of Systems Engineering
A Novel 2D To 3D Image Technique Based On Object- Oriented Conversion.
Lecture 6: Feature matching and alignment CS4670: Computer Vision Noah Snavely.
Scale-Invariant Feature Transform (SIFT) Jinxiang Chai.
כמה מהתעשייה? מבנה הקורס השתנה Computer vision.
Distinctive Image Features from Scale-Invariant Keypoints By David G. Lowe, University of British Columbia Presented by: Tim Havinga, Joël van Neerbos.
Presented by: Kamakhaya Argulewar Guided by: Prof. Shweta V. Jain
FEATURE EXTRACTION FOR JAVA CHARACTER RECOGNITION Rudy Adipranata, Liliana, Meiliana Indrawijaya, Gregorius Satia Budhi Informatics Department, Petra Christian.
Image Recognition and Processing Using Artificial Neural Network Md. Iqbal Quraishi, J Pal Choudhury and Mallika De, IEEE.
Image Formation. Input - Digital Images Intensity Images – encoding of light intensity Range Images – encoding of shape and distance They are both a 2-D.
Chapter 3: Image Restoration Geometric Transforms.
CS 376b Introduction to Computer Vision 04 / 29 / 2008 Instructor: Michael Eckmann.
Multimodal Interaction Dr. Mike Spann
Ajay Kumar, Member, IEEE, and David Zhang, Senior Member, IEEE.
Chapter 9.  Mathematical morphology: ◦ A useful tool for extracting image components in the representation of region shape.  Boundaries, skeletons,
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Simple Image Processing Speaker : Lin Hsiu-Ting Date : 2005 / 04 / 27.
MESA LAB Multi-view image stitching Guimei Zhang MESA LAB MESA (Mechatronics, Embedded Systems and Automation) LAB School of Engineering, University of.
Under Supervision of Dr. Kamel A. Arram Eng. Lamiaa Said Wed
Intelligent Vision Systems ENT 496 Object Shape Identification and Representation Hema C.R. Lecture 7.
Extracting Barcodes from a Camera-Shaken Image on Camera Phones Graduate Institute of Communication Engineering National Taiwan University Chung-Hua Chu,
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
1 Statistics, Data Analysis and Image Processing Lectures Vlad Stolojan Advanced Technology Institute University of Surrey.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Zhongyan Liang, Sanyuan Zhang Under review for Journal of Zhejiang University Science C (Computers & Electronics) Publisher: Springer A Credible Tilt License.
Course 8 Contours. Def: edge list ---- ordered set of edge point or fragments. Def: contour ---- an edge list or expression that is used to represent.
CSE 185 Introduction to Computer Vision Feature Matching.
A Tutorial on using SIFT Presented by Jimmy Huff (Slightly modified by Josiah Yoder for Winter )
Robust and Accurate Surface Measurement Using Structured Light IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 57, NO. 6, JUNE 2008 Rongqian.
Hough transform and geometric transform
By Pushpita Biswas Under the guidance of Prof. S.Mukhopadhyay and Prof. P.K.Biswas.
Scale Invariant Feature Transform (SIFT)
MultiModality Registration Using Hilbert-Schmidt Estimators By: Srinivas Peddi Computer Integrated Surgery II April 6 th, 2001.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
Image features and properties. Image content representation The simplest representation of an image pattern is to list image pixels, one after the other.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Frank Bergschneider February 21, 2014 Presented to National Instruments.
Integrating LiDAR Intensity and Elevation Data for Terrain Characterization in a Forested Area Cheng Wang and Nancy F. Glenn IEEE GEOSCIENCE AND REMOTE.
Computer vision: models, learning and inference
图像处理技术讲座(3) Digital Image Processing (3) Basic Image Operations
Bitmap Image Vectorization using Potrace Algorithm
Presented by David Lee 3/20/2006
Miguel Tavares Coimbra
Chapter 6: Image Geometry 6.1 Interpolation of Data
SIFT paper.
Introduction to Computational and Biological Vision Keren shemesh
Feature description and matching
Exposing Digital Forgeries by Detecting Traces of Resampling Alin C
From a presentation by Jimmy Huff Modified by Josiah Yoder
Project P06441: See Through Fog Imaging
CSE 185 Introduction to Computer Vision
Feature descriptors and matching
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Presentation transcript:

QR Code Recognition Based On Image Processing Yunhua Gu, Weixiang Zhang, IEEE

Outline Introduction Recognition Based On Image Processing Experiment Results Conclusion

Introduction To solve the QR code recognition problem caused by ordinary camera collection, the recognition algorithm based on image processing is put forward in this paper.

Introduction The whole process including image binarization, image tilt correction, image orientation, image geometric correction and image normalization allows images collected on different illumination conditions, different acquisition angles to be quickly identified.

Recognition Based On Image Processing Fig-1. Recognition Process

Image Binarization The reference[7] points out that Niblack method is the best method comparing a variety of local threshold algorithm. But it is very difficult to set an appropriate window size on the way, has great influence on the modules, and also takes too much time.

Image Binarization The reference[8] used a block thresholds method combined SOM neural network with the Niblack algorithm for binarization. The reference[9] proposes a binarization method based on surface fitting technology using two- dimensional second-order polynomial fitting way to make the QR code background image of the surface fitting, and image segmentation.

Image Binarization The reference[10] advises to judge the light intensity by calculating the histogram of gray image bar code, removing noise by median filter and analyzing the peak feature of the histogram. We choose the global threshold method(OTSU method) in ordinary light condition while a local threshold method(adaptive threshold) is used in the uneven light condition.

Tilt Correction The reference[10] proposed algorithm that hollows out internal points of the bar code, then gets the edge information and peaks and slope detection of bar code with Hough transform over a known point. The references[11] and [12] look for position detection patterns before decoding by using opening operation and closing operation in morphological image processing.

Tilt Correction The reference[13] uses OTSU method for binarization, extracts edge of QR code via gradient method and uses the Hough transform to locate after decreasing image resolution. The reference[14] proposes a quick location method for the QR code symbol using one- dimensional pattern match based on the specific mode of the position detection patterns of the code.

Tilt Correction The reference[16] draws the concept of convex hull in computational geometry into locating bar code through in case of Data Matrix. This algorithm can locate two-dimensional bar code effectively under the distorted or tilted situation.

Fig-2. Position Detection Tilt Correction Fig-2. Position Detection As shown in fig-2, QR code contains 3 detection patterns A, B, C with the same size and shape.

Tilt Correction The detection pattern is composed of three overlapping concentric squares, the black and white of the module's ratio is 1:1:3:1:1. The width of each module allows deviation of 0.5.

Fig-3. Rotation Correction Tilt Correction Fig-3. Rotation Correction As shown in fig-3, S square area is the original QR code image. N square is the area after interception. P1, P2, P3 are the three feature points.

Tilt Correction Assuming the rotation angle is θ. Calculate Strike distance between three points and find the longest distance, suppose it is P2,P3.

Tilt Correction After the center coordinate of QR code determined, to capture its square on the image center to ensure the QR code can all access. The length of the intercepted side is at least New Length = √2 * SourceLength * sinθ

Tilt Correction Because the purpose of rotation coordinates is not necessarily integer coordinates, in order to ensure the image is not distorted, the gray value of purpose pixel needs for interpolation in the image rotation transformation. The frequently-used methods include the nearest neighbor interpolation, bilinear interpolation and tri-linear interpolation.

Tilt Correction Therefore, the bilinear interpolation is used in image rotation in this paper. In addition, if the coordinates of QR code are not precise enough, the result is not very satisfactory, just as fig-4 shows.

Fig-4. Comparison of Three Interpolation Methods Tilt Correction Fig-4. Comparison of Three Interpolation Methods

Image Geometric Correction The image geometric distortion will emerge because of the shooting angle, image rotation and other issues. QR code geometric distortion will bring great recognition errors and reduce the recognition rate.

Image Geometric Correction Distortion correction algorithm is as follows. Obtain images of the four vertices of QR codes. Determine the fourth vertex. Fig-5. Calculate the Fourth Vertex

Image Geometric Correction As shown in fig-6, P1, P2, P3, P4 are the four vertexes of the QR code image without distortion, P1’ ,P2’ ,P3’ ,P4’ are the four vertexes of the QR code for the actual image. Fig-6. Control point transformation

Image Geometric Correction By Jacobi iteration method can solve the 8 parameters a, b, c, d, m, n, p, q in above equations, and then it realizes the calibration transformation from the general quadrilateral to a square.

Image Geometric Correction Then the bilinear interpolation formula is:

Image Normalization Firstly, make sure the version number of the QR code based on the decoding algorithm given in the national standard and symbol structures of QR code itself. Secondly, divide equally the QR image into n x n small grids according the version number, re- sample the center of each grid as the sampling point and get the normalized QR code symbol.

Image Normalization Thirdly, decode the standard QR code symbol according the National Standard Method of Quick Response Code after image re-sampling.

Experiment Results 90% 80% Algorithm Average Time Recognition Rate OTSU 0.005500s 90% Genetic algorithm use in threshold 0.020440s Bimodal histogram 0.004540s 80% Niblack(Window size is 5) 0.164254s

Experiment Results In the same programming environment used for the time to determine the rotation angle. As opposed to 0.104890s in general Hough transform and 0.002622s in hollowing algorithm, the time used in algorithm in this paper time 0.000427s, shortened by 245 times and 6.14 times.

Conclusion In the rotation process, the QR code symbol was extracted and the surrounding noise information can be effectively eliminated. In terms of the geometric correction, not using Hough transform, but using the coordinates of known points to infer the fourth vertex of QR code, and this method reduces the time complexity. In terms of image normalization, using the principle of image scaling to reduce the error caused by average means.