You are on page 1of 8

Building a License Plate Recognition System

for Vietnam TollBooth


Vinh Du Mai1,2 Duoqian Miao1, Ruizhi Wang1
2 1
Electrical & Electronic Department Department of Computer Science and Technology
The University of Transport and Communications Tongji University, Shanghai 201804, China
Hanoi, Vietnam (+86)18621877898
(+84)9339772773, (+86)13681639973 miaoduoqian@163.com,
maivinhdu@yahoo.com ruizhi.ann.wang@gmail.com

ABSTRACT 1. INTRODUCTION
The Automatic License Plate Recognition (ALPR) system has The ALPR system is very important and popular research topic of
wide application and very important in the Intelligent the ITS field, which is very important for the development of the
Transportation System (ITS) such as the Electronic Toll transport infrastructure on the world. The prototype systems of
Collection (ETC) system. The purpose of this paper is designing ALPR were working by 1979, and contracts were let to produce
an Automatic License Plate Recognition (ALPR) system, which industrial systems, first at EMI electronics, and then at Computer
will be applied for one-stop and non-stop ETC in Vietnam. Our recognition systems in Wokingham. Early trial systems deployed
ALPR system consists of two major parts: the first part is at the Dartford Tunnel, UK. The first system detect of a stolen car
hardware system and the second part is software system. In the in 1981. From 80's initial period, many countries have been
first part, the price, types of equipments and technology will be beginning to develop ALPR system [26]. ALPR system has wide
considered for designing, which satisfied for Vietnam application in ITS such as: Electronic toll collection (ETC) system
environment, Vietnam regulation in the road pricing rules and [13,17,21], Car-park system [3,5,11,22], Emergency vehicle
Vietnam standard of ETC. In the second part, we will combined notification system, Automatic road enforcement system [9,20],
image processing technology and artificial neural network to Traveller information systems [14,15], Public transportation
proposed a improved software system, our software include four systems, Speed enforcement system [20], Weigh-in-motion
modules: image capture, license plate location, characters system, Traffic management systems, mobile and web based
segmentation and characters recognition. Our ALPR software will ALPR system [4,10], etc.
be tested by 700 Vietnam vehicle images, which obtained from
actual system and complex background: lightening conditions Unfortunately, most of these ALPR system could not apply for all
(night & day), license angles, illumination, size and type, colors countries on the world, because of most of previous researchers
and reflected light. Our ALPR software is more effective than used various image sources, environment, quality of the images,
some of the existing methods earlier, the efficiency of computing and the parameters (such as size, resolution of the images,
time & accuracy is improved and very satisfied for all types of distance from camera to vehicle, angle of the vehicle license plate,
Vietnam LP and Vietnam environment. and so on) of the images are not same. Therefore, it is very
difficult to apply for all the countries, all environments and all
Categories and Subject Descriptors vehicles image. In the developing countries such as Vietnam
B.0 [Harware]: General; I.4.6 [Image Processing and where is developing country which has been beginning to develop
Computer Vision]: Segmentation–edge detection; I.4.7 [Image and apply the ITS. In the early time, ETC system has been
Processing and Computer Vision]: Feature Measurement–size deployed in some of Vietnam national roads and expressways.
and shap, projections, texture; I.4.10 [Image Processing and Therefore, we need to research and develop ALPR system for the
Computer Vision]: Image Representation–morphological, all types of Vietnam LP, which satisfied for regulations,
statistical; I.5.1 [Pattern Recognition]: Models–neural nets; management and environment in Vietnam, and could be applied in
I.5.4 [Pattern Recognition]: Applications–text processing. one-stop & non-stop ETC system in Vietnam.
There are some technologies applied in the previous ALPR
General Terms software such as: histogram, edge detection, vertical & horizontal
Design, algorithms, performance, experimentation. projections and multilayer perceptron neural network [5], vertical
& horizontal edges, skew correction, statistical features, contour
Keywords directional counts, crossing counts & peripheral background areas
automatic license plate recognition, artificial neural network, [6]. And sliding concentric windows, region of interest analysis &
electronic toll collection, intelligent transportation system. neural network [7], hough transform and contour algorithm,
horizontal & vertical projection & hidden markov model [8],
niblack's algorithm, hough transforms [9], edge detection, vertical
projection and template matching [11], horizontal projection,
Permission to make digital or hard copies of all or part of this work for horizontal and vertical projections, multilayer perceptron neural
personal or classroom use is granted without fee provided that copies are network [12]. And mathematical morphology, edge detection,
not made or distributed for profit or commercial advantage and that kalman filter [13], horizontal and vertical edge detection,
copies bear this notice and the full citation on the first page. To copy
threshold technique, OCR software [15], embedded LPR system
otherwise, or republish, to post on servers or to redistribute to lists,
requires prior specific permission and/or a fee. based on digital signal processor [16], statistical method of
SoICT 2012, August 23–24, 2012, Ha Long, Vietnam. histograms, horizontal and vertical projection and neural network
Copyright 2012 ACM 978-1-4503-1232-5/12/08…$10.00. [17], edge detection, multilayer perceptron neural network [18],

107
edge detection, hierarchical classifier [19], connected component Light Curtain: We used a light curtain to detect vehicles passing.
analysis [21]. But, most of these methods work under controlled Light curtain is a pair with a transmitter and receiver, the
conditions, their image data were not collected in Vietnam, so it transmitter projects an array of parallel infrared light beams to the
could not applied for the Vietnam license plates. To cope with receiver, which consists of a number of photoelectric cells, when
these limitations, we have considered for the specific an object breaks one or more of the beams a stop signal send to
characteristics of Vietnam LP and Vietnam environment to the controller unit. We chosen this equipment, because of:
propose an improved ALPR system, which satisfied for all types accurate measurement [1], low price, very popular and easy to
of Vietnam LP and Vietnam environment, our ALPR system has maintain (not require lane closure), but the light curtain is
main contributions as following: sensitive to heavy rain, dense fog [1] and people passing.
Therefore, we have combined the light curtain with and induction
x Hardware system: We have proposed a hardware architecture loop to reject this weakness.
of ALPR system for one-stop ETC and non-stop ETC in
Vietnam, which satisfied with standard of Toll collection Induction loop: Induction loop based on the principle of the
system of Vietnam [23], and we also considered about cost of change of inductance in a coil whose electro-magnetic field
equipments, quality of equipments, popularity of equipments interrupted by a metallic object. The coil is represented by special
and easy to maintain the system. cable loops installed in the pavement in the road. The electronics
unit transmits energy into the wire loops at frequencies between
x ALPR software: We have considered for the specific 10 kHz to 200 kHz, depending on the model [1]. The decreased
characteristics of Vietnam LP such as: types, sizes, letters and inductance actuates the electronics unit output relay or solid-state
numbers and angles of LP to propose a ALPR software, which optically isolated output, which sends a pulse to the controller
satisfied for all types of Vietnam LP and Vietnam signifying the presence of a vehicle [1]. And the induction loop is
environment. In the license plate location, we have used a new very simple to install and it is insensitive to inclement weather
idea to improve quality of image base on subtract operation on such as rain, fog, and provides best accuracy for count data as
the gray-scale image, according to the specific characteristics compared with other commonly used techniques [1]. Therefore,
of Vietnam LP, we have chosen an appropriate parameters to we have chosen the induction loop for the vehicle detection in our
remove noises and cutting of LP region. In the characters ALPR system.
segmentation, we have proposed a simple method to cut
separated two lines in the two-row LP. And in the characters Controller units: We have used a Programmable Logic Controller
recognition, we have used two MLP network for letters and (PLC) to receive and process the signals from electronics unit
numbers, as well as pre-processing to obtain high quality of output relay of the light curtain & induction loop. Because of the
letters & numbers in using the network. So, the computing PLC is very popular, easy to maintain the system, low price and
time and accuracy is improved. very stable in the industry environment. The signals from PLC
will be sent to Computer through RS232 standard.
The rest of the paper organized as follows: section 2 is hardware
system, section 3 is ALPR software, section 4 is experimental Infrared camera: To obtain higher accuracy of ALPR, the camera
results, section 5 is conclusions, section 6 is acknowledgments need to provide a constant level and direction of illumination
and the last is references. irrespective of any conditions, but environment at the toll gate
very complex with a huge variety of lighting conditions such as:
2. HARDWARE SYSTEM daytime, night-time, sunlight, backlight, headlights, and weather
conditions, etc. Therefore, cameras must be rugged and
2.1 Hardware Architecture weatherproof for outdoor, these cameras should be specifically
In this paper, we proposed a hardware architecture of ALPR designed to accommodate varying lighting conditions (such as
system for one-stop ETC and non-stop ETC in Vietnam, which through IR illumination or wide-dynamic functionality) [28] and
satisfied with standard of Toll collection system of Vietnam [23], the camera must be sensitive to the infrared part of the spectrum,
our ALPR system consists of four modules: Vehicle detectors to at least 850 nanometres and fitted with a filter to restrict the
(light curtain & induction loops), controllers, infrared camera & visible part of the spectrum. The lens would have a set fully open
frame grabbers (image acquisition card), computer such as Fig. 1. and the shutter speed to 1/1000th second and an infrared source
must fitted adjacent to the camera [27]. Therefore, taking
advantage of the retro-reflective characteristics of number plates,
the illumination from the illuminator will be reflected directly
back to the camera, only infrared light will be seen without any
visible light or other reflections or refractions. The picture will of
course be black with no detail except for the number plate [27].
Therefore, we have chosen an infrared camera to capture an image
that has high enough quality to allow for the location of the
license plate data. According to all of above reasons, we have
chosen an infrared camera for our ALPR system.
Frame grabber (image acquisition card): Frame grabbers were
Figure.1. Hardware system architecture of proposed method
the predominant way to interface cameras to the Computer, it is an
When design hardware architecture for ALPR system, we need electronic device that captures individual, digital still frames from
consider some main problems such as cost of equipments, quality an analog video signal or a digital video stream. The video frames
of equipments, popularity of equipments and easy to maintain the captured in digital form and then displayed and stored as image,
system. In this paper, we have considered above problems to and these images are used for the ALPR software. We will choose
select equipments for our ALPR system, the equipments in our frame grabber typically can store multiple frames and can capture
ALPR system as following: images at high frame rates and resolutions, RGB digital image is

