Welcome to the Driver Sentinel! This application aims to enhance road safety by incorporating features such as drowsiness detection, seatbelt monitoring, and driving license verification. With AI-powered systems, this app ensures a safer driving experience for everyone.
- Drowsiness Detection: Tracks the driver's eye movements to detect signs of fatigue and triggers an alarm. 💤
- Seatbelt Detection: Monitors if the driver and passengers are wearing seatbelts, ensuring compliance with safety protocols. 🎗️
- License Detection: Identifies and verifies driving licenses using advanced object detection. 📜
- Streamlit Dashboard: Provides a real-time interface for easy monitoring and alerts. 🌐
A hosted version of the Driver Sentinel app is available at: Driver Sentinel
git clone https://github.com/yourusername/driver-sentinel.git
cd driver-sentinelpip install -r requirements.txtYou can run specific detection features by navigating to their respective folders and executing the Python scripts:
- Drowsiness Detection
cd DriverDrowsiness python detect_drowsiness.py - Seatbelt Detection
cd SeatBelt_Detection python detectSeatBelt.py - License Detection
cd DrivingLicense_Detection python detect_license.py - Running the Full Dashboard
To view all features in a single dashboard:
cd web_app streamlit run app.py
-
Fork the repository.
-
Create a new branch:
git checkout -b feature-branch
-
Make your changes. ✏️
-
Commit your changes:
git commit -am 'Add new feature' -
Push to the branch:
git push origin feature-branch
-
Open a pull request.: 📥
DrowsinessDetection/: Contains code and resources for detecting drowsiness.SeatBelt_Detection/: Houses scripts for real-time seatbelt usage monitoring.License_Detection/: Includes tools for driving license verification.web_app: Main file to run the Streamlit dashboard.requirements.txt: Python dependencies for the project.
The project relies on the following Python packages:
- TensorFlow
- OpenCV
- Streamlit
- NumPy
- Matplotlib
- Seaborn
- YOLOv8
- Keras
- scikit-learn
- playsound
Stay safe and drive responsibly! 🚦