These days SOTA computer vision systems are all based on deep learning and require a lot of data to achieve great results, but what If we don’t have a lot of data, or just want to experience the pain that people went through before they could just slap a neural network on it? Well, in this project we created a car license plate reader based on “traditional” image processing techniques - just with Python and NumPy.
The problem involves turning .mp4
videos of cars into strings of license plates of the cars in the videos. We broke the solution down into the following stages:
- Input:
.mp4
videos of cars - Localization
- Preprocessing
- Bounds and contours
- Colour and bounds
- Cropping and adjusting
- Recognition
- Proprocessing
- Flooding
- Segmentation
- Template matching
- Validity check
- Output: License plate strings
Full explanations of each stage are available in these reports:
Example output of the localization stage