108
saved into frame and read into EMS memory through PCI [4], 2.4 Position & angle of infrared camera
better the quality of the input images are, the better conditions the The positioning of the camera is a important consideration for
license plate recognition algorithm has [1]. satisfactory operation. Mount the camera in such a way that an
Computer: Computer is used for ALPR software & data storing, ideal image of the license plate captured when the license plate is
vehicle images captured by capture software module through in the centre of the recorded image. The maximum vertical view
frame grabber & infrared camera will be used for ALPR software. angle of a camera used for ALPR is 30 degrees, and the maximum
Results of recognition are number plates and other information horizontal view angle is 25 degrees. In most systems, the
(date, time, lane number, category, etc), these information will be horizontal angle is somewhere between 15 and 20 degrees [28].
stored in hardware disk of this computer for fee calculation of On the single lane, probably the best position is for a camera and
one-stop ETC & non-stop ETC. These vehicle images, number illuminator in a 1m high bollard viewing directly at the
plate and other data will be sent to central server in the Central approaching vehicle [27].
Building of the ETC system for the further processing.
3. ALPR SOFTWARE
2.2 Information flow This paper proposed an improved Automatic License Plate
The information flow in our ALPR system could be described Recognition (ALPR) system for all types of Vietnam License
such as in the Figure. 2. Plate (LP), which included of three modules: license plate location
(LPL), characters segmentation & characters recognition as Fig. 3.

Figure.2. Information flow of our proposed ALPR system


When a vehicle come to the toll gate lanes, it will be detected by Figure.3. The ALPR software of proposed method
the light curtain and the induction loop, this signals from these
equipments will be sent to the controller unit 1 and controller unit
3.1 License plate location
Pre-processing: Firstly, the origin RGB image in Fig. 4(a) is
2 and then send to the PLC for processing, and then send to
converted to grayscale image by forming a weighted sum of the R,
Computer through RS322 standard. This signal used as an input
G, and B components as Eq.1, result is Fig. 4(b).
for image capture software on the PC to capture vehicle images
from infrared camera through frame grabber. These images used Y 0.2989* R  0.5870*G  0.1140* B (1)
for the ALPR software to recognize license plate. Results of
recognition is number plates and other information (date, time, Secondly, we use morphological opening on the grayscale image,
lane number, category, etc) will be stored in hardware disk of this it is efficiency for the image subtraction step, with the structuring
computer for fee calculation of one-stop ETC & non-stop ETC, element (SE=25) according to Eq. (2), result is Fig. 4(c).
and these vehicle images, number plate and other data will be sent A B ( A4B) † B (2)
to central server for further processing of overall ETC system
Thirdly, we used image subtraction on grayscale image. The pixel
2.3 Infrared cameras & lenses. subtraction operator takes two images as input and output image
There are usually physical limitations as far as plates or cameras having pixel values are of the first image is Fig. 4(c) minus the
are concerned, which could affect the outcome of a supposedly corresponding pixel values of second image is Fig. 4(b) as Eq. (3),
automated system. The paint, rust or frame of a plate can easily f1 ( x, y ) , f 2 ( x, y ) are input, g ( x, y ) is output, result is Fig. 4(d).
interfere with the recognition process, so these need to be taken
into consideration during the design phase, picking adequate g x, y f1 x, y  f2 x, y (3)
cameras and positioning them right seem to be equally important,
picking adequate cameras and positioning them right seem to be Then, we convert to binary image use Otsu Method by Eq. (4). T
equally important [28]. In the non-stop ETC, shutter time should is some global threshold that defined by Otsu's method,
be set to short when detecting moving vehicles, we need to make computing a global threshold used to convert an intensity image to
sure the processing is done within this timeframe to be able to a binary image, which chooses the threshold to minimize the
catch every car in real time, camera also have to be installed in the intraclass variance of the black & white pixels, result is Fig. 4(e).
road to capture video frames at the correct time. To avoid
overexposure, we used a camera with wide-dynamic functionality ­ 1 if x, y t T
[28]. There are many other factors to be considered in the g x, y ® (4)
selection of lens and the distance to view the vehicle depend on ¯0 otherwise
the size and types of license plate on vehicle, the size of the License plate candidate location: Firstly, we use edge Detection
number plate and the actual characters need to be of a certain size with Canny operator, the unit edge normal given by
when seen by the camera for the ALPR software to function [27].
R( x ) R( x ) . This method is search for maxima in the
n ( x ) R(
n(

109
directional image derivative in the direction n
n(( x ) . Search for Figure.4. origin RGB image, b) gray-scale image, c)
local maxima of gradient magnitude S ( x ) R( x ) in the direction morphology opening image, d) subtracted image, e) binary
image, f) edge detected by Canny method, g) morphology
normal to local edge, nn(( x ) , suppressing all responses except for closing image, h) morphology opening to remove noises, i)
local maxima, result is Fig. 4(f). Secondly, we used closing dilating image, k) license plate candidate, l) angle of license
operation to merge structures on a binary image, the closing of A plate, m) image after rotating, n) after cut exactly LP region.
by B is obtained by the dilation of A by B, followed by erosion of
the resulting structure by B as Eq. (5), where 4 and † denote 3.2 Characters segmentation
erosion & dilation, output image is Fig. 4(g) Pre-processing task: Quantization on gray image in Fig. 4(n), a
black & white image determined by an adaptive threshold, we
A B ( A † B)4B (5) obtained Fig. 5(a). Then, the image is resized in parameter 50x150
Thirdly, we use opening operation to remove noises on binary pixels for one-row LP and 100x100 pixels for two-row LP, we
image, their pixel area on binary image that all connected obtained Fig. 5(b). Determining the LP horizontal contours by
components that fewer than [7 25] pixels to remove all of the computing the sum of the lines in Fig. 5(b), and in the
regions (noises) that is not LP candidates, output image is Fig. complement of image, 0 become 1 and 1 become 0, black and
4(h). Then, we used dilation operation to increase objects in the white are reversed. Each pixel is subtracted from the maximum
binary images, the positions where a given structure element fits. pixel value and the difference is used as the pixel value in the
The dilation of A by the structuring element B is defined by output image, we obtained Fig. 5(c). Using morphology opening
Eq.(6). It turns on pixels which were near pixels that were on on binary image to remove all connected components (noises)
originally, thickening the items in the image, result is Fig. 4(i). fewer than 10 pixels for one-row LP & two-row LP, we obtained
Fig. 5(d).
A† B Ab (6)
bB
Segmentation task: Firstly, a method is applied to segment two
lines of the two-row LP. And then, we apply segmentation
Finally, we fixed the LP region by measure properties of each algorithm for every line in the one-row LP & two-row LP by
connected components, the fields of the structure array denote segmentation algorithm, which use a method called “peak-to-
different properties for each region. Selecting the LP from the valley” on binary image to segment characters in every line of the
candidates by chosen area that is the deepest region in the frame Vietnam LP, characters and numbers zone is detected using peak
which has properties of the LP area, then find a set the coordinates to valley function as Eq. (9).
of the LP region, result is Fig. 4(k).
License plate exact location: Firstly, we find the angle & rotate

V l p  2 * V x  V ( rp )
Vp( x ) (9)
LP by apply the radon transform on an image f ( x, y) for a given V x  1
set of angles can be thought of as computing the projection of the where, Vp(x) is the vertical projection function at current x
image along the given angles U , result is a new image R( U , T ) location, lp is peak position on the left side of x, rp is the peak
with lines in the Fig. 4(l). position on the right side of x. We search changes between peaks
and valleys, and then count number of black pixels per column in
U x*cos T  y*sin(T ) (7) the projection. After segmentation, we have results such as Fig.5.
f f

R U ,T ³ ³ f x, y G ȡ  xcosș  ysinș dxdy (8)


f f

