Research and Application of Embedded Two Dimensional Bar Code Recognition Technology
- Author
- YaoLinChang
- Advisor
- LiYing
- School
- Jiangnan University
- Major
- Detection Technology and Automation
- Classification
- TP391.44 Optical pattern recognition devices
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 68
- Citations
- 0
- two dimensional barcode
- barcode recognition
- environmental background
- barcodepositioning
- Machine Vision
Abstract
At present, the three standard international trade methods are: bar code, Electronic DataInterchange, container. Bar code technology has been widely used in transportation, retail,manufacturing industry, tele-communication systems and so on because of such advantages as itshigh input speed, accuracy, reliability and stability, strong practicality, low cost and easyaccessibility. In addition, bar code has been employed in the library management, asset managementand tracking, bank notes, company file management and official document management ofgovernment authorities. So far, China is still in the phase of developing country, it is of greatsignificance to develop such economical recognition equipments which greatly facilitate thedomestic dimensional barcode technology and industry development.In order to meet the industrial assembly requirement of barcode recognition, the authors firstdesigns the relatively general two-dimensional barcode recognition system including externalhardware and software architecture. Then the author makes explanations on each section withemphases on the research on the recognition software and establishing the overall consciousness forrecognition.In order to carry out the software research, this article focuses on the specific two-dimensionalbarcode—the study on the reading algorithm with Data Matrix. In as for the preprocessing oftwo-dimensional barcode’s image, the article makes a contrast among such common methods asgray, filtering de-noising and two value binary. According to the comparison results, the mostsuitable way to preprocess the Data Matrix’s image is median filter of the3*3template and theOSTU binary.In order to strengthen the versatility with algorithm, this paper designs two recognitionmethods according to the different backgrounds of Data Matrix. As for the simple background ofData Matrix, after the preprocessing including the gray, gray stretch and3*3median filtering, wecan make edge detection through Roberts operator, after getting the image edge, we can makeregional mark with the eight adjacent domain recursive method. Furthermore, using the outline ofData Matrix for rectangular characteristics, combining the regional area, shape parameters, we canextract the rough region of barcode through designed unique barcode thick localization algorithm.According to the positioning graphics’ L shape characteristics of Data Matrix barcode, we cantransform the two-dimensional border into a curve with its distance as angle and then define theangle and regional coordinates of barcode. This boundary marker is the first application into theposition of barcode, which has certain academic value.At the same time, we also design the two-dimensional barcode recognition algorithm concerning the complicated background. After the gray transformation and two-value binary, wecan not only remove partial noise of the image but also rule out many barcode interference regionsthrough applying the3*3template into the mathematical morphology processing of images. As forthe coarse positioning of barcode, we adopt the position method applied in simple background toextract the regions of barcode. However, considering that there are more disturbances in complexbackground, we employ the fine position method using Hough to transform the longest, two verticalstraight lines detection to determine the angle and position of barcode, which can achieve thepurpose to remove the disturbance regions.In order to improve the accuracy of the data collection, this paper also employ the gray curvebased on barcode to determine the positioning graphics. After the acquisition of barcode’s generallocation, we use the least the score line and column as a goal line and list after reverse sent betweenthe first four gray-scales respectively with four columns, and then draw gray curve regarding thegoal line and all of the data. Peak curve corresponding black data module center, peak and valleycorresponding white data module center, we can obtain the positions of peak and peak valleythrough a grayscale curve. At last, we can extract the data of two-value image according to thebinary image grid methods of the positions. This method is accurate and fast with low error rate,which is very helpful in the speed of the algorithm.The current subject adopts an engineering idea: first determining the overall scheme and thenusing Matlab simulation platform to carry out the simulations. Regarding the barcode recognitiontest of barcode images with the pixel as640*480, we obtain that the positioning time is0.26s andthe positioning rate is98.9%in the simple background. Through the experiments, we effectivelyverify the accuracy, practicability and reliability of the original algorithm. Meanwhile, thepositioning rate of bar code in the complicated background is more than98%and the recognitionrate is above98.5%, which can satisfy the industrial assembly requirements of two-dimensionalbarcode recognition.
Table of contents
Summary 3-5
Abstract 5-9
first chapter 9-19
1.1 research background 9-10 1.2 Status dimensional bar code research
, application and task significance and innovation research status 10-16
1.2.1 -dimensional bar code 10-11
1.2. 2 -dimensional bar code applications 11-14
1.2.3 barcode classification 14-15
1.2.4 task significance and innovation 15-16
1.3 barcode recognition technology overall system 16-17
1.3.1 image Acquisition 16
1.3.2 image preprocessing 16 <br / > 1.3.3 barcode positioning 16-17
1.3.4 barcode decoding work and research 17
1.4 of this paper 17-19
Chapter two dimensional bar code image preprocessing 19-31
2.1 graying 19
2.2 filtering noise 19-22
2.2. median a filter 19-21
2.2.2 Gaussian filter 21
2.2.3 mean filtering 21-22
2.3 binary 22-30
2.3.1 histogram Method 23-24
2.3.2 maximum between-class variance method 24-25
2.3.3 improved threshold method 25-30
2.4 Summary 30-31
Chapter dimensional bar code positioning 31-55
3.1 Data Matrix barcode symbols introduced 31-32
3.2 Data Matrix barcode region extraction 32-33
3.3 simple environmental background barcode positioning 33-40
3.3.1 simple environmental background barcode positioning principle 33-37
3.3.2 simple barcode positioning to achieve environmental background 37-40
3.4 complex environmental background barcode positioning 40-51
3.4.1 complex environmental background barcode positioning principle 40-45
3.4.2 complex environmental background barcode positioning achieve 45-51
3.5 barcode image geometric correction 51-52
3.5.1 rotation angle 51
3.5.2 image geometric correction 51-52
3.6 Summary 52 decoding -55
Chapter IV -D barcode 55-67
4.1 barcode data area to get binary data 55-57
4.2 extraction and correct code word stream wrong 57-63
4.2.1 codeword stream extraction 57-59
4.2.2 error correction code word stream 59-63
4.3 codeword stream decoding 63-65
4.3.1 Data Matrix coding rules 63
4.3.2 Data Matrix code word stream decoding 63-65
4.4 Summary 65-67
Chapter barcode recognition based on machine vision 67-73
5.1 vision Platform Introduction 67 <br / > 5.2 A simple background barcode verification 67-69
5.2.1 positioning rate test 67-68
5.2.2 real-time test 68-69
5.3 barcode complex background verification 69-71
5.3.1 positioning rate test 69-70
5.3.2 recognition rate test 70-71
5.4 summary 71-73
Chapter VI summary and Outlook 73-75
6.1 summarizes 73
6.2 Prospects 73-75
Thanks 75-77
References 77-81
Appendix: the authors of papers published during the master's degree and participation in projects 81
Related dissertations
- Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
- The Construction Research of Surface Defects Inspecting System for Small Pipes
- Research on Surface Defects Visual Inspection System for Metal Components
- Special Welding Robot Control and Related Visual Function Studies
- Study on Information Acquisition and Vision Servo Control Method for Agricultural Robot in Natural Environment
- Development and Application of the Omni-Directional Tilt Sensor Base on Machine Vision
- Research of the Absolute Angular Position Sensor Based on Machine Vision
- Research about the Accuracy of Interaction Based on Machine Vision in Gesture Interaction
- Research and Application of Subpixel Edge Detection in Machine Vision
- Research on Obstacle Avoidance Smart Car Sytem Based on Machine Vision
- Research on Defect Detection of Printed Matter Based on Image Processing
- Lane Departure Warning System Design Based on the FPGA
- Aircraft Skin Damage Detection Based on the Information Fusion of Machine Vision and Ultrasonic Sensor
- Research on Image Matching for IC Packaging Equipment
- Research on Algorithms of Glass Bottles On-line Inspection Based on Machine Vision and System Implementation
- Research on Technology of Machine Vision Inspection and Locating for IC Manufacturing Equipment
- Aircraft Skin Damage Detection and Life Cycle Analysis Method Based on Machine Vision
- Research on Mobile Phone Lens Sorting System Based on Machine Vision
- Research on Tool Wear Monitoring Based on Machine Vision in NC Milling Process
- Research on Steel Surface Defect Inspection System Based on Computer Vision