Skip to content

AdityaSharma-Git3207/Sleep-Detector-Web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LUCID AI — Real-Time Drowsiness Detection in the Browser

LUCID AI is a browser-based fatigue detection system that uses real-time webcam input and facial landmark tracking to monitor eye closure and detect possible drowsiness.

Built for accessibility and instant use, the application runs directly in the browser with no installation or backend required.


Live Deployment

https://sleep-detector-web.vercel.app/

Try it instantly in your browser.


Why I Built This

Fatigue-related accidents often begin in quiet moments — a delayed reaction, a prolonged blink, or a momentary lapse in attention.

I first explored this problem through a local Python/OpenCV prototype, then rebuilt it as a modern web application so anyone could access it instantly without installing software.

Previous Prototype:
https://github.com/AdityaSharma-Git3207/Sleep-Detector-Program


Features

  • Real-time webcam monitoring
  • Eye closure detection using facial landmarks
  • Instant fatigue alerts
  • Fully browser-based experience
  • No backend required
  • Responsive UI dashboard
  • Public live deployment

Tech Stack

  • HTML5
  • CSS3
  • JavaScript
  • MediaPipe Face Mesh
  • WebRTC
  • Vercel

How It Works

  1. User grants webcam permission
  2. Face landmarks are tracked in real time
  3. Eye openness is continuously measured
  4. If prolonged closure is detected, an alert is triggered

Want to Run Locally?

  • Clone the repository:
git clone https://github.com/AdityaSharma-Git3207/Sleep-Detector-Web.git
cd Sleep-Detector-Web

Built By

Aditya Sharma
Engineering Student • Builder • Open Source Contributor

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors