shahabbai / Persian_Plate_Recognition

Recognize Persian plate with YOLOv8
14 stars 3 forks source link
object-detection plate-recognition recognition yolo yolov8

Persian Plate Recognition

Recognize Persian plate with YOLOv8

This Repo created for detect persian cars and plates and then recognize every persian characters on the plate.

Prerequisite

YOLOv8 Ultralytics and all of Requirements for YOLOv8

use python 3.10

Demo

https://github.com/shahabbai/PersianPlateRecog/assets/133869713/ba761742-4dfa-4f29-a016-e3876cf0d8cf

Installation

pip install ultralytics==8.0.104

Run

3 options for run:

1.use the main python script

python main.py

2.use my streamlit link on your browser(this option no need any installation):

Streamlit App

3.use streamlit app.py and run it locally on your pc:

pip install streamlit
cd PersianPlateRecog
streamlit run app.py

Datasets

Created two datasets :

  1. Dataset for detection cars and plates Link

  2. Dataset for detection chars of the plates Link

    Models

    for simplicity of computational using yolov8s for cars and plates detection and using yolov8n for character detection

    Training Results

  3. yolov8s model for cars and plates detection

results (1)

  1. yolov8n model for characters detection

yolov8n_char_new_small