Abstract


a.  Project title: License Plate Recognition
b.  Member: Zhang Hanxiong, Hou Xiangtai, Tianyuan Zhao
c.  Email: zhanghx.eric@gmail.com
d.  Course Name:EECS 349, Northwestern Univ.,2015 Spring
e.
      i.motivation: We want to develop a system which could automatically detect and recognize a car's license plate. If this could be used in real industry, we believe it has a large potential of use.
      ii.solution: We use two machine learning methods. Neural Network and KNN.Using Neural Network and KNN methods to recognize, under Matlab.
      iii.how we train and test it??: Because KNN is lazy, we don't train it. For Neural Network,We use Neural Network Toolbox of MATLAB to train and test.Our training set has 252 pictures and our validation set has 50 pictures.
      iv.result: KNN achieves a 90% accuracy for prediction while Neural Network only has a accuracy of 30%
f.  example:

We only consider English characters and Arabic numbers. In this case, KNN recognizes correctly. Neural Network only recognize 2 characters correctly.

Training Set

preprocessing

Training Picture

We translate each template image to a binary image. Three to six 40 x 20 (800 pixels) template binary images for each character or number ( A – Z, 0 – 9 ). For example, for number 4, first we have the original picture segmented from a real photo:

Original 4:

Then we translate RGB picture into binary then rotate it. Thus we have 7 pictures for number 4.(The differences may be hard to detect for human eyes.)
Binary 4:
Right rotate 1°: Right rotate 2°: Right rotate 3°:
Left rotate -1°: Left rotate -2°: Left rotate -3°:

Since the input is an image file, the type of all attributes is the binary value for each element (pixel here) in one row vector of length 800 (40 x 20 2D matrix => 1 x 800 1D vector). There are 800 attributes in total for each character, one for each pixel.In total, we have more than 252 binary pictures for training.

Validation Set

Preprocessing

Validation Picture

We have used the following preprocessing techniques:
(1) gray scale
(2) median filter
(3) edge detection
(4) image dilation
(5) image erosion
(6) image smoothing
(7) remove noisy points
(8) image segmentation

Please click on the following pictures for details

Get In Touch.

If you have any advice, please email to us. We are looking forward to your voice.