Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.66 KB

File metadata and controls

35 lines (27 loc) · 1.66 KB

Yolov7-License-Plate-Recognition-Program

  • License plate part "detect_plate.py"
github.1.mp4
  • Line crossing cars counter part "detect_cross.py"
traf.2._Trim.1.mp4

Features

  • Count license plates or cars if they cross the line on the screen and take shots of their plates and send them to the database
  • On the database, license plates get applied super-resolution process for better vision
  • Code can run on Both (CPU & GPU)

Steps to run Code

Using License plate recognition

 %cd /content/drive/MyDrive/yolo_Car/yolov7
!python detect_plate.py --weights /content/drive/MyDrive/yolo_Car/plate/weights/best.pt --conf 0.1 --source /content/drive/MyDrive/yolo_Car/Plate.mp4 --video_frame 10

Using line crossing car counter plate

%cd /content/drive/MyDrive/yolo_Car/yolov7
!python detect_cross.py --weights "yolov7.pt" --conf 0.1 --source /content/drive/MyDrive/yolo_Car/traf.mp4 --video_frame 2

References