CLPR is a project that will allow you to recognize license plates at the checkpoint and automatically pass cars. This project is based on the latest research in this field and was developed to achieve the best accuracy in this task and to compare the open-source approaches.
As a result, the following metrics were obtained, in comparison with the default model.
Our model achieves 96.6% prediction accuracy.
In order to run inference or model training, you need to install the necessary dependencies:
pip install -r requirements.txt
To launch inference, it is necessary in the settings.json
specify the path to the file or video stream, and then run the main script:
python src/main.py
To download our test example video, you can use the yt-dlp library and execute the script:
./scripts/download_sample.bat
We tested our pipeline with the following PC characteristic:
Type | Model |
---|---|
CPU | Intel Core i5-3470 |
GPU | NVIDIA GeForce GTX 1060 6GB |
RAM | Crucial DDR3 1600MHz 16GB (8x2) |
HDD | Seagate BarraCuda 2TB |
Results:
Resolution | Performance |
---|---|
1080P | 27 FPS |
For training, we used datasets from Nomeroff.
There are data from almost all CIS regions, including RU.
To train EasyOCR model:
- Download the proposed dataset, or use your own, but with the same file structure
- Use our notebook:
experiments/train_easy_ocr.ipynb