Implementation of License Plate Recognition System in ARM Cortex A8 Board

Similar documents
Vehicle License Plate Recognition System Using LoG Operator for Edge Detection and Radon Transform for Slant Correction

Automatic Licenses Plate Recognition System

INDIAN VEHICLE LICENSE PLATE EXTRACTION AND SEGMENTATION

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

World Journal of Engineering Research and Technology WJERT

Matlab Based Vehicle Number Plate Recognition

AUTOMATIC LICENSE PLATE RECOGNITION USING PYTHON

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

Number Plate Recognition System using OCR for Automatic Toll Collection

Vehicle Number Plate Recognition with Bilinear Interpolation and Plotting Horizontal and Vertical Edge Processing Histogram with Sound Signals

MAV-ID card processing using camera images

Smart License Plate Recognition Using Optical Character Recognition Based on the Multicopter

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

Number Plate Recognition Using Segmentation

Nigerian Vehicle License Plate Recognition System using Artificial Neural Network

A Review of Optical Character Recognition System for Recognition of Printed Text

Preprocessing and Segregating Offline Gujarati Handwritten Datasheet for Character Recognition

International Journal of Scientific & Engineering Research, Volume 5, Issue 5, May ISSN

Libyan Licenses Plate Recognition Using Template Matching Method

Line Segmentation and Orientation Algorithm for Automatic Bengali License Plate Localization and Recognition

Iraqi Car License Plate Recognition Using OCR

Automatic License Plate Recognition System using Histogram Graph Algorithm

Automatics Vehicle License Plate Recognition using MATLAB

Volume 7, Issue 5, May 2017

An Improved Bernsen Algorithm Approaches For License Plate Recognition

International Journal of Advance Engineering and Research Development

Detection of License Plates of Vehicles

Automated Number Plate Verification System based on Video Analytics

Automatic Car License Plate Detection System for Odd and Even Series

Real Time ALPR for Vehicle Identification Using Neural Network

License Plate Recognition Using Convolutional Neural Network

ISSN No: International Journal & Magazine of Engineering, Technology, Management and Research

Automated License Plate Recognition for Toll Booth Application

Study and Analysis of various preprocessing approaches to enhance Offline Handwritten Gujarati Numerals for feature extraction

CHARACTERS RECONGNIZATION OF AUTOMOBILE LICENSE PLATES ON THE DIGITAL IMAGE Rajasekhar Junjunuri* 1, Sandeep Kotta 1

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

FPGA based Real-time Automatic Number Plate Recognition System for Modern License Plates in Sri Lanka

Real-Time License Plate Localisation on FPGA

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

Highly Adaptive Indian High Security Vehicle Number Plate Recognition

An Artificial Intelligence System for Monitoring and Security for Vehicular Plate Number in Lyceum of the Philippines University Laguna

Recognition Of Vehicle Number Plate Using MATLAB

AUTOMATIC LICENSE PLATE RECOGNITION USING IMAGE PROCESSING AND NEURAL NETWORK

A Novel Morphological Method for Detection and Recognition of Vehicle License Plates

OCR With Background Image Elimination-A Survey

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

THE PROPOSED IRAQI VEHICLE LICENSE PLATE RECOGNITION SYSTEM BY USING PREWITT EDGE DETECTION ALGORITHM

Image Processing and Particle Analysis for Road Traffic Detection

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

A NOVEL APPROACH FOR CHARACTER RECOGNITION OF VEHICLE NUMBER PLATES USING CLASSIFICATION

A Simple Skew Correction Method of Sudanese License Plate

Automated Parking Management System using Image Processing Techniques

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

Research on Application of Conjoint Neural Networks in Vehicle License Plate Recognition

An Automatic System for Detecting the Vehicle Registration Plate from Video in Foggy and Rainy Environments using Restoration Technique

The Classification of Gun s Type Using Image Recognition Theory

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

AN EXPANDED-HAAR WAVELET TRANSFORM AND MORPHOLOGICAL DEAL BASED APPROACH FOR VEHICLE LICENSE PLATE LOCALIZATION IN INDIAN CONDITIONS

Extraction and Recognition of Text From Digital English Comic Image Using Median Filter

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

Automated Car Number Plate Detection System to detect far number plates Jatinder Singh 1 Vinay Bhardwaj 2

Automatic Number Plate Extraction: A Review

OPEN CV BASED AUTONOMOUS RC-CAR

I. INTRODUCTION.

A comparative study of different feature sets for recognition of handwritten Arabic numerals using a Multi Layer Perceptron

License Plate Localisation based on Morphological Operations

HEURISTICS FOR LICENSE PLATE DETECTION AND EXTRACTION

Automatic Electricity Meter Reading Based on Image Processing

Number Plate Detection with a Multi-Convolutional Neural Network Approach with Optical Character Recognition for Mobile Devices

Exercise questions for Machine vision

A Comprehensive Survey on Kannada Handwritten Character Recognition and Dataset Preparation

COMPARATIVE PERFORMANCE ANALYSIS OF HAND GESTURE RECOGNITION TECHNIQUES

IMAGE TYPE WATER METER CHARACTER RECOGNITION BASED ON EMBEDDED DSP

Wheeler-Classified Vehicle Detection System using CCTV Cameras

Combined Approach for Face Detection, Eye Region Detection and Eye State Analysis- Extended Paper

Lane Detection in Automotive

VEHICLE IDENTIFICATION AND AUTHENTICATION SYSTEM

A Real Time Automatic License Plate Recognition Using Optical Character Recognition

Addis Ababa University School of Graduate Studies Addis Ababa Institute of Technology

Efficient Car License Plate Detection and Recognition by Using Vertical Edge Based Method

An Efficient Method for Vehicle License Plate Detection in Complex Scenes

Face Detection System on Ada boost Algorithm Using Haar Classifiers

Student: Nizar Cherkaoui. Advisor: Dr. Chia-Ling Tsai (Computer Science Dept.) Advisor: Dr. Eric Muller (Biology Dept.)

EE 5359 MULTIMEDIA PROCESSING. Vehicle License Plate Detection Algorithm Based on Statistical Characteristics in HSI Color Model

Fig.1: Sample license plate images[13] A typical LPR system is composed of several hardware and software components as illustrated in Figure 2

RESEARCH PAPER FOR ARBITRARY ORIENTED TEAM TEXT DETECTION IN VIDEO IMAGES USING CONNECTED COMPONENT ANALYSIS

A Training Based Approach for Vehicle Plate Recognition (VPR)

Localization of License Plates from Surveillance Camera Images: A Color Feature Based ANN Approach

A Smart Technique for Accurate Identification of Vehicle Number Plate Using MATLAB and Raspberry Pi 2

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

Traffic Sign Recognition Senior Project Final Report

Optical Character Recognition for Hindi

Colored Rubber Stamp Removal from Document Images

Morphological Image Processing Approach of Vehicle Detection for Real-Time Traffic Analysis

Real Time Word to Picture Translation for Chinese Restaurant Menus

Method for Real Time Text Extraction of Digital Manga Comic

Sri Shakthi Institute of Engg and Technology, Coimbatore, TN, India.

Text Extraction from Images

Cloud Based Real Time Anti Vehicle Theft By Using LP Recognition And OCR Recognition

Keywords ANPR, Acquisition, Character Segmentation, Localization, DWT, Haar wavelet.

Transcription:

www..org 9 Implementation of License Plate Recognition System in ARM Cortex A8 Board S. Uma 1, M.Sharmila 2 1 Assistant Professor, 2 Research Scholar, Department of Electrical and Electronics Engg, College of Engineering, Guindy, Anna University, Chennai, India Abstract Automatic License Plate Recognition (ALPR) is a computer system which automatically recognizes the license plate from the digital image ie. from captured image of vehicle. This system involves various processes such as Image Capturing, Localization of Number Plate, Segmentation of characters and Optical Character Recognition (OCR) of the alphanumeric characters. The main aim of this system is to design and develop an efficient image processing techniques and algorithms for localization of license plate in captured image, segmentation of characters from that license plate and recognition of each characters from the segmented part using Open Computer Vision Library. This system has been implemented in single board computer called Beagle Bone Black with the support of OpenCV and python programming language. Many applications can be developed using this system such as security, highway speed detection, light violation, handwritten text identification, detecting stolen cars, and automated toll collection systems. Keywords: Beagle Bone Black, Localization, OCR, OpenCV, python, Segmentation 1. Introduction Nowadays the usage of cars and other vehicles are keeping on increasing across the country. All those vehicles have their unique vehicle identification number as their primary identifier. This identification number is actually a license number which indicates a legal license to participate in the public traffic. Each and every vehicles in world should have its own number plate that should be mounted onto its body (at least at the back side). The need of vehicle identification has been increasing in parallel to the number of the vehicles. This recognition system helps in the cases of security, automatic switching systems, highway speed detection, light violation, detecting stolen cars, man-free and automotive toll collection systems. Automatic License Plate Recognition system replaces the task of manually typing the license plate number of the passing vehicle into the computer system. To have a proper recognition of a character, License plate recognition system consists of three main topics. They are, finding plate location from digital images, character segmentation from the plate images and Optical character recognition. The most primary and important step is identifying the exact location of license plate in captured image. Localization of license plate can be identified by either shape analysis or color analysis method. In license plate area the unwanted blobs are removed by connected component analysis. Most of plate recognition systems are developed using Matlab and implemented in either computers or laptops. But in this paper an ALPR(Automatic License Plate Recognition) system has been developed using the Open Computer Vision Library and python programming. Instead of computer and laptop, the Beagle Bone Black which is a single-board computer is used for implementation. This single board computer with opencv package has the ability of image processing in an efficient manner. 2. Related Works Research on License Plate Recognition is still challenging one. It involves three main steps. They are number plate area identification, character segmentation and character recognition. For each step various methods have been proposed to improve the efficiency. One such a method [1] used adaptive thresholding for highlighting characters and suppressing background. In order to eliminate undesired image areas, a connected component algorithm is first applied to the binary image converted from original plate. A special algorithm called Image Scissoring is used for segmentation Finally Optical Character Recognition engine called tesseract, which returns the ASCII of the license number. The whole system has implemented using opencv. Another approach [2] is based on the use of feed forward back propagation method to classify the characters. The Artificial Neural Network is trained using the Back Propagation algorithm. The steps in pre-processing involves Size normalization, Binarization and Edge Detection. The horizontal and vertical histogram and connected component analysis are able to handle the character segmentation problem.

www..org 10 [3]Another method in which Character regions are selected through Binarization, connected component analysis. A blob analysis method removes unwanted blobs, combine the fragmented blobs, and splits clumped blobs. This module achieved an accuracy rate of 97.2% in character segmentation. The recognition accuracy rate was 90.9%. [4]presents an approach based on efficient morphological operation and Sobel Edge Detection method. This approach is simplified to segmented all the letters and numbers used in the number plate by using bounding box method. After segmentation template matching approach is used to recognition of numbers and character. This whole system was implemented by using MATLAB [5] explains the overview of the connected component analysis and different processes such as Aspect Ratio analysis and pixel count analysis are discussed. In [6] author studies the comparison of four algorithms are cascade classifier using statistical features, Hough Transform and Contour algorithm, mean shift approach and morphological operations and showed their results. Handwritten text segmentation [7] has been done by Morphological Watershed Algorithm. The noise removal, Slant Correction, Binarization and normalization has been done in preprocessing stage. After segmentation process extraction of segmented image has done by reversible integer to integer wavelet transform. Then classification is done by neural classifier. 3. License Plate Recognition System The series of steps in ALPR system are implemented in Beagle Bone Black as shown in block diagram captured image is in RGB format and this should be converted to gray image 3.2 Preprocessing Preprocessing is the set algorithms applied on the image to enhance the quality through which gray image has been converted into binary image. Before converting into binary image the smoothing of image is done in order to reduce the noises. Preprocessing can be done by thresholding algorithm. There is various type of thresholding such as Global Thresholding Adaptive Mean Thresholding Adaptive Gaussian Thresholding Global Thresholding: Thresholding is a non-linear operation where the two levels are assigned to pixels that are below or above the specified threshold value. Threshold value is fixed. The grayscale image to a binary image conversion is done according to the formula (1) where T(x,y) is a threshold calculated individually for each pixel. Adaptive Mean Thresholding: Threshold value is the mean of neighbourhood area. Adaptive Gaussian Thresholding: threshold value is the weighted sum of neighbourhood values where weights are a Gaussian window. 3.3 Number Plate Localization The license plate is extracted using either shape analysis or color analysis method. In general license plate is in rectangular shape. Hence algorithms look for geometric shapes of rectangular proportion. In India, most of the license plate is in white color or yellow color, hence color analysis can also be used. Before finding the rectangular region in an image, image should be in binary image or edges in an image should be detected. Then relevant rectangular corners have to be found and connected. Finally connected regions are bounded with box and all the rectangular regions of interest are extracted. 3.4 Segmentation 3.1 Input Image From Camera Fig. 1. Block Diagram The number plate of the vehicle is captured from high resolution camera. The accuracy of number plate recognition system depends on captured image. The Once the license plate is extracted each character should be segmented. For segmentation connected component labeling is used in computer vision in order to detect the connected regions in binary digital images. Connected component labeling works by scanning an image, pixel by pixel from top to bottom to find the connectivity of the pixels and the connected pixels are labeled. In 2D images

www..org 11 the pixel connectivity can be varied into 4-connectivity or 8-connectivity[8]. 3.5 Character Recognition For character recognition, segmented characters in license plate should be matched with templates which has already been created. The recognition process returns the license number in ASCII format and saved in text document. In [9] the recognition as a two-pass process. In the first pass, an attempt is made to recognize each word in turn. Each word that is satisfactory is passed to an adaptive classifier as training data. The adaptive classifier then gets a chance to more accurately recognize the text. 4. Experimental Setup and Results The proposed ALPR system has been implemented in Beagle Bone Black board. The board must be either connected to monitor via micro HDMI to VGA cable or connected to laptop via VNC(Virtual Network Connection) connection. This board includes a 2GB on-board emmc flash memory chip. In addition to the emmc, the board can also boot directly from a microsd card. In this system Debian operating system has been booted in Beagle Bone Black board through microsd card. Then Opencv3.1 and python package has also been installed in Debian operating system and hence the image processing techniques can be implemented. The advantage of using OpenCV over MATLAB are effectively reduce the image processing time, free of cost and portability. The license plate recognition system implementation in Beagle Bone Black are explained below. 4.1 Captured Image First step in this system is capturing of vehicle image from the digital camera. Here an image is captured from 2 mega pixel camera. This image will be stored as JPG format on the camera. Then captured image is stored in Beagle Bone Black board. Fig. 2. Captured Imag3 Fig. 3. Global Thresholding In Global thresholding, the threshold value is taken as 127. If the pixel value is below 127, it will be taken to pixel value 0 which is considered to be black. For the pixel value above 127, it will be taken as pixel value 255, which is considered to be white color. 4.2 Preprocessing Output This step converts captured RGB image into a gray scale image. Then the gray image is converted into a binary image by means of adaptive thresholding method. Thresholding is simplest way to segment objects from a background. If background is relatively uniform then global thresholding can be used. For large variation in background intensity adaptive thresholding is used. Fig. 4. Adaptive Mean Thresholding

www..org 12 In Adaptive Mean Thresholding, threshold value is taken as the mean of neighbourhood area. Fig. 7. Identification of license plate region at far distance Fig. 5. Adaptive Gaussian Thresholding For Adaptive Gaussian Thresholding, threshold value is the weighted sum of neighbourhood values where weights are a Gaussian window. 4.3 Localization of Number Plate From the global thresholding image, the rectangular region is identified by contour shape analysis method and the identified region of the license plate is bounded. This method can be explained simply as a curve joining all the continuous points (along the boundary), having same color or intensity. For better accuracy the binary image is given as input. Contour finds the many regions in the binary image, to find the exact license plate region contour area for all the regions are found. After that contour area is matched with range of license plate area, so that exact license plate region can be found. Once the license plate is identified, the license plate region is cropped and displayed in gray format. Grayscale number plate is transformed into binary invert image according to the formula where T(x,y) is a threshold calculated individually for each pixel (2) Fig. 8. License plate localization Fig. 6. License plate region identification The license plate region is also identified at different distances. Fig. 9. Binary image of license plate

www..org 13 4.4 Character Recognition Tesseract is an Optical Character Recognition engine for various operating system. It is free software developed by HP [1]. The License plate image is given as input to OCR engine and which returns license plate number in ASCII character. Those characters are saved in text file. Tesseract OCR works in step by step process. The first step in tesseract is thresholding. Next step is connected component analysis, which is used to extract the outline. After that the outlines are converted into blobs. Then Text is divided into words using definite spaces and fuzzy spaces. Recgnition of text is then done in two pass. In first pass an attempt to recognize each word from the text. Then each word is passed to an adaptive classifier as training data. The adaptive classifier tries to recognize text in more accurate manner. Second pass is to extract text from images[10] Sometimes the unwanted blobs were also recognized as some special characters. Finally the unwanted characters are eliminated and only license plate number is displayed. Conclusion In this system, license plate number was successfully recognized by using opencv and python programming. The whole design was implemented in Beagle Bone Black processor board. The working of the system was tested with various images of vehicle. The identification of the number plate using shape analysis method was sometimes failed to detect the exact region of the plate. Future work is to develop the character recognition using template matching algorithm. International Journal of Computer Applications Technology and Research Volume 3 Issue 12, 756-761, 2014. [2] Ankit Sharma, Dipti R Chaudhary, Character Recognition Using Neural Network, IJETT, ISSN: 2231-5381,Vol.4 Issue 4, pp 662-667, April 2013 [3] Youngwoo Yoon, Kyu-Dae Ban, Hosub Yoon, and Jaehong Kim, Blob Extraction based Character Segmentation Method for Automatic License Plate Recognition System Robot/Cognition System Research Department,IEEE. [4] Ragini Bhat, Bijender Mehandia, Recognition of vehicle number plate using matlab, International journal of innovative research in electrical, electronics, instrumentation and control engineering vol. 2, issue 8, august 2014 [5] N.Vishwanath, S.Somasundaram, M.R. Rupesh Ravi, N. Krishnan Nallaperumal, Connected Component Analysis for Indian License Plate Infra-Red and Color Image Character Segmentation, IEEE International Conference on Computational Intelligence and Computing Research, 2012 [6] Nima Asadi, A Study of Automatic License Plate Recognition Algorithms and Techniques, Intelligent Embedded Systems [7] P. Mathivanan, B. Ganesamoorthy and P. Maran, Watershed Algorithm Based Segmentation For Handwritten Text Identification, ICTACT Journal on Image And Video Processing, Volume: 04, Issue: 03,pp 767-772, February 2014 [8] Attila József Kun, Zoltán Vámossy, Traffic Monitoring with Computer Vision,IEEE, Applied Machine Intelligence and Informatics, 2009 [9] Ray Smith, An Overview of the Tesseract OCR Engine, Document Analysis and Recognition, ICDAR 2007. 9th International Conference, Pages: 629 633 [10] Chirag Patel, Atul Patel, Dharmendra Patel, Optical Character Recognition by Open Source OCR Tool Tesseract: A Case Study, International Journal of Computer Applications (0975 8887) Volume 55 No.10, October 2012 S.Uma received the Bachelor of Engineering Degree in Electrical and Electronics Engineering from Hindustan College of Engineering, University of Madras, Chennai in 1997, Master of Engineering Degree in Power Systems Engineering from College of Engineering Guindy, Anna University, Chennai in 2000. She is currently working as Assistant Professor in the Department of Electrical and Electronics Engineering, College of Engineering Guindy, Anna University, Chennai. She is Member of Computer Society of India. M. Sharmila has completed Bachelor of Engineering in 2010 in Bannari Amman Institute of Technology under Anna University. She is currently doing her Master of Engineering in the College of Engineering, Guindy Anna University in the Embedded System Technologies department. Fig. 10. Characters are recognized and saved in text file References [1] Pratiksha Jain, Neha Chopra, and Vaishali Gupta, Automatic License Plate Recognition using OpenCV,