Giter Club home page Giter Club logo

drowsydrive-alert's Introduction

GitHub contributors License

DrowsyDrive-Alert

A Drowsiness Driving Alert implementation with the use of MediaPipe
Explore the docs »

View Demo · Installation · Contact

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact
  6. Acknowledgments

About The Project

The following repository describes a computer vision project with the objective of driver drowsiness detection by implementation of CNNs (Convolutional Neural Networks), developed by students of the Polytechnic University in Madrid (UPM) as part of the course 'Computer Vision'. In this repo it can be found the libraries, results and a collection of the reports produced during the development of this project.

(back to top)

Built With

List of major frameworks/libraries used for this project.

  • MediaPipe
  • Jupyter Notebook
  • Google Colab

(back to top)

Getting Started

In order to reproduce the Drowsiness System Detection you can clone this repo:

git clone https://github.com/jbarciv/DrowsyDrive-Alert.git

or just download the Notebook for the alarm system along with the MediaPipe face landmarker.

Prerequisites

All the system has been develop on Ubuntu 20.04. Although it has not been tested, the following process should be practically the same for Windows except for minor details. We do not assure compatibility with Windows but we believe it is easily achievable.

We recommend to create a virtual environment in which to run the Notebook.

  • Create the venv:
python3 -m venv myvenv
  • Activate your venv:
source myvenv/bin/activate

we recommend you to create and alias in your .bashrc file:

alias myvenv='source ~/the_path_to_venv_folder/myvenv/bin/activate'

Installation

Only the Jupyter Notebook and some basic libraries are needed, you can install them easily in your venv using pip:

  • Install Jupyter Notebook:
pip install notebook
  • Install the libraries:
pip install opencv-python mediapipe

Usage

With the use of MediaPipe we have implemented a driving drowsiness detection system. It relies only on visual perception from a camera (potencially the use of the front phone camera). The systems expects to have a close vision of the driver and a daylight conditions. The systems has not been tested with IR cameras for a robust light conditions.

Drowsiness Deteccion 1 Drowsiness Deteccion 1

(back to top)

License

Distributed under the BSD 3-Clause License. See LICENSE.txt for more information.

(back to top)

Contact

Ivonne Dayanna Quishpe Villagomez - [email protected]
Juan Gustavo Maldonado Quispe - [email protected]
Micaela Cabrera Guerrero - [email protected]
Jorge Guijarro Tolon - JTlotus - [email protected]
Josep Mª Barberá Civera - jbarciv - [email protected]

Visit our project website for more info: https://driver-drowsiness-detect.webflow.io/

(back to top)

Acknowledgments

Here we list resources we find helpful and would like to give credit to.

(back to top)

drowsydrive-alert's People

Contributors

jbarciv avatar jtlotus avatar

Stargazers

 avatar  avatar

Watchers

 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.