Secondly, we rotate LP by the interpolation method specified by


bilinear interpolation, after rotating, we obtained the Fig. 4(m).
Lastly, we cut exactly LP region by finding the coordinates of the
LP rectangle, then we have four-element position vector [xmin ymin Figure.5. a) after quantization, b) after resizing, c) after
width height], that specifies size & position of the crop rectangle, horizontal contours & imcomplement, d) after remove noises,
result in the Fig. 4(n). e) result of characters segmentation for one-row of Vietnam
LP f) result of characters segmentation for two-row of
Vietnam LP.

3.3 Characters recognition


We proposed an improved method, which used a Multi Layer
Perceptron (MLP) neural network and back-propagation algorithm
to recognize letters & numbers of Vietnam LP. Datasets for
training and testing are obtained from Vietnam LP images, which
obtained in the actual system, 10 numbers (0, 1, 2, 3, 4, 5, 6, 7, 8,
9) and 15 letters (F, H, K, L, M, N, P, R, S, T, U, V, X, Y, Z) of
Vietnam LP for training of the MLP network such as table 2. All
of letters & numbers were resized in (10x20) pixels for training.
We used this size for samples in the training network, because of
with this size we have saved the computing time for training and
using network, so the computing time of characters recognition is
improved.

110
Training network: We will use two networks for letters & vqj (k  1) vqj (k )  K G nq (k ) x j (k ) (19)
numbers training with noises, in each network we will adjust the
weights of each unit in such a way that the error between the where, , q 1, 2,...l , j 1, 2,...m
desired output and the actual output is reduced, we compute the
error derivative of the weights. In other words, it must calculate
G nq ( k ) ¦ n

i 1 oi

G ( k ) Wiq ( k ) a c netq( k )

¦ y
how the error changes as each weight is increased or decreased

n
slightly, the MLP network trained with input vector X i and G (k ) Wiq (k ) 1  ynq (20)
i 1 oi nq

desired output D j , m input layers (m=200), l hidden layers was where, i 1, 2,...n
picked by guesswork and experience (l=10), n output layers (n=15 Step 5: If the E < Emax then end, else if we give k=1 and E=0 and
for letters recognition, n = 10 for numbers recognition). return step 1.

Step 1: Read input vector X i (letters & numbers), all samples are We will create a network can handle noisy input vectors, so the
network first trained on input vectors and then the network is
(10x20) pixels and recorded in a two dimensions array [10 20].
trained on noisy input. After training is done using back-
Clear all previous values, and then initialize the weights vectors
propagation with 932 epochs or until the network sum-squared
Wqj , Wiq , biases, learning rate K , error max Emax , k=1 and E=0. error falls beneath 0.001 (10-3), we have neural network training
performance as Fig. 6(a).
Step 2: Computing for actual output of network from input signal
of hidden layer (Eq.10), output signal of hidden layer (Eq.11), Testing network: In the testing of MLP network, the reliability of
input signal of output layer (Eq.12), final we have output signal of the neural network characters & numbers recognition system is
output layer is Eq.13 measured by testing the network with hundreds of input vectors
with varying quantities of noises. Testing of the network at
¦ various noise levels, noise with a mean of 0 and a standard
m
netq v xj (10)
j 1 qj deviation from 0 to 1 is added to the input vectors. The output of
zq a(netq) (1  enetq ) (1  enetq ) (11) the MLP network is then passed through the competitive transfer
function so that only one of the 15 outputs (representing the
¦ characters), has a value of 1. The solid line on the graph in the
l
neti wiq zq (12)
q 1 Fig. 6(b) shows the reliability for the network trained with and
 neti  neti without noise. The reliability of the same network when it had
