Professional Documents
Culture Documents
,
where, i 0, 1. (ImW M 1), G (x, v) is the edge
image, W is the sliding window, Aw is the area oI the
sliding window, ImW is the width oI the image and M
is the width oI the sliding window.
Figure 6 illustrates the computation process oI the
horizontal density vector. As the window slides over
the plate the value oI the Horizontal Density Vector
(HDV) graph increases gradually until it reaches the
peak oI the graph and then decreases again, at the peak
point in the HDV graph the sliding window aligns with
the license plate.
Figure 6. Computation oI HDV.
AIter that, the algorithm will Iind all the peaks in
the HDV graph Ior each horizontal segment. A peak is
assumed to belong to a license plate iI it is greater than
a determined threshold. Figure 7 shows an example Ior
the process oI extracting the vertical position oI the
license plate along with the HDV graph Ior each
horizontal segment.
(a) (b)
Figure 7. Example oI vertical localization oI the license plate.
The next step aIter the vertical localization process
is the cleaning phase. This phase perIorms three main
processes which are:
1. The segmentation oI two-row plates which were
wrongly detected as one segment.
2. The isolation oI the license plate Irom any
redundant background.
3. Skew angle detection and correction.
Figure 8. Two plates appear in the same horizontal segment.
362 The International Arab Journal of Information Technologv, Jol. 4, No. 4, October2007
The segmentation oI plates that contain two rows oI
characters will be done through a horizontal projection
oI the binary image Ior the extracted segment and
searching Ior a valley that goes beyond a speciIic
threshold. II Iound, the segment will be considered as a
two- row plate and will be cut into two separate
segments, as shown in Figure 9 below:
Figure 9. Horizontal projection oI the plate.
The isolation oI the license plate Irom any
superIluous background is perIormed using a
projection proIile that reIlects the number oI white
pixels in each row and in each column. In most cases,
projecting the amount oI white pixels both vertically
and horizontally reveals the actual position oI the plate.
An example oI the projections is shown in Figure 10.
Figure 10. Horizontal and vertical projection oI the license plate.
To Iind the skew angle oI the plate we used the
algorithm described in |1|. The computation oI the
skew angle is achieved using Hough transIorm to Iind
the most visible lines in the plate image and their
angles, and Iinally the plate image will be rotated as
shown in Figure 11.
Figure 11. Skew angle correction.
The last step in the localization process is the
veriIication phase. The input to this phase is all the
extracted regions Irom the previous stages which may
contain license plates. So the main objective oI this
phase is to Iilter out the regions that do not belong to a
license plate. We will Iollow a rule-based classiIication
approach, where an extracted region will be deleted iI
one oI the Iollowing conditions is satisIied:
1. Aspect ratio (width/height) oI the region is
smaller/greater than a threshold.
2. The area oI the region is less than a threshold value.
3. Average gradient magnitude per pixel inside the
region is smaller/greater than a threshold value.
4. The number oI valid characters is less than 3 or
greater than 9.
5. Density oI the region is less/greater than a threshold
(densitv obfects area total area). All thresholds
are determined experimentally Irom the available
training data.
3.3. Character Segmentation
To ease the process oI identiIying the characters, it is
preIerable to divide the extracted plate into diIIerent
images, each containing one isolated character. There
are some widely used methods Ior character isolation
which are used in almost all available LPR systems.
Those methods are: static bounds |4|, vertical
projection |8| and Connected-Components. The Iirst
two methods can not be used to segment Malaysian
license plates since they do not have a Iixed number oI
characters Ior each plate. In this paper the Iollowing
steps are used to segment the characters oI the license
plate:
1. Stretch the contrast oI the image to extend over the
entire range oI gray levels available (0-255).
2. Threshold the plate image using Otsu method |10|.
3. Search Ior connected components in the image, each
connected component will be assigned a special
label in order to distinguish between diIIerent
connected components in the image as shown in
Figure 12.
4. Resize each character Irom the previous step to the
standard height and width (20x10) in order to be
used in the Iollowing recognition process.
Figure 12. Extracting the characters Irom license plate.
3.4. Character Recognition
ANN is used Ior character recognition. We used a
Multi-Layer Perceptron Neural Network (MLP NN)
trained with the back-propagation algorithm. During
learning phase, characters oI the constituted database
are successively presented at the input layer oI MLP
network and their corresponding outputs are compared
to the desired outputs. Weights are iteratively modiIied
in order to obtain, at the network outputs, responses
which are as close as possible to the desired outputs.
The input layer consists oI 135 input neurons and there
is one hidden layer which has 40 neurons with log-
sigmoid transIer Iunctions. The output stage has 36
neurons, each outputting the probability that the given
input is the corresponding character.
Valley
Malavsian Jehicle License Plate Recognition 363
4.Experimental Results
Experiments have been perIormed to test the proposed
system. The system is simulated in MATLAB6.5.1 Ior
the recognition oI Malaysian license plates. A set oI
150 images with various sizes were used Ior testing.
The images were taken Irom:
1. Complex scenes, in which several objects with
complex textures are presented.
2. Various environments (street, roadside and parking
lot).
3. DiIIerent inclined angles and distances relative to
the camera.
PerIormance Ior individual system subsections were as
Iollows: 92.1 oI plates were located successIully;
characters were segmented correctly Irom 90.5 oI
manually extracted plates, 93.2 oI these characters
were correctly classiIied.
The major source oI errors in plate extraction
process and character segmentation was mainly due to
bad quality oI input image during the acquisition stage.
Figure 13 shows some simulation results Ior the
proposed system.
Figure 13. Simulation results.
5.Conclusions
The purpose oI this paper is to investigate the
possibility oI making a system Ior automatic
recognition oI license plates. Given an input image, it
should be able to Iirstly extract the license plate, then
isolate the characters contained in the plate, and Iinally
identiIy the characters in the license plate. The
proposed system will search the image Ior high density
edge regions which may contain a license plate. AIter
that a cleaning and a veriIication processes will be
perIormed on the extracted regions to Iilter out those
regions that do not contain a license plate. AIter that
the plate will be passed to the segmentation phase
where it will be divided into a number oI sub-images
equal to the number oI characters contained in the
plate. Finally, each oI the sub-images will be passed to
a Multi-Layer Perceptron Neural Network Ior
identiIication.
References
|1| Farrow G. S. D., Ireton M. A., and Xydeas C. S.,
'Detecting the Skew Angle in Document
Images, Signal Processing. Image
Communication, vol. 6, no. 2, pp. 101-114, 1994.
|2| Fredric M. and Kostanic I., Principles of
Neurocomputing for Science and Engineering,
McGraw Hill, 2000.
|3| Gonzalez R. C. and Woods R. E., Digital Image
Processing, Addison-Wesley, 1993.
|4| http://en.wikipedia.org/wiki/Automaticnumber
platerecognition, Retrieved, August 2005.
|5| http://www.licenseplaterecognition.com, August
2005.
|6| Kamat V. and Ganesan S., 'An EIIicient
Implementation oI Hough TransIorm Ior
Detecting Vehicle License Plate Using DSP'S,
in Proceedings of the Cellular Neural Networks
and their Applications, Proceedings the IEEE
31
st
Annual, pp. 209-218, 1997.
|7| Kim K. K., Kim K. I., Kim J. B., and Kim H. J.,
'Learning Based Approach Ior License Plate
Recognition, in Proceedings of IEEE
Processing Societv Workshop on Neural
364 The International Arab Journal of Information Technologv, Jol. 4, No. 4, October2007
Networks for Signal Processing, vol. 2, pp. 614-
623, 2000.
|8| Lu Y., 'Machine Printed Character
Segmentation, Pattern Recognition, vol. 28, no.
1, pp. 67-80, Elsevier Science Ltd, UK, 1995.
|9| Nijhuis J. A. G., Brugge M. H., and Helmholt K.
A., 'License Plate Recognition Using DTCNNs,
in Proceedings of the 5
th
IEEE International
Workshop on Publish, London, pp. 212-217,
1998.
|10| Otsu N., 'A Threshold Selection Method Ior
Gray Level Histograms, IEEE Transactions on
Svstem, Man and Cvbernetics, vol. 9, no. 1, pp.
62-66, January 1979.
|11| Parker J. R. and Federl P., 'An Approach to
Licence Plate Recognition, Technical Report,
The Laboratory Ior Computer Vision, University
oI Calgary, 1996.
|12| Setchell C. J., 'Applications oI Computer Vision
to Road-traIIic Monitoring, PhD Thesis, Bristol
University, Bristol, UK, September 1997.
Othman Khalifa received his
Bachelor degree in electronic
engineering Irom the Garyounis
University, Libya in 1986, his
Master degree in electronics science
engineering, and his PhD in digital
image processing Irom Newcastle
University, UK in 1996 and 2000, respectively. He
worked in industrial Ior eight years. Currently, he is
head oI the Department oI Electrical and Computer
Engineering, International Islamic University
Malaysia. He has 65 publications in international
journals and conIerences. His area oI interests includes
communications, inIormation theory and coding,
digital image, video processing, coding and
compression, wavelets, Iractal and pattern recognition.
He is IEEE member, Image Processing and
Communication Society member
Sheroz Khan received his BSc in
electrical engineering Irom NWFP
University oI Engineering and
Technology, Peshawar, Pakistan in
1982, his MSc in micro-electronic &
computer engineering Irom Surrey,
GuildIord, UK in 1990 and his PhD
in AI applications to SCADA systems Irom the
University oI Strathclyde, Glasgow, UK in 1994. He
has been actively involved in the teaching and research
activities at the university level in Peshawar and
Malaysia. He joined University Tenaga National
(UNITEN) January 2000. Currently, he is an associate
proIessor within the Department oI Electrical and
Computer Engineering, IIUM. He has authored/co-
authored more than 35 publications in both local and
international journals and conIerence proceedings. His
area oI interests includes data acquisition, embedded
systems, interIacing and intelligent control system,
design and instrumentation. He is a member oI
Pakistan Engineering Council and a member oI the
IEEE Instrumentation and Measurement Society.
Rafiqul Islam received his BSc in
electrical and electronic engineering
Irom BUET, Dhaka in 1987, his
MSc and PhD both in electrical
engineering Irom UTM in 1996 and
2000, respectively. He is Iellow oI
IEB and member oI IEEE.
Currently, he is Iaculty member oI Electrical and
Computer Engineering Department oI International
Islamic University Malaysia. His area oI interests
includes radio link design, RF propagation
measurement and RF design, smart antennas, and array
antennas design.
Ahmad Suleiman is a graduate
student, International Islamic
University Malaysia, 2006. His area
oI interests includes signal/Image
processing and digital
communications.