Skip to content

MuhammadMoinFaisal/Automatic_Number_Plate_Detection_Recognition_YOLOv8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic Number Plate Detection and Recognition using YOLOv8

Steps to run Code

  • Clone the repository
git clone https://github.com/MuhammadMoinFaisal/Automatic_Number_Plate_Detection_Recognition_YOLOv8.git
  • Goto the cloned folder.
cd Automatic_Number_Plate_Detection_Recognition_YOLOv8
  • Install the dependecies
pip install -e '.[dev]'

  • Setting the Directory.
cd ultralytics/yolo/v8/detect
  • Downloading a Weights from the Google Drive
gdown "https://drive.google.com/uc?id=1dIyJooVaowaNUj0R1Q-HUnu-utiGsEj8&confirm=t"
  • Downloading a Sample Video from the Google Drive
gdown "https://drive.google.com/uc?id=1P-oVR0J35Dw40lzw47sE19oADSW-tyb1&confirm=t"

  • Run the code with mentioned command below (For Licence Plate Detection).
python predict.py model='best.pt' source='demo.mp4'
  • For Licence Plate Detection and Recognition

  • Download the Updated predict.py file from the drive

gdown "https://drive.google.com/uc?id=1S6GkQcDq8W0ThaUeZ708UegHIRiVWzTo&confirm=t"
  • Run the code with mentioned command below (For Licence Plate Detection and Recognition).
python predict.py model='best.pt' source='demo.mp4'

RESULTS

Licence Plate Detection and Recognition

Licence Plate Detection and Recognition

Watch the Complete Step by Step Explanation

Watch the Complete Tutorial for the Step by Step Explanation