← 开源

License Plate Detection using YOLOv8

ApplicationsObject detectionPython
增长势头
+024 小时新增 Star0.0%
482
Star
165
Fork
+0
本周
1
贡献者
创建于 2023-07-28 · 更新于 2026-11-30 · 今日第 22637 名
主要开发者
Muhammad-Zeerak-Khan
README

Automatic-Number-Plate-Recognition-YOLOv8

Demo

license.plate.recording.for.git.mp4

Data

The video used in the tutorial can be downloaded here.

Model

A Yolov8 pre-trained model (YOLOv8n) was used to detect vehicles.

A licensed plate detector was used to detect license plates. The model was trained with Yolov8 using this dataset.

  • The model is available here.

Dependencies

The sort module needs to be downloaded from this repository.

git clone https://github.com/abewley/sort

Project Setup

  • Make an environment with python=3.10 using the following command
conda create --prefix ./env python==3.10 -y
  • Activate the environment
source activate ./env
  • Install the project dependencies using the following command
pip install -r requirements.txt
  • Run main.py with the sample video file to generate the test.csv file
python main.py
  • Run the add_missing_data.py file for interpolation of values to match up for the missing frames and smooth output.
python add_missing_data.py
  • Finally run the visualize.py passing in the interpolated csv files and hence obtaining a smooth output for license plate detection.
python visualize.py
排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载