Research on Recognition of QR Codes Based on Image Processing
- Author
- ZhouJieJing
- Advisor
- LiuYunFei
- School
- Nanjing Forestry University
- Major
- Measuring Technology and Instruments
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 88
- Citations
- 0
Abstract
The QR code (Quick Response Code) is a two-dimensional barcode widely used as part of daily life due to its good featured such as large capacity, high reliability, all-direction high speed scan, small printout size and effective Chinese characters expression. General QR code reading software can not correctly decode QR codes due to the image problems such as uneven illumination, tilt angles and distorted surfaces.In this paper, the pretreatment technology of QR code recognition has been studied base on the fundamental principles of image processing. Three new methods are proposed to improve the accuracy of QR code decoding when dealing with the image problems such as uneven illumination, perspective distortion and curved surface distortion.Firstly, the QR code binarization algorithm in uneven lighting conditions is proposed. Sauvola’s adaptive document image binarization algorithm is modified according to the features of QR code symbols and the relative parameters are given.Secondly, a distortion correction algorithm is proposed to correct the perspective distorted QR code images taken by mobile phones adaptively. At first, the QR code image is filtered. Then, the gradient-based Hough transform is modified to calculate the adaptive parameters. The eight longest lines are calculated and the contour lines of QR code symbol are detected. After that, the four vertices of QR code are obtained. At last, the inverse perspective transformation and gray level interpolation are performed to correct the distorted QR code image.Thirdly, a correction algorithm for the QR images printed on the curved objects is proposed based on the finite element shape function. The minimum bounding rectangle of the QR code symbol is used as the correction reference. With the four vertices and the four mid-points of contour lines of QR code symbol, the Pascal’s triangle shape function is performed to transform the distorted image into a standard rectangular relatively. At last, image re-sampling is performed to reconstruct the QR code image into a standard one.Finally, the decoding software for the standard QR code symbol is achieved according to the C++language after the national standard decoding algorithm is improved.
Table of contents
Acknowledgements 3-4
Summary 4-5
Abstract 5-8
first chapter 8-16 <br / > 1.1 Background and Significance 8
1.2 the research and development status 8-14
1.2.1 Research and development at home and abroad 8-10
1.2.1.1 dimensional code basic theoretical research position 8-10
1.2.1.2 dimensional code development 10
1.2.2 QR code Description 10-13
1.2.3 application areas 13-14
1.3 thesis content 14-15
1.4 papers organizational structure 15-16 < br /> Chapter II Overview of QR code recognition technology 16-23
2.1 QR code image preprocessing technologies 16-21
2.1.1 QR code image gray degree the 16-17 2.1.2 QR code image filtering
17
2.1.3 QR code image binarization 17-19 <br / Edge Detection> 2.1.4 QR code image to 19 2.1.5 QR code image positioning
the 19-20 2.1.6 QR code image rotation correction
20-21
2.1.7 QR code image of split 21
2.2 QR code codeword decoding technology 21-22
2.3 Chapter Summary 22-23
Chapter QR Code image preprocessing technology Algorithm the 23-54
3.1 uneven illumination QR Code image binarization algorithm 23-30
3.1.1 QR code binarization method 23-25 ??
3.1.1.1 global threshold method 24
3.1.1.2 local threshold method 24-25
3.1.2 Adaptive threshold binarization algorithm 25-27
3.1.2.1 Sauvola, adaptive text binarization algorithm 25
3.1.2.2 Improved QR code binary algorithm 25-27
3.1.3 Experimental results 27-30
3.2 QR code image perspective distortion distortion correction algorithm the correction algorithm nbsp 30-44
3.2.1 proposed in this paper; 31-41
3.2.1.1 filtering 32
3.2.1.2 Improved Hough transform the 32-38
3.2.1.3 geometry, spatial transformation 38-40
3.2.1.4 interpolation algorithm 40-41
3.2.2 experimental results 41-44
3.3 QR code image surface distortion correction algorithm 44-52
3.3.1 cylinders scan correction algorithm 44-45 <br / > 3.3.2 This paper proposes the correction algorithm the 45-49
3.3.2.1 Finite Element Analysis the 45-46
3.3.2.2 shape function in finite element 46-48
3.3.2.3 correction algorithm based on the finite element shape functions 48-49
3.3.3 Experimental results 49-52
3.4 Chapter Summary 52-54
Chapter decoding of standard image of the QR code to achieve 54-67
4.1 QR code decoding algorithm 54-64
4.2 the result 64-66
4.3 Chapter Summary 66-67
Chapter Summary and Outlook the 67-68
5.1 summarizes 67
5.2 Looking the 67-68
Reference the papers nbsp Master during the 68-71
studying; 71-72
detailed summary 72-73
Abstract 73-74
Related dissertations
- Study on Recognition of QR Code Image Based on Grayscale Morphology
- The Research on the Quick Response Code Image Preprocessing
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Remote Monitoring System Using in Smart Home
- The Research on Fire-fighting Based on Image Processing in Large Space
- Surface Defect Detection Based on Laser Scanning Technology for Continuous Casting Slab
- Design and Research on Micro-displacement Measurement System for PZT Actuated HGA
- Measurement of Human Breath Based on Ordinary Camera
- The Construction Research of Surface Defects Inspecting System for Small Pipes
- High-precision Surface Defect Detection Based on Laser Triangulation Method
- The Flame Temperature Detection of Stirling Engine Combustor Based RAW Format Data
- Research on the System of High Temperature Field Measurement of Melt Surface Based on CCD Image Sensor
- Design and Implementation of Information Acquisition System for Industry Field
- Design of Data Processing of2D Shape Detection Based on FPGA
- Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
- Research on On-Line Detection Technology for Industrial Robot Based on Binocular Vision
- Technology of the AGV Visual Navigation and Path Planning
- AGV car design and development of image recognition and motion control technology based on
- Research and Simulated Implementation of People Statistics System Based on Video Image Processing
- Scale Identification of Milk Liquid Level