Giter VIP home page Giter VIP logo

drowsiness-detection's Introduction

Drowsiness-Detection

Driver fatigue is one of the major causes of accidents in the world. Detecting the drowsiness of the driver is one of the surest ways of measuring driver fatigue. In this project we aim to develop a prototype drowsiness detection system. This system works by monitoring the eyes and mouth of the driver and sounding an alarm when he/she is drowsy. The programming for this is done in OpenCV using the Dlib library for the detection of facial features.

Installations

  1. Install Python 3.6 in your system.
    • Click here to install.
  2. Now install OpenCV and dlib also.
    • Click here to install OpenCV.
    • To install Dlib :

Implementation

  1. To change the camera use 0 for internal camera and 1 for external webcam in the cap = cv2.VideoCapture(0) of Drowsiness_detection.py.
  2. Run using python Drowsiness_detection.py command.

Screenshots

Screenshot (27)~2 Screenshot (29)~2 Screenshot (46)~2

drowsiness-detection's People

Contributors

akiisinghal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.