Professional Documents
Culture Documents
Fig. 6: Flow of work of level 1 testing phase Fig. 7: Flow of work of level 2 gathering LP characters
64-bit OS. On execution time all the images were rescaled VI. P SEUDOCODE
and maintained the size of 640 pixels with unchanged aspect Level 1: Training phase
ratio. Proposed algorithm gives very good accuracy compared initialize characters string, data and labels for the alphabet and
to existing works. digits
initialize BBPS descriptor
Fig 12 depicts the successful true positive result in level 1. loop dataset images, convert to grayscale
Here license plate were successfully recognized whereas in Fig and apply thresholding
13 in left side image all candidates were recognized correctly detect contours; sort from left to right
except the second character candidate which is recognized loop over contours, grab bounding box of contour
has N instead of M. In Fig 13 all character candidates were extract ROI
recognized correctly except a digit ‘1’ which is recognized if i <26
has ‘9’.All these misclassification occur because all these it is character
candidates share similar features. else
digit
In level 1 training of LP characters were done using train character and digit classifier
different font images downloaded from internet, level 1 yields dump the character and digit classifier to a file
good accuracy but it fails to recognize a few cases, in order to Testing phase
overcome such flaws, training of classifier is done by gathering def testing phase()
characters from dataset images like Fig 14. In Fig 15 which is load the character and digit classifiers created in training
wrongly predicted in level 1 was correctly recognized in level phase
3. initialize BBPS descriptor
loop dataset images
if width > 640,
resize(image)
detect the license plates [1] and characters [8]
loop over detected plates and characters
preprocess it
if i > 3
call digit classifier
else
call character classifier
update the text of recognized characters
if len(chars)>0
compute the center of LP bounding box
draw the characters which are predicted
above bounding box
Fig. 15: Gathering LP characters in level 2 Level 2: gathering LP characters
randomly select a portion of the images
www.ijacsa.thesai.org 6|Page
(IJACSA) International Journal of Advanced Computer Science and Applications,
Vol. XXX, No. XXX, 2014
www.ijacsa.thesai.org 7|Page
(IJACSA) International Journal of Advanced Computer Science and Applications,
Vol. XXX, No. XXX, 2014
www.ijacsa.thesai.org 8|Page