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.
