José Enrique Maese Álvarez. Trabajo de Fin de Grado
Escuela Técnica Superior de Ingeniería, Universidad de Sevilla
Dpto. de Ingeniería de Sistemas y Automatización
The primary goal of this project is the extraction of characters from vehicle license plates using neural networks. The study involves exploring different neural network models, implementing the solution in Python, and applying computer vision techniques.
- Standardized conditions: distance, height, and lighting.
- Prior segmentation of characters.
- Training on numerical part and extrapolation.
- 125 images
- 875 characters
- 500 numbers (50 examples/number)
- 375 letters (18.75 examples/letter)
- Convert to grayscale
- Apply Gaussian filter
- Binarize
- Edge extraction using gradient calculation
- Closing of edges
- Locate closed surfaces
- Select the top 10 areas
- Select contour meeting specifications:
- Area
- Proportion
- Appearance of edges
- Excessive brightness
- Convert to grayscale
- Apply Gaussian filter
- Binarize: darker elements to high level
- Remove surfaces below a threshold area
- Create column-wise histogram to locate characters
- Variable lower limit to eliminate errors from edge appearance
- Initial high-level strip to eliminate errors from the EU symbol
- Perceptron
- Weight coefficients: w
- Bias: b
- Input: X, Output: Y
- Multilayer perceptron
- 5 layers
- Different number of perceptrons per layer
- Forward-propagation
- Introduce input data
- Traverse the network
- Obtain the cost function (to minimize)
- Back-propagation
- Traverse the network in reverse
- Update parameters
- Network structure
- Learning rate
- Dataset split (70% training - 30% validation)
- Batch training
- Epochs
- Overfitting
- Underfitting
- Oscillations around equilibrium point
- LeNet-5
- AlexNet
- ResNet50
-
Model accuracies on training and validation sets:
Model Training Set Validation Set LeNet-5 99.13% 75.01% AlexNet 98.27% 94.74% ResNet50 99.57% 96.03%
The project successfully achieved high accuracies in license plate character recognition using various neural network models. The experimentation with LeNet-5, AlexNet, and ResNet50 demonstrated the effectiveness of deep learning in this application.
- Increase the size of the database for better generalization.
- Enhance the license plate cropping algorithm.
- Explore more complex neural network models for improved accuracy.