Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 1.51 KB

File metadata and controls

64 lines (45 loc) · 1.51 KB

Automatic Number Plate + vechicle type Detection and Recognition using YOLOv8

download.mp4

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