Skip to content

PRATHAM777P/SLEEPING-ALARM-SYSTEM_-Python-Project-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️💻 Sleeping Alarm System

A Real-Time Drowsiness Detection Tool using Python & OpenCV


🧠 Overview

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.


📸 Demo Preview

🧑‍💻 Real-Time Sleep Detection

Output


🎯 Features

  • 🎥 Live Webcam Monitoring
  • 👁️ Face & Eye Detection using Haar Cascades
  • 🔊 Real-Time Audio Alarm on Sleep Detection
  • ⚡ Lightweight and responsive performance

🛠️ Tech Stack

Technology Role
🐍 Python Core language
🧠 OpenCV Image processing & detection
🔢 NumPy Array operations
💻 VS Code Development IDE

🔍 How It Works

  1. Capture webcam feed in real-time.
  2. Detect eyes and face using Haar cascades.
  3. Analyze blinking & eye aspect ratio.
  4. Trigger an alarm if sleep is detected for multiple frames.

About

A Python-Based System Using Computer Vision (OpenCV, NumPy) To Detect User Sleep Through Webcam Input and Trigger an Alarm to Keep the User Alert.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages