This is the project for car plate OCR recognition, which include:
- Neural network segmentation model for car plate area with number selection (part 1/3)
- Neural network OCR model for plate character recognition (part 2/3)
- API service for these two models (part 3/3)
- Additional exemple how to use API service in Telegram bot
Dataset include 1754 images of car with plates in jpg
from 4 countries (include Russia) in COCO format.
I use several open data from kaggle to compile single dataset:
- Automatic-Number-Plate-Recognition
- Car-and-License-Plate-Detection
- Car-License-Plate-Detection
- Car-plate-object-detection
On each image was selected box with car plate and for some data was selected box with car (plate
and car
classes).
Notes:
- For some data only clearly visible car plates were selected.
- Example of data you can see in notebook.
- Model inference and export you can see in notebook
To download data:
make download_dataset
-
Create and activate python venv
python3 -m venv venv . venv/bin/activate
-
Install libraries
make install
-
Run linters
make lint
-
Tune config.yaml
-
Train
make train
- Inference example in notebook
- Best experiment in ClearML
- History of experiments