Skip to content

HANI622/Sleep-Detection-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

😴 AI Sleep Detection System

An AI-powered Sleep Detection System built using Python, Flask, OpenCV, MediaPipe, and Pygame.

🚀 Features

  • 👁️ Real-time Eye Detection
  • 😴 Sleep Detection using EAR (Eye Aspect Ratio)
  • 🔔 Alarm when sleep is detected
  • 📊 Live Dashboard
  • 😊 Face Detection
  • 👀 Blink Counter
  • ⏱️ Sleep Timer
  • 🌐 Beautiful Flask Web Interface

🛠️ Technologies Used

  • Python
  • Flask
  • OpenCV
  • MediaPipe
  • Pygame
  • HTML
  • CSS
  • JavaScript

📂 Project Structure

SleepDetector/
│
├── app.py
├── detector.py
├── shared.py
├── requirements.txt
├── alarm.mp3
│
├── static/
│   └── style.css
│
└── templates/
    └── index.html

▶️ Installation

Clone the repository

git clone https://github.com/HANI622/Sleep-Detection-System.git

Go to project folder

cd Sleep-Detection-System

Install requirements

pip install -r requirements.txt

Run

python app.py

Open

http://127.0.0.1:5000

📸 Screenshots

(Add project screenshots here)


👨‍💻 Developed By

Honey

AI & Data Science Student


⭐ If you like this project

Give this repository a ⭐ Star.

About

AI-powered Sleep Detection System using Python, OpenCV, MediaPipe and Flask.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors