A license plate reader made for Brazilian license plates (working with both old and Mercosul style).
The system uses YOLO V8 for detecting the license plates and EasyOCR for reading the Alphanumeric characters.
In order to reduce computational cost, the code does not search for plates in all frames: there is a cooldown period. Also, the ROI (Region of Interest) is reduced and the GPU is not being used.
The code has two functions:
- Display: the reading happens in real time as the video is played;
- Generate_video: a file with the license plate values is created.
The YOLO V8 model was trained on this dataset: https://github.com/raysonlaroca/rodosol-alpr-dataset
Video used for demonstration: https://www.youtube.com/watch?v=7N16o4hHd-s&t=157s&ab_channel=LucasSousa