Realtime driver drowsiness detection (Sleep detection) using facial landmarks
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
cpp code Update sleep_detection.cpp Sep 12, 2017 Update Sep 12, 2017 Update Sep 8, 2017
test1.jpg upload test images Sep 6, 2017
test2.jpg upload test images Sep 6, 2017

Sleep detection

This repository contains two app for driver drowsiness detection via eye monitoring being it closed or opened.

  1. Python code: Simple app to detect the status of eye being it closed or opened ( (test1.jpg and test2.jpg are for testing))

  1. C++ code: Realtime sleep detection (cpp code/sleep_detection.cpp)


  1. Install Opencv3 for realtime sleep detection (C++ code).
  2. Install Python.
  3. Install Dlib and its dependencies .

For more info :

Realtime Driver Drowsiness Detection (Sleep Detection)



Real-Time Eye Blink Detection using Facial Landmarks by Tereza Soukupova and Jan Cech