A QR Code Image Recognition Method for an Embedded Access Control System Zhe DONG 1, Feng PAN 1,*, Chao PAN 2, and Bo-yang XING 1

Similar documents
An Effective Method for Removing Scratches and Restoring Low -Quality QR Code Images

An Improved Bernsen Algorithm Approaches For License Plate Recognition

IMAGE TYPE WATER METER CHARACTER RECOGNITION BASED ON EMBEDDED DSP

A Method of Multi-License Plate Location in Road Bayonet Image

Research on the Face Image Detection in Coal Mine Environment

INDIAN VEHICLE LICENSE PLATE EXTRACTION AND SEGMENTATION

VEHICLE LICENSE PLATE DETECTION ALGORITHM BASED ON STATISTICAL CHARACTERISTICS IN HSI COLOR MODEL

Automatic Licenses Plate Recognition System

A Chinese License Plate Recognition System

Study & Analysis the BER & SNR in the result of modulation mechanism of QR code

Automated Number Plate Verification System based on Video Analytics

A new seal verification for Chinese color seal

An Evaluation of Automatic License Plate Recognition Vikas Kotagyale, Prof.S.D.Joshi

An Approach for Reconstructed Color Image Segmentation using Edge Detection and Threshold Methods

Effect of light intensity on Epinephelus malabaricus s image processing Su Xu 1,a, Kezhi Xing 1,2,*, Yunchen Tian 3,* and Guoqiang Ma 3

Keyword: Morphological operation, template matching, license plate localization, character recognition.

Open Access The Application of Digital Image Processing Method in Range Finding by Camera

MAV-ID card processing using camera images

Face Detection System on Ada boost Algorithm Using Haar Classifiers

International Conference on Computer, Communication, Control and Information Technology (C 3 IT 2009) Paper Code: DSIP-024

Libyan Licenses Plate Recognition Using Template Matching Method

Computing for Engineers in Python

Color Image Segmentation in RGB Color Space Based on Color Saliency

CCD Automatic Gain Algorithm Design of Noncontact Measurement System Based on High-speed Circuit Breaker

The Research of the Lane Detection Algorithm Base on Vision Sensor

Digital Image Sharing and Removing the Transmission Risk Problem by Using the Diverse Image Media

Student Attendance Monitoring System Via Face Detection and Recognition System

International Journal of Advanced Research in Computer Science and Software Engineering

Reversible data hiding based on histogram modification using S-type and Hilbert curve scanning

Research of an Algorithm on Face Detection

Real Time Word to Picture Translation for Chinese Restaurant Menus

Lane Detection in Automotive

Displacement Measurement of Burr Arch-Truss Under Dynamic Loading Based on Image Processing Technology

KEYWORDS Cell Segmentation, Image Segmentation, Axons, Image Processing, Adaptive Thresholding, Watershed, Matlab, Morphological

DEPENDENCE OF THE PARAMETERS OF DIGITAL IMAGE NOISE MODEL ON ISO NUMBER, TEMPERATURE AND SHUTTER TIME.

An Improved Adaptive Median Filter for Image Denoising

Integrated Digital System for Yarn Surface Quality Evaluation using Computer Vision and Artificial Intelligence

AUTOMATIC NUMBER PLATE DETECTION USING IMAGE PROCESSING AND PAYMENT AT TOLL PLAZA

A tight framelet algorithm for color image de-noising

Automated Number Plate Recognition System Using Machine learning algorithms (Kstar)

Survey on Impulse Noise Suppression Techniques for Digital Images

Research on Picking Goods in Warehouse Using Grab Picking Robots

[Mohindra, 2(7): July, 2013] ISSN: Impact Factor: 1.852

Image Extraction using Image Mining Technique

Extraction of Gear Fault Feature Based on the Envelope and Time-Frequency Image of S Transformation

IJRASET 2015: All Rights are Reserved

License Plate Localisation based on Morphological Operations

Face Recognition System Based on Infrared Image

Proposed Method for Off-line Signature Recognition and Verification using Neural Network

VARIOUS METHODS IN DIGITAL IMAGE PROCESSING. S.Selvaragini 1, E.Venkatesan 2. BIST, BIHER,Bharath University, Chennai-73

Malaysian Car Number Plate Detection System Based on Template Matching and Colour Information

A Novel Algorithm for Hand Vein Recognition Based on Wavelet Decomposition and Mean Absolute Deviation

Image Enhancement System Based on Improved Dark Channel Prior Chang Liu1, a, Jun Zhu1,band Xiaojun Peng1,c

The Key Information Technology of Soybean Disease Diagnosis

Image Forgery Detection Using Svm Classifier

PHASE PRESERVING DENOISING AND BINARIZATION OF ANCIENT DOCUMENT IMAGE

An Engraving Character Recognition System Based on Machine Vision

Simulation Analysis of Control System in an Innovative Magnetically-Saturated Controllable Reactor

Removal of Gaussian noise on the image edges using the Prewitt operator and threshold function technical

Image Measurement of Roller Chain Board Based on CCD Qingmin Liu 1,a, Zhikui Liu 1,b, Qionghong Lei 2,c and Kui Zhang 1,d

Underwater Image Processing For Object Detection

UM-Based Image Enhancement in Low-Light Situations

Image Enhancement using Histogram Equalization and Spatial Filtering

Note to Coin Exchanger

VLSI Implementation of Impulse Noise Suppression in Images

Method Of Defogging Image Based On the Sky Area Separation Yanhai Wu1,a, Kang1 Chen, Jing1 Zhang, Lihua Pang1

Research on Pupil Segmentation and Localization in Micro Operation Hu BinLiang1, a, Chen GuoLiang2, b, Ma Hui2, c

The Study on the Image Thresholding Segmentation Algorithm. Yue Liu, Jia-mei Xue *, Hua Li

Intelligent Identification System Research

An Image Processing Method to Convert RGB Image into Binary

FACE RECOGNITION BY PIXEL INTENSITY

Vision System for a Robot Guide System

Identification of Fake Currency Based on HSV Feature Extraction of Currency Note

Method to acquire regions of fruit, branch and leaf from image of red apple in orchard

Camera Based EAN-13 Barcode Verification with Hough Transform and Sub-Pixel Edge Detection

PLC BASED CHANGE DISPENSING VENDING MACHINE USING IMAGE PROCESSING TECHNIQUE FOR IDENTIFYING AND VERIFYING CURRENCY

Digital Image Processing

Locating the Query Block in a Source Document Image

Touchless Fingerprint Recognization System

A Fast Algorithm of Extracting Rail Profile Base on the Structured Light

Implementation of Barcode Localization Technique using Morphological Operations

Performance Evaluation of Edge Detection Techniques for Square Pixel and Hexagon Pixel images

