Skip to content

Sonu-Hansda/Face-Fatigue-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Fatigue Detection System

A computer vision-based system that detects driver/user fatigue in real-time using facial landmark analysis. The system monitors eye closure, yawning, and head posture to determine fatigue levels without requiring ML model training.

✨ Features

  • Real-time face mesh detection using MediaPipe
  • Side-by-side visualization: Normal view + Analyzed mesh view
  • Multi-metric fatigue analysis:
    • EAR (Eye Aspect Ratio): Detects eye closure
    • MAR (Mouth Aspect Ratio): Detects yawning
    • Head Pose: Monitors head tilting/drooping
  • Color-coded feedback: Green = Normal, Red = Fatigue indicators
  • Fatigue level meter: 0-100% visual indicator
  • No training required: Rules-based detection

Fatigue Detection System - Before & After

System in Action

NORMAL STATE FATIGUE STATE
Normal Fatigue
EAR: 0.32 (Open) EAR: 0.18 (Closed)
MAR: 0.41 (Normal) MAR: 0.72 (Yawning)
Head Tilt: Head Tilt: 22°
Fatigue: 15% Fatigue: 85%
Status: AWAKE Status: DROWSY

Live Visual

Normal State

Fatigue State

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors