This repository contains the models extract_plate.pt which you can find here and locate_plate.pt which you can find here.
Ensure that both files are added to the / path.
The source code of extract_plate.pt can be found here.
The source code of locate_plate.pt can be found here.
Watch on YouTube: Automatic number plate recognition with Python, Yolov8, and EasyOCR!
The video I used in this tutorial can be downloaded here.
A Yolov8 pre-trained model was used to detect vehicles.
A licensed plate detector was used to detect license plates. The model was trained with Yolov8 using this dataset and following this step by step tutorial on how to train an object detector with Yolov8 on your custom data.
The trained model is available on my Patreon.
The sort module needs to be downloaded from this repository as mentioned in the video.