This computer vision project encompasses all machine learning pipelines, from data collection to model deployment.
The goal of this project is to develop a robust object detection model capable of identifying various entities including humans, animals, traffic signs, motorbikes, and motorcycles. Data collection involved sourcing datasets from platforms like Kaggle and RobotFlow, followed by annotation of unannotated objects. The YOLOv8 model from Ultralytics was trained on this curated dataset. The model is intended for deployment on a website.
For more detailed information, please refer to the project report within the repository.
To utilize the features developed in this project, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/H4ADriving/Traffic-Object-Detection.git
-
Navigate to the project directory:
cd Traffic-Object-Detection -
Ensure you have all the necessary dependencies installed. You can install them using pip:
pip install -r requirements.txt
-
Before running the application, make sure to set the path to the trained model file in the
app1.pyfile. -
Once you've set the model path, you can execute the
app1.pyfile to run the website:python app1.py
-
Access the website by opening your web browser and navigating to
http://localhost:5000. -
Explore the developed features and functionalities of the website for traffic object detection.
You can access the dataset used for this project here.
- Animals Dataset: Kaggle - Animals Detection Images Dataset
- Motorcycles Dataset: RoboFlow - Motorbike and Helmet Detect
- Humans Data: RoboFlow
- Traffic Signs Dataset: Kaggle - Jordanian Traffic Signs
- Cars Dataset: RoboFlow - Cars Detecting and How Many
The YOLOv8 model from Ultralytics was utilized for object detection tasks in this project. You can find more information about the YOLOv8 model here.
For additional information, including detailed datasets and project documentation, please visit the provided links.