Skip to content
项目

Muhammad-Zeerak-Khan/Automatic-License-Plate-Recognition-using-YOLOv8

在 GitHub 查看

关于

使用 YOLOv8 检测车牌

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Automatic-Number-Plate-Recognition-YOLOv8

Demo

https://github.com/Muhammad-Zeerak-Khan/Automatic-License-Plate-Recognition-using-YOLOv8/assets/79400407/1af57131-3ada-470a-b798-95fff00254e6

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

探索相关项目

加载中…