Skip to content

ftmsevvalc/Traffic-Sign-Detection-and-Warning-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

traffic-signs

Traffic Sign Detection & Warning System - YOLOv8

#️⃣ Purpose

This project is developed with the aim of detecting traffic signs using the YOLOv8 object detection model and displaying appropriate warnings to drivers in real time. This repo also contains test files that YOLOv8 object detection through images and different aspects of loading custom dataset model.

Dataset Preparation
The dataset used in this project has been obtained through the Roboflow platform. Roboflow is a tool used to create and manage labeled image datasets with also used as open source. Visit Custom Dataset Model!

Model Training
Google Colab and the YOLOv8 notebook were used for model training. To follow the training steps, see the How to run or develop this type of project?

#️⃣ How To Run or Develop?

Model Training

  1. Create a new notebook in Google Colab.
  2. Install the necessary dependencies within the YOLOv8 notebook.
  3. Upload your dataset to Google Drive and access it through the notebook.
  4. Train the model by following the notebook step by step.
  5. Save the obtained weights file with the .pt extension at the end of training.

Code Usage

  1. Add the .pt weight file obtained at the end of training to the weights folder.
  2. Run the traffic sign detection and warning system application using the real-time.py file.
git clone https://github.com/ftmsevvalc/Traffic-Sign-Detection-and-Warning-system.git
cd Traffic-Sign-Detection-and-Warning-system
python3 real-time.py