Automatic Licence Plate Recognition¶
For my senior project, I joined a team tasked to design an automatic licence plate reading system. We decided to use python and various machine learning libraries to accomplish this task. There was a lot of initial research, and many different prototypes, but now we can boil down what we have into a short post like this.
We will go through the whole process from raw pictures we took with our phones, to recognized licence plate characters. Our system segments an image of a licence plate into 6 separate cropped images for each of the characters. This is repeated many times for each of our licence plate images, and our training/testing set is built out of these cropped licence plate character images. We then train a Neural Network using the segmented characters. Once the model is trained, we can use it to predict future licence plate images. We feed the system an image of a licence plate and it predicts the characters that are on it.
In this post we will:¶
- pre-process an image of a licence plate
- run our automatic character segmentation algorithm
- label data
- prepare data for use in neural network
- train and test our neural network
In future posts we will:¶
- Artificially expand our data
- Link trained neural network with new licence plates for quick classification.
- Use convolutional neural networks to detect state, and to detect if there is a licence plate in an image
Lets get started by running our character segmentation on a test image.¶