GithubHelp home page GithubHelp logo

porcelainruler / driver-drowsiness-detection Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 70.74 MB

An Open-CV based python apllication which indicate whether the Driver is sleepy or not with various levels of Alerts.

License: Apache License 2.0

Python 100.00%
opencv python-3 data-science deep-learning

driver-drowsiness-detection's Introduction

Driver-Drowsiness-Detection

An Open-CV based python apllication which indicate whether the Driver is sleepy or not with various levels of Alerts.

Setting Up the Application (Ubuntu)

  1. Install python and pip if not have on PC.

    sudo apt-get install python3.6 sudo apt install python-pip

  2. Execute the following command in terminal:

    pip install -r requirements.txt

  3. Then, just simply run the application

    python final-integration.py

Setting Up Application (Windows)

  1. Install Anaconda package from there distribution.

  2. Install necessary packages as mentioned in requirements.txt file.

  3. Run final-integration.py file.

Future Works :

  1. Introduce Neck bend feature for sleeping indicator.

  2. Implementing above using a DNN and comparing the results.

  3. Integrate with a web up.

  4. Allow autodrive or automatic stopping (not instantaneous) of vehicle in case of Dangerous/Alarm level 3.

FAQ

  1. If No Camera Detected : Try to change port no. in cv2.VideoCapture(-1) to either 0 or -1.

driver-drowsiness-detection's People

Contributors

porcelainruler avatar

Watchers

James Cloos avatar  avatar

Forkers

gcv9htd

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.