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

Request the full text

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

  1. Research and application of QR code recognition
  2. Design of Real Name Ticket System Based on Android Platform
    WuZuo ·East China Jiaotong University ·2013 ·Master's thesis
  3. Study on coding and image processing of two-dimensional bar code technology based on QR code
  4. Study on Recognition of Two Dimensional Bar Code of Key Technologies
    MaLing ·North China University of Technology ·2012 ·Master's thesis
  5. Research on Recognition and Application for 2D Barcode
  6. Research and Application of Matrix Quick QR Code
  7. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  8. Remote Monitoring System Using in Smart Home
  9. The Research on Fire-fighting Based on Image Processing in Large Space
    XuTieBing ·East China Jiaotong University ·2013 ·Master's thesis
  10. Surface Defect Detection Based on Laser Scanning Technology for Continuous Casting Slab
    Yang ·Zhejiang University of Technology ·2012 ·Master's thesis
  11. Design and Research on Micro-displacement Measurement System for PZT Actuated HGA
    LiuChaoQing ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Measurement of Human Breath Based on Ordinary Camera
    DingHe ·Tianjin University ·2012 ·Master's thesis
  13. The Construction Research of Surface Defects Inspecting System for Small Pipes
    HanWenQiang ·Tianjin University ·2012 ·Master's thesis
  14. High-precision Surface Defect Detection Based on Laser Triangulation Method
  15. The Flame Temperature Detection of Stirling Engine Combustor Based RAW Format Data
  16. Research on the System of High Temperature Field Measurement of Melt Surface Based on CCD Image Sensor
  17. Design and Implementation of Information Acquisition System for Industry Field
    WangChongXiang ·Dalian University of Technology ·2013 ·Master's thesis
  18. Design of Data Processing of2D Shape Detection Based on FPGA
  19. Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
    SuKaiZuo ·Zhejiang University ·2014 ·Master's thesis
  20. Research on On-Line Detection Technology for Industrial Robot Based on Binocular Vision