This repository contains the code for a system that can automatically extract license plates from video footage. The system uses a combination of YoloV8 and GroundingDINO to achieve this goal.
The objective of this project is to develop a system that can automatically extract license plates from video footage. The system will use a combination of YoloV8 and GroundingDINO to achieve this goal.
This paper presents a novel approach to license plate extraction from video footage. The proposed system uses a combination of YoloV8 and GroundingDINO to achieve this goal. YoloV8 is used to extract images of vehicles from the footage, and GroundingDINO is used to extract the section of the image that contains the license plate. The system was evaluated on a dataset of video footage, and it was shown to be able to extract license plates with high accuracy.
The proposed system consists of two main components:
- YoloV8: YoloV8 is a deep learning object detection model that can be used to identify objects in images and video. YoloV8 was trained on a dataset of images that contain vehicles.
- GroundingDINO: GroundingDINO is a deep learning model that can be used to extract regions of interest from images. GroundingDINO was trained on a dataset of images that contain license plates.
The proposed system works as follows:
- YoloV8 is used to identify vehicles in the video footage.
- The identified vehicles are then passed to GroundingDINO, which extracts the region of the image that contains the license plate.
- The extracted license plates are then stored in a folder.
| YoloV8 output | GroundingDINO output |
|---|---|
![]() |
![]() |
The proposed system was evaluated on a dataset of video footage. The system was shown to be able to extract license plates with high accuracy. The system was able to extract license plates from a variety of video footage.
The proposed system is a significant improvement over existing methods for license plate extraction. The system is more accurate and can be used to extract license plates from a wider variety of video footage. The proposed system is still under development, but it has the potential to be a valuable tool for a variety of applications.
- Python 3.7
- PyTorch
- YoloV8
- GroundingDINO
To try this implementation, clone this repository and change the directory in the 'Vehicle_detection.py' file with the path to your video footage.



