A Real-Time Drowsiness Detection Tool using Python & OpenCV
The Sleeping Alarm System is a Python-based application that leverages computer vision to detect if a user is falling asleep while working on a PC or laptop. By analyzing facial landmarks and eye status, it ensures users remain alert and productive.
- 🎥 Live Webcam Monitoring
- 👁️ Face & Eye Detection using Haar Cascades
- 🔊 Real-Time Audio Alarm on Sleep Detection
- ⚡ Lightweight and responsive performance
| Technology | Role |
|---|---|
| 🐍 Python | Core language |
| 🧠 OpenCV | Image processing & detection |
| 🔢 NumPy | Array operations |
| 💻 VS Code | Development IDE |
- Capture webcam feed in real-time.
- Detect eyes and face using Haar cascades.
- Analyze blinking & eye aspect ratio.
- Trigger an alarm if sleep is detected for multiple frames.
