This repository contains code and resources for detecting driver behaviors using the YOLOv10 object detection model. The dataset used for training is sourced from Roboflow, containing images labeled with three classes: mobile phone, seatbelt, and cigarette.
The objective of this project is to detect and classify specific driver behaviors that could be indicators of risky driving. By using YOLOv10, we aim to create an efficient and accurate model capable of real-time detection.
- Source: Roboflow
- Total Images: 9,901
- Classes:
- Mobile Phone
- Seatbelt
- Cigarette
- Architecture: YOLOv10
- Training Framework: Ultralytics YOLO
- Python 3.10 or later
- PyTorch (version compatible with your CUDA setup)
- Other dependencies listed in
requirements.txt
-
Clone the repository:
git clone https://github.com/yourusername/Driver-Behavior-Detection-using-YOLOv10.git cd Driver-Behavior-Detection-using-YOLOv10
-
Create and activate a virtual environment::
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required dependencies::
pip install -r requirements.txt
The trained YOLOv10 model achieves an overall mAP50 of 0.616 on a test dataset containing 2,393 images across three classes: mobile phone, seatbelt, and cigarette.
- Thanks to Roboflow for providing the dataset.
- Special thanks to Ultralytics for their implementation of YOLOv10.
For any inquiries or feedback, feel free to reach out:
- Email: [email protected]
- LinkedIn: Ibad's LinkedIn Profile