|
3 | 3 | - Fatigue and drowsiness detection algorithm |
4 | 4 | - Timely alerts to prevent the driver from falling asleep |
5 | 5 | - Non-intrusive and easy to set up |
6 | | -- **📱 Progressive Web App (PWA) support - Install like a native app!** |
7 | | -- **🔄 Offline functionality with caching** |
8 | | -- **🚀 Fast loading with optimized performance**on System |
| 6 | +- Progressive Web App (PWA) support - Install like a native app! |
| 7 | +- Offline functionality with caching |
| 8 | +- Fast loading with optimized performance on System |
9 | 9 |
|
10 | 10 | <p align="center"> |
11 | 11 | <img src="https://img.shields.io/github/stars/Gagandeep-2003/Driver-Drowsiness-Detection-System?style=social" alt="GitHub stars" /> |
@@ -68,17 +68,35 @@ source venv/bin/activate # On Windows: venv\Scripts\activate |
68 | 68 |
|
69 | 69 | ## Folder Structure |
70 | 70 | ``` |
71 | | -Driver-Drowsiness-Detection-System/ |
72 | | -├── drowsiness_detector/ |
73 | | -│ ├── detector.py |
74 | | -│ └── utils.py |
75 | | -├── models/ |
76 | | -│ └── shape_predictor_68_face_landmarks.dat |
77 | | -├── assets/ |
78 | | -│ └── demo.gif |
79 | | -├── main.py |
80 | | -├── requirements.txt |
81 | | -├── README.md |
| 71 | +driver-drowsiness-detection-system/ |
| 72 | +│ |
| 73 | +├── main.py # Entry point for the system |
| 74 | +├── blinkDetect.py # Drowsiness detection script |
| 75 | +├── lanedetection.py # Lane detection module |
| 76 | +├── ui.py # User interface handling |
| 77 | +├── requirements.txt # Python dependencies |
| 78 | +├── CONTRIBUTING.md # Contribution guidelines |
| 79 | +├── DEPLOYMENT.md # Deployment instructions |
| 80 | +├── PWA_README.md # PWA installation & usage |
| 81 | +├── PWA_IMPLEMENTATION.md # Technical details of PWA |
| 82 | +│ |
| 83 | +├── models/ # Pre-trained ML models |
| 84 | +│ └── haarcascade_frontalface_default.xml |
| 85 | +│ |
| 86 | +├── streamlit_app/ # Web app (Streamlit + PWA) |
| 87 | +│ ├── streamlit_app.py |
| 88 | +│ ├── streamlit_app_pwa.py |
| 89 | +│ ├── manifest.json |
| 90 | +│ ├── sw.js |
| 91 | +│ └── icons/ # App icons for PWA |
| 92 | +│ |
| 93 | +├── assets/ # Images, audio, and test files |
| 94 | +│ ├── alarm.wav |
| 95 | +│ ├── alarm.mp3 |
| 96 | +│ ├── eye.PNG |
| 97 | +│ ├── eye_aspect_ratio.PNG |
| 98 | +│ ├── face.PNG |
| 99 | +│ └── test_image.jpg |
82 | 100 |
|
83 | 101 | ``` |
84 | 102 |
|
|
0 commit comments