Laser Printer Source Forensics for Arbitrary Chinese Characters

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP ( 1

IJSRD - International Journal for Scientific Research & Development Vol. 4, Issue 05, 2016 ISSN (online):

Preprocessing and Segregating Offline Gujarati Handwritten Datasheet for Character Recognition

International Journal of Innovative Research in Engineering Science and Technology APRIL 2018 ISSN X

Matlab Based Vehicle Number Plate Recognition

International Journal of Advance Engineering and Research Development

Contrast Enhancement using Improved Adaptive Gamma Correction With Weighting Distribution Technique

Auto-tagging The Facebook

Detection of License Plates of Vehicles

Contrast adaptive binarization of low quality document images

RESEARCH AND DEVELOPMENT OF DSP-BASED FACE RECOGNITION SYSTEM FOR ROBOTIC REHABILITATION NURSING BEDS

Implementation of License Plate Recognition System in ARM Cortex A8 Board

Processing and Enhancement of Palm Vein Image in Vein Pattern Recognition System

Exhaustive Study of Median filter

Iris based Human Identification using Median and Gaussian Filter

Performance Evaluation of Segmentation Based on RGB Color Model

Number Plate Recognition Using Segmentation

Transcription:

2016 International Conference on Mathematical, Computational and Statistical Sciences and Engineering (MCSSE 2016) ISBN: 978-1-60595-396-0 A QR Code Image Recognition Method for an Embedded Access Control System Zhe DONG 1, Feng PAN 1,*, Chao PAN 2, and Bo-yang XING 1 1 School of Automation, Beijing Institute of Technology, Beijing, 100081, P. R. China 2 Kunming Institute of Physics, Kunming, 650000, P. R. China *Corresponding author Keywords: QR code, Image preprocessing, Embedded, Access control system. Abstract. As an important identity authentication for monitoring human ingress and egress, the embedded access control system requires more convenient and accurate implement. The traditional access key cannot meet the new requirement for temporary visitors. Therefore, an embedded access control system with QR (Quick Response) code recognition as a digital key is proposed in this research. Moreover, the preprocessing image method for QR code picture is improved in terms of accuracy. The Filtering-Binarization-Filtering procedure is used to deal with the crude QR snapshot under uneven illumination conditions. As shown in the comparison with other classic methods, the results in the experiment demonstrates the good performance and efficiency of the proposed method. Introduction For the sake of the security of restricted facilities, an efficient access control system is required to verify the authentication of personnel and visitors [1]. In order for a system to function more rapidly and accurately, there is a need to provide an easy and reliable access key for those temporary visitors to get the ingress without undue delays, while keep facility secure at the same time. QR(Quick Response) code, which was invented in 1994 by a company named Denso[2] and approved as an ISO international standard in 2000[3], has been adopted and developed widely in various applications in Asia based on the camera on mobile phones and other intelligent terminals. With the characteristics of higher capacity and higher density than other two-dimensional matrix symbols, QR code could be a useful digital key for access control system. There are many advantages of QR code as an authentication of access control system, such as low cost, simple operation process and safety. However, the original QR code images are difficult to identify sometimes because of various shoot conditions, such as skew projection, scratches, low contradistinction, highlight spots, non-homogeneous lighting and other various mixed conditions [4]. Thus, the recognition methods of QR code image is highly concerned by many researchers. Based on the discipline of basic image processing, the general recognition steps of a QR code picture include gray conversion, binarization, filtering, orientation, error correction and decoding [5]. Zou Xiong et al. [6] adopted the first binarization and then filtering sequence to save the image preprocessing time, however, the important message might be missing. Homkajorn et al. [7] introduced an advance technique on removing scratch or damage on QR code. Liang et al.[8] proposed a capable real-time algorithm for mobile use, while the recognition rate in complex lighting conditions didn t perform well. Ohbuchi et al. [9] introduced barcode readers using the camera device in mobile phones, but the proposed method relied on two specific conditions which are not realistic assumption in usual environment. Okazaki et al. [10] presented implications for the effective use of QR code in different media which gave a benchmark for utilizing QR code. This research, with a particular focus on the authentication of access control system, aims to improve the accuracy of the QR code image recognition methods. Section 2 models the scheme of an embedded access control system so that it pictures the importance of the image recognition method of QR code. Section 3 details the steps of a proposed image recognition method with better 221

accuracy performances. In Section 4, sample sets of QR code images are used to evaluate the performance of the proposed method by comparing its results with those obtained from the classic approaches. Main conclusions of this paper are drawn in Section 5. System Scheme In this section, the general scheme of the access control system is depicted and an embedded hardware architecture, as one of the essential implement of whole system, is proposed to support software development. For security reasons, temporary visitor seeking entry to restricted facilities is tightly controlled. Issuing access passes and maintaining a database of identification information are essential functions for an access control system or apparatus to monitor and control ingress and egress. Without loss of generality, Figure 1 shows an access control system scheme with the function of camera snapshot input, data storage and information verification. QR Code Input Decoding Process Match the Password? Yes Open the Lock No Information Storage Error Notification Figure 1. The scheme of access control system. The design and development of an embedded access control system usually include two parts, hardware and software. To begin with, our hardware architecture of the system is shown in Figure 2. The embedded architecture proposed in this research contains a USB camera for QR code collection, a NanoPi2 [11] for image processing, an electromagnetic lock core and a web-based information system. QR code image production Personal Computer QR Code Image Collection Using USB Camera Image Processing Using NanoPi2 Web-based Information System and Database Electromagnetic Lock Core Figure 2. The proposed embedded hardware architecture. As for software, the QR code image processing procedure of such a system generally involves two key issues. The first one is the preprocessing of QR code image recognition, which aims to identify the snapshot accurately for next steps and will be our research focus in this paper. The second issue is the orientation and decoding process of the QR code, which already has some available and efficient implement tools. The QR Code Image Recognition Algorithm In this section, a preprocessing procedure is proposed to improve the accuracy of QR code recognition under the circumstance of low contrast and uneven illumination. The preprocessing of QR code image recognition generally includes gray conversion, binarization and filtering procedures. In addition, it requires special techniques to deal with the edge detection and grids generating for QR code during the image recognition. In our embedded access control system, the captured snapshot by USB camera are usually in RGB 24bit format, however, the QR code symbol is a set of light and dark pixels. Therefore, there is a need to turn into a black-white image without color firstly. 222

Secondly, due to the complex imaging conditions and uneven illumination, the noise of the QR code picture is inevitable. Filtering and binarization are the next procedure before decoding and displaying the results. In order to obtain a binary image, the important factor is to determine the threshold method. The global threshold method which is adopted by Otsu[12] is not suitable for variable lighting conditions, while the local threshold method[5] costs amount of calculation. Our method focuses on the uneven illumination conditions and tries to improve the accuracy of image recognition. The proposed procedure is in Table 1. Table 1. Filtering-Binarization-Filtering (FBF) Procedure. Algorithm Filtering-Binarization-Filtering (FBF) Procedure Input: QR code figure with noise : QR code ready for orientation 1 Gray Conversion: Obtain a black-white image with gray value w [13] w C R C G C B, where C 0.299, C 0.587, C 0.114 r g b r g b 2 Median Filtering: Considering the low contrast or small code area of original QR image, the sobel operator [14] is used to enhance the edge. Then find the middle value of corresponding gray pixel of each filtering window by sorting. 3 Binarization: Calculating the threshold of each pixel txy (, ) t( x, y) 0.5 (max f ( x m, y n) min f ( x m, y n)) ; t m t, t n t. Then turn each pixel ( xyinto, ) binary txy (, ). 4 Mean Filtering: As a linear filter, it is used for smoothing the binary image for better recognition. Evaluation and Discussion Table 2. Results of different image recognition methods. No. Method (low contrast) (over-exposure) (uneven) 1 Original QR code image 2 Obtus Gaussian Laplace Filter 3 Gaussian Laplace Filter - Obtus 4 Gaussian Filter - Bernsen 5 Median Filter Bernsen 223

6 The Proposed FBF method This section describes the testing results for the evaluation of the proposed FBF method. Several sets of QR code examples are used to demonstrate the performance of the image recognition methods. The results of Bernsen[15] method, Otsu method and other classic method are used for comparison with the proposed method. Applying these methods mentioned above, the results are shown in Table 2. The QR code image under different light conditions, such as low contrast, over-exposure image and uneven illumination are listed in the Table 1. The Obtus method is used as a binarization and then Gaussian Laplace Filter is applied to get a set of results, which shows that it is not suitable for QR code image recognition. Moreover, the Gaussian Filter and Median Filter are used with Bernsen method. These methods can recognize the low contrast and over-exposure image, however, it has some difficult to deal with the sample of uneven illumination condition. Our proposed method show better performance in all QR code samples, especially in uneven ones. The variance value and pixel percent of uneven samples are shown in Figure 3. The orange line in Figure 3 demonstrates the Gaussian Filter - Bernsen method and blue one shows the proposed FBF method. Due to the edge operator, the enhanced-edge has obvious advantages of the results. The blue line shows less information missing and less noise in the proposed procedure. Conclusion (a)variance value (b) Pixel percent Figure 3. Difference betweengaussian Filter - Bernsen method and proposed method. In this paper, the scheme of an embedded access control system is outlined and a Filtering-Binarization-Filtering method is proposed to deal with the QR code image recognition processing, especially the picture under uneven illumination condition. The proposed method has better performance to enhance the edge and the second filter after the binary image is used to smooth the result for better recognition. The experiments are conducted to compare the proposed method with classic method to evaluate the efficiency of the proposed one. It is shown that the proposed method achieves improved performance in terms of accuracy and can be utilized for the embedded access control system. Reference [1] Zagami, Anthony. "Access control system." U.S. Patent No. 6,394,356. 28 May 2002. [2] http://www.qrcode.com [3] ISO/IEC 18004: 2000. Information technology-automatic identification and data capture techniques-bar code Symbol-QR code, 2000. [4] Bow, Sing T., ed. Pattern recognition and image preprocessing. CRC Press, 2002. 224

[5] Liu, Yue, Ju Yang, and Mingjun Liu. "Recognition of QR code with mobile phones." 2008 Chinese Control and Decision Conference. IEEE, 2008. [6] Zou Xiong, Guo-dong Liu, and Jian-min Wang. "Study on the sequence of steps in the QR code image preprocessing." Future Computer and Communication (ICFCC), 2010 2nd International Conference on. Vol. 3. IEEE, 2010. [7] Homkajorn, Kamon, Mahasak Ketcham, and Sartid Vongpradhip. "A technique to remove scratches from QR code images." International Conference on Computer and Communication Technologies. 2012. [8] Liang, Ying-Hong, et al. "Real time recognition of 2D bar codes in complex image conditions." 2007 International Conference on Machine Learning and Cybernetics. Vol. 3. IEEE, 2007. [9] Ohbuchi, Eisaku, Hiroshi Hanaizumi, and Lim Ah Hock. "Barcode readers using the camera device in mobile phones." Cyberworlds, 2004 International Conference on. IEEE, 2004. [10] Okazaki, Shintaro, Hairong Li, and Morikazu Hirose. "Benchmarking the use of QR code in mobile promotion." Journal of Advertising Research 52.1 (2012): 102-117. [11] http://wiki.friendlyarm.com/wiki/index.php/nanopi_2/zh [12] Otsu, Nobuyuki. "A threshold selection method from gray-level histograms."automatica 11.285-296 (1975): 23-27. [13] Kumar, Tarun, and Karun Verma. "A Theory Based on Conversion of RGB image to Gray image." International Journal of Computer Applications 7.2 (2010): 7-10. [14] Gonzalez, Rafael C., and Richard E. Woods. "Digital image processing." Nueva Jersey (2008). [15] Bernsen, John. "Dynamic thresholding of grey-level images." International conference on pattern recognition. Vol. 2. 1986. 225