Skip to content

AndreasJJ/EiT

Repository files navigation

EiT

Drowsiness Detection

Installation

Mac

This might work on windows and linux too, but no guarantees.

Command: pip install -r requirements-mac.txt

Command: pip3 install -r requirements-mac.txt

Run

Be in the EiT folder

Command: python src/__main__.py --shape-predictor src/datasets/shape_predictor_68_face_landmarks.dat -a src/audio/alarm.wav -n src/audio/notification.wav

Command: python3 src --shape-predictor src/datasets/shape_predictor_68_face_landmarks.dat -a src/audio/alarm.wav -n src/audio/notification.wav

Information

The face is divided up into 68 points as seen in the picture below: face

MAR

The mar is calculated from points 49-60 By getting the length of A, B, and C as seen below: face

About

Drowsiness Detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages