The Design and Implemention of QR Code Decoding System
- Author
- YuWeiKe
- Advisor
- LiFuHai
- School
- Hunan University
- Major
- Electronic Science and Technology
- Classification
- TP391.44 Optical pattern recognition devices
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 107
- Citations
- 0
Abstract
The Barcode is a machine-readable representation of data which has been widelyused as an approach for automatic information acquisition. The two-dimensionalbarcode, which contains information in both two directions, is an evolving kind ofbarcode with greater capacity than general one-dimensional code. QR code is onetype of matrix two-dimensional code. Due to its ability to encode Chinese characters,It is popular in China.Barcode identification is an important procedure in barcode application. Theimage based barcode scanner is currently the mainstream of variety scanners. In thispaper, an image-input QR code identification algorithm processing is designed. Thealgorithm restores the original text information by going through two procedures–image processing procedure, and data processing procedure. The image processingprocedure includes image pre-processing, QR code detection, correction andsampling. And data processing procedure includes data partition, error correction anddata decoding.As to QR code detection algorithm,3methods are used in this paper. Firstly, thecommon used method which is based on the finder pattern detection is discussed.Then two other methods based on gradient and contour features of QR code areproposed. In the end of the section, the comparison of the3methods is done. And inthe aspect of error correction algorithm, the Reed-Solomon encoding theory isdiscussed, and the decoding method and steps are introduced and implemented.The QR code identification algorithm is then implemented on an embeddedplatform with digital signal processor ADSP-BF527as the central processing unit.The system captures the image through a gray-level digital camera, detect and decodethe QR code from the image, and send the original image and text result of QR codeto PC by Ethernet interface. In this paper, both the hardware and software areintroduced. The system frame and platform are discussed, and the camera, ethernetinterface are designed. And the software of the system is combined of severalsperated modules, including the QR identification algorithm, the camera and EthernetMAC drivers, the UDP protocol stack, and the library for general image processing.Lastly, the software in PC to receive and display the image and result isimplemented for system test. The system is robust to polluted QR code, unevenillumination, blurred image, or slightly distorted, etc. The test result shows the qualified performance of the system, and proves the algorithm to be effective.
Table of contents
Abstract 5-6
Abstract 6-10
Chapter 1 Introduction 10-16
1.1 Introduction 10-11
1.2 QR code Overview 11-12
1.3 Research Status 12-13
1.4 thesis objectives and research 13-14
1.5 papers structure 14-16
Chapter 2 QR code positioning and correction algorithms 16-44
2.1 image preprocessing 16-22
2.1.1 image filtering 16-17
2.1.2 morphology image processing 17-19
2.1.3 binary image 19-21
2.1.4 image gradient map and non- maxima suppression 21-22
2.2 QR code positioning 22-38
2.2.1 proportional position detection graphic feature location 23-26
2.2.2 QR code gradient and profile feature location 26-33
2.2.3 position detection patterns combined with contour feature location 33-37
Compare nbsp 2.2.4 QR code positioning method ; 37-38
2.3 QR code correction 38-43
2.3.1 perspective transformation 39-40 <br / > 2.3.2 strike a transformation matrix 40-41
2.3.3 spatial transform 41
2.3.4 grayscale interpolation 41-43
2.4 Chapter Summary 43-44
Chapter 3 QR code codec algorithm 44-58
3.1 QR code error correction coding and decoding 45- 55
3.1.1 related to mathematical knowledge 45-51
3.1.2 linear block code 51
3.1.3 Reed-solomon coding principle error detection 51-53
3.1.4 QR code with error correction 53-55
3.2 QR code data encoding and decoding 55-57
3.2 .1 digital mode 56
3.2.2 8 byte mode 56-57
3.2.3 mixed mode 57
3.3 Summary 57-58
Chapter 4 of hardware platforms and software 58-69
4.1 hardware platform and interface 58-63
4.1.1 hardware Platform Select 58
4.1.2 camera interface 58-61
4.1.3 Ethernet interface 61-63
4.2 system software 63-68
4.2.1 software process 63
4.2.2 software architecture and modules 63-64
4.2.3 network protocol stack 64-68
4.3 Chapter Summary 68-69
Chapter 5 test results and analysis 69-72
5.1 PC -side image receiving program to achieve 69-70
5.2 QR code placement test and results 70-71
5.3 QR code correction test and results 71-72
Conclusion and Outlook 72-74
references 74-77
Thanks 77-78
published in Appendix a master's degree thesis during 78
Related dissertations
- Research and application of QR code recognition
- Design of Real Name Ticket System Based on Android Platform
- Study on coding and image processing of two-dimensional bar code technology based on QR code
- Study on Recognition of Two Dimensional Bar Code of Key Technologies
- Research on Recognition and Application for 2D Barcode
- Research and Application of Matrix Quick QR Code
- 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