项目作者: pprockys

项目描述 :
Driver Drowsiness Detector detects if a driver or a person is drowsy or not, using their eye movements.
高级语言: Python
项目地址: git://github.com/pprockys/drowsiness_detection.git
创建时间: 2019-03-09T17:07:44Z
项目社区:https://github.com/pprockys/drowsiness_detection

开源协议:

下载


drowsiness_detection

Applications

This can be used by riders who tend to drive for a longer period of time that may lead to accidents
Code Requirements

The example code is in Python (version 2.7 or higher will work).
Dependencies

  1. import cv2
  2. import immutils
  3. import dlib
  4. import scipy

Description

A computer vision system that can automatically detect driver drowsiness in a real-time video stream and then play an alarm if the driver appears to be drowsy.
Algorithm

Each eye is represented by 6 (x, y)-coordinates, starting at the left-corner of the eye (as if you were looking at the person), and then working clockwise around the eye:.