yi a(neti ) (1  e ) (1  e ) (13)
only been trained without noise is shown with a dashed line in the
Step 3: Computing for squared errors according to Eq.14 Fig. 6(b).
1 Using network: After training and testing, we will use two trained
¦
n 2
E ( w) ( d i  yi ) (14)
2 i 1 networks to recognize all of the characters and numbers of
Step 4: Update of weigh matrix according to Eq.15, and then Vietnam LP. Before put characters & numbers in to the trained
based on the gradient method with delta rule in the Eq.(16). network, we will use the image processing technology for pre-
processing to obtain high quality of characters & numbers (dilate
W (k  1) W (k )  'wiq (k ) (15) the supplied image using a structuring element whose width is 2
pixels). For the characters recognition, the target vectors defined
K (wE K ¨ wE
§ wyi wneti · with a variable called target, each target vector is a 15-element
wwiq ¸¹
'wiq ( k ) )
wwiq © wyi wneti (16) vector with a 1 in the position of the character it represents, and
K ( d i  yi ) * a c( neti ) z q 0’s everywhere else as. For the numbers recognition, the target
vectors defined with a variable called target, each target vector is
wyi
¦ a 10-element vector with a 1 in the position of the number it
l
where, wE ( d i  yi ) , a( wiq zq ) c ,
wyi wneti q 1 represents, 0’s everywhere else, we obtained results such as in
wneti Fig. 6(c,d).
zq .
wwiq

We computed weights values between hidden layer & output


layers is updated by Eq.(17) and G oi (k ) is error of output of
output layer, this error will be calculate according to Eq.(18)
Wiq ( k  1) Wiq ( k )  K G oi (k ) zq (k ) (17)
where, q 1, 2,...l , i 1, 2,...n

G oi (k ) di (k )  yi (k ) yi (k ) ac neti(k )
di (k )  yi (k ) yi (k ) 1  yi (k ) (18)
where, i 1, 2,...n

Weights values between input layer & hidden layers is updated by Figure.6. (a) MLP network training performance, (b) testing
Eq.(19) and G nq (k ) is error of output of hidden layer will be of trained network for characters, (c) results for one-row
calculate according to Eq.(20). Vietnam LP, (d) results for two-row Vietnam LP.

111
3.4 ALPR database management In the characters recognition module: For the training work, we
ALPR database will be stored & managed in the Computer by a have used two networks for characters & numbers training with
local Microsoft Office Access database. Results of recognition is noises, so the computing time and accuracy improved. In the
number plates and other information (date, time, lane number, using network work, we have used the image processing
categories, etc) will be stored and already to provide for fee technology for pre-processing to obtain high quality of characters
calculation of one-stop ETC & non-stop ETC. One HMI of & numbers before put in the trained network, so accuracy rate of
software should be able to provide a transmission for monitor the the system is higher than some previous methods, we can see in
vehicle passing by, browse the database, query any vehicles and the Table 1.
customize the system settings and through storing data that In Table 2, we have results for the testing of the overall ALPR
enables more advanced data analysis and sharing in the central system, we see that the average accuracy of the overall ALPR
server for further processing of overall ETC system. system is very high.
4. EXPERIMENTS RESULTS Table 2. Results of Our Overall System
We implemented experiment with PC Intel(R) Core(TM)2 Duo Correc Error Accuracy Averag
CPU T7250 @2.00GHz, RAM 1.00 GB, Windows Vista Version Image
Type of LP t rate rate rate (%) e rate
6.1 (Build 7600) 32-bit Operating System and MATLAB Version total
(%)
7.8.0.347 (R2009a). We tested 700 Vietnam vehicle images (400 One-row LP 700 683 17 97.57
one-row type, 300 two-row type), which obtained from the actual 97.43
Two-row LP 700 681 19 97.28%
system, these vehicle images are very different background such
In Table 3, we have compared results of our proposed method to
as illumination, license angles, size and type, dimensions from
the previous methods, we see that the accuracy rate of our method
camera to vehicles, colors, light conditions in Vietnam
is higher than most of previous works and the computing time of
environment, these vehicle images are RGB true-color image and
our method is improved. But these comparisons is only for
in two format (800x600 pixels and 768x288 pixels).
references, because of our method and previous methods are not
In the license plate location module, most of the previous methods evaluated on the same conditions and data images.
have some restricted in case: uncertainty of edges, various types
Table 3. Comparison results of Our method to some Previous
of plate, low or high illuminated images, colors, sun light & night
Methods
light. But these limitations were solved by our proposed method,
because of these reasons such as. The first reason – we have used Image Correct Error rateAverage Computing
Methods
subtract operation on the gray-scale image to obtain a better image total rate rate (%) time (s)
with new intensity values that satisfied for the image binarization, Our method 700 682 18 97.43% 0.25
this is reason why our proposed method is very efficiency for Ref. [4] No No No 90-97 0.1 – 1.5
complex background images, night & day images and different Ref. [5] 1000 965 35 96.50 No
illuminations. The second reason – we have chosen the good Ref. [6] 351 344 7 98.00 No
structuring element values (SE=25) in the morphological opening Ref. [7] 1334 1307 26 86.00 No
step and connected components value [7 25] pixels to remove all Ref. [8] 795 738 57 92.85 No
of the regions (noises) that is not license plate candidates. The Ref. [9] 141 128 13 91.00 No
third reason – we have chosen the good values in the fixing the LP Ref. [11] No No No 98.00 0.5
region step, this values satisfied for Vietnam LP dimensions. We Ref. [15] 306 268 38 87.44 No
see that, the accuracy rate of our method is very high such as Ref. [17] No No No 97.00 <3.0
Table 1.
Ref. [19] 9026 8731 295 96.73 0.284
Table 1. Results Of LP Location Task, LP Segmentation Task, Ref. [20] 387 379 18 98.00 No
LP Recognition Task Fig. 7 and Fig. 8 show some experiment result examples of our
ALPR system. We see that, our method is very satisfied for the
LP LP
LP Location Vietnam vehicle images, which obtained from the actual system,
Segmentation Recognition
these vehicle images are very different background such as
One Two One Two One Two
illumination, license angles, LP angle, size and type, dimensions
row row row row row row
from camera to vehicles, colors, light conditions in Vietnam
Image 400 300 400 300 400 300
environment. These vehicle images are RGB true-color image and
Accuracy rate in two format (800x600 pixels and 768x288 pixels). Fig. 7 is
97.25 97.00 98.75 97.67 97.50 97.00
(%) some results of one-row Vietnam LP image and Fig. 8 is some
Average rate results of two-row Vietnam LP image.
97.13 98.21 97.25
(%)
In the segmentation module, most of the previous methods only
applied for the one-row LP. In this paper, we have proposed an
improved method to segment characters & numbers in one-row &
two-row types of Vietnam LP based on the peak-to-valley method
& statistical parameters of characters and digits. And combined
pre-processing to improved image quality and remove noise, our
approach could applied for both one-row and two-row type of
Vietnam LP and the accuracy rates of our method is very high 
such as Table 1.
D 

112
 
E  G 
Figure.8. Some results of two-row Vietnam LP
5. CONCLUSIONS
In this paper, we proposed a method to design an ALPR system,
which applied for one-stop and non-stop Toll Collection System
in Vietnam. Our ALPR system consists of two major parts: the
first part is hardware system and the second part is software. In
the first part, the price, types of equipments and technology
 considered for designing which satisfied for Vietnam environment,
F  Vietnam regulation in the road pricing rules and Vietnam standard
of ETC. In the second part, we combined digital image processing
technology and artificial neural network, our software include
four modules: image capture, license plate location, characters
segmentation and characters recognition. We tested our ALPR
software by 700 Vietnam vehicle images, which obtained from
actual system and complex background: lightening conditions
(night & day), license angles, illumination, size and type, colors
and reflected light. Our ALPR software is more effective than
 some existing methods, the computing time & accuracy is
G  improved and very satisfied for all types of Vietnam LP and
Figure. 7. Some results for one-row of Vietnam LP Vietnam environment. Our ALPR could be used for one-stop &
non-stop ETC in Vietnam. But in the future work, we are still
research to improve our algorithm to make our ALPR system
faster and more accuracy and we will implement tested our ALPR
system in the actual one-stop ETC and non-stop ETC in Vietnam.

6. ACKNOWLEDGMENTS
This work was supported by National Natural Science Foundation
of China (Serial No. 60970061, 61075056), and the Fundamental
Research Funds for the Central Universities.
 7. REFERENCES
D  [1] Lawrence A. K., Milton K. M., David R.P. 2006. Traffic
Detector Handbook. Information Technical Service and
Research & Technology Product Distribution Center.
[2] Elena, L., Mimbela, Y. 2000. A Summary of Vehicle
Detection and Surveillance Technologies used in Intelligent
Transportation Systems, The Vehicle Detector Clearinghouse,
Mexico.
[3] Sirithinaphong, T., Chamnongthai, K. 1999. The Recognition
 of Car License Plate for Automatic Parking System. In
E  Processding of the Fifth International Symposium on Signal
Processing and its Applications, 455-457.
[4] Yan, D., Ma, H.Q., Liu, J.L., Langang. 2001. A High
Performance License Plate Recognition System Based on
The Web Technique. In Processding of 2001 IEEE
Intelligent Transportation Systems Conference, 325-329.
[5] Ahmedl, A.T., Hamadl, D., Tilmant,G. 2003. Vehicule
lisense plate recognition in marketing application. In
 Processding of IEEE Intelligent Vehicles Symposium, 90-94.
F  [6] Lee, H.J., Chen, S.Y., Wang, S.Z. 2004. Extraction and
Recognition of License Plates of Motorcycles and Vehicles

113
on Highways. Proceedings of the 17th International [17] Wenjie, H. 2010. Automatic Vehicle License Plate
Conference on Pattern Recognition, 356-359. Recognition System Used in Expressway Toll Collection.
[7] Anagnostopoulos, C.N., Anagnostopoulos, I., Loumos, V., Processding of 3rd IEEE International Conference
Kayafas, E. 2006. A license plate recognition algorithm for onComputer Science and Information Technology, 159-162.
Intelligent Transportation System applications. IEEE. Trans. [18] Zhang, K.S, Tang, W., Wei, H.B., Shi,R.Y. 2010. Study on
Intel.Trans.Systems. 7, 3, 377-392. the Identification System of Car License Plate Based on
[8] Tran, D.D., Tran, L.H.D., Tran, V.P., Nguyen, V.H. 2005. Imbedded Computer System. Processding of 2nd
Building an Automatic Vehicle License-Plate Recognition International Conference on Education Technology and
System. Proceedings of the 3nd International Conference in Computer, 146-149.
Computer Science, 59-63. [19] Wen, Y., Lu, Y., Yan, J.Q., Zhou, Z.Y., Karen, M., Deneen,
[9] Alegria, F., and Girao, P.S. 2006. Vehicle Plate Recognition V., Shi, P.F. 2011. An Algorithm for License Plate
for Wireless Traffic Control and Law Enforcement System. Recognition Applied to Intelligent Transportation System.
Processding of IEEE International Conference on Industrial IEEE. Trans. Intel.Trans.Systems. 12, 3, 830-845.
Technology, 1800-1804. [20] Hsu, G.S., Alexandra, P., Chen, J.C., Yeh, F., Chen, M.H.
[10] Mitchell, M., Hudnall, M., Brown, D., Cordes, D. 2007. A 2011. License Plate Recognition for Categorized
Host Architecture for Automobile License Plate Recognition. Applications. Processding of IEEE International Conference
Processding of IEEE Intelligence and Security Informatics, on Vehicular Electronics and Safety, 220-225.
87-94. [21] Ranjan, K.R., Sinha, A. 2011. Automatic Vehicle
[11] Yang, H.W., Xu, L.C., Shi, L. 2007. Design and Registration System for Tollbooths. Processding of 2nd
Implementation of License Plate Recognition System. International Conference on Wireless Communication,
Processding of First IEEE International Symposium on Vehicular Technology, Information Theory and Aerospace &
Information Technologies and Applications in Education, Electronic Systems Technology, 1-3.
602-605. [22] Mohammed, M.M., Khan, I.M., Khalifa, O.O. 2011. Vehicle
[12] Arya, F., Suwardi, I.S. 2007. License Plate Recognition Clamping and Alternative Parking Management and Control
System for Indonesian Vehicles. Proceedings of the Systems. Processding of 4th International Conference on
International Conference on Electrical Engineering and Mechatronics, 1-5.
Informatics Institut Teknologi Bandung, 657-659. [23] VRA. 2008. Highway Toll Station–Specification for the
[13] Li , B., Zeng , Z.Y., Zhou, J.Z. 2008. An Algorithm for Single Top Station with Barcodes Receipts, Directorate for
License Plate Recognition System for Non-stop Toll Stations. road of Vietnam Standard TCCS 01.
Processing of International Conference on Intelligent [24] ARH Adaptive Recognition Hungary: Application areas of
Information Hiding and Multimedia Signal Processing, 873- Automatic Number Plate Recognition.
876. http://www.anpr.net/anpr_09/anpr_applicationareas.html.
[14] Friedrich, M., Jehlicka, P., Schlaich, J. 2008. Automatic [25] ARH Adaptive Recognition Hungary: License Plate
number plate recognition for the observance of travel Recognition Algorithms and Technology.
behavior. Processding of 8th International Conference on http://www.platerecognition.info/1102.htm.
Survey Methods in Transport, 1-17. [26] Wikipedia: Automatic number plate recognition.
[15] Yasin, A.M., Karim, M.R., Abdullah, A.S. 2009. Travel http://en.wikipedia.org/wiki/Automatic_number_plate_recog
Time Measurement in Real-Time using Automatic Number nition.
Plate Recognition for Malaysian Environment. J. East. Asi. [27] CCTV Advisory Service: An Introduction to ALPR.
Soci. Trans. Stud. 8, 1738-1751. http://www.cctv-
[16] Luo, X.D., Mei, X. 2010. Design and Realization of information.co.uk/i/An_Introduction_to_ANPR.
Embedded License Plate Recognition System based on DSP. [28] Hsu, H.D.: Keeping plate in check. a&s international, 70-75,
Processding of 2010 Second International Conference on 2009.[online].Available:
Computer Modeling and Simulation, 272-276. www.arhungaria.hu/cikkek/eng__prod_exploration.pdf

114

You might also like