Giter Club home page Giter Club logo

drowsiness's Introduction

drowsiness

First Part : Import DataSet We use cv2 to get picture from training video

after this we pre trained model 68 landsmark to detect faces from frames & we use face_utile for get eye marks from model

We use this marks (6 for left eye / 6 for right ) to calculate the EAR

Then if ear<tresh ( random int <1) in this study we use 0,25 Then the system detect that it’s drowsy and save this image in the output Els Save image in the folder name alert

Seconde Part we use the tensorflow Hub /image_classifier to create graph model with the collected data set

then w use this graph to extract feature from the training data from CNN module and save it as sequence of matrix to use it as Input from LTSM

After this we run the train.py to get the final predictions for the test sequence of data and the alarm will sound if the model predicts the sequence to be in a drowsy state.

For training Data / Testing Data

We use the production vector to get if the driver drowsy or no and play alarm

The Parametre :

drowsiness's People

Contributors

zikosl 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.