Giter Site home page Giter Site logo

kathirvelthangaraju / driver-drowsiness-detection Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 6.05 MB

In this repository you will find an efficient 'Real Time Driver Drowsiness Detection for an Intelligent Transportation System', that will work on various constraints like while wearing Eye Glasses, Mask etc.

License: GNU General Public License v3.0

Python 100.00%
alert-system driver-drowsiness eye-aspect-ratio eye-tracking mouth-tracking python yawn-detection eye-glass-detection mouth-aspect-ratio real-time

driver-drowsiness-detection's Introduction

Real-Time-Driver-Drowsiness-Detection-

PROPOSED-SYSTEM
The proposed system for a driver drowsiness detection system incorporates advanced technologies to enhance road safety. By leveraging computer vision techniques and machine learning algorithms, the system monitors the driver's facial expressions, eye movements, and Yawning to detect signs of drowsiness. Real-time data from cameras inside the vehicle fed into the system, Then the data is preprocessed and then by using Harr-Cascade algorithm face recognition is done. By Eye Aspect Ratio (EAR) the openness of the eye is checked. Then the Mouth Aspect Ratio is used to check the openness of the mouth for yawning, which then analyzes the collected information to determine the driver's level of alertness. In the event of detecting drowsiness, the system triggers auditory warnings to prompt the driver to regain focus.

WORKING
STEP 1: Importing OpenCV.
STEP 2: Apply Harr cascade algorithm to identify key points on the face, such as eyes, mouth, and nose.
STEP 3: Calculate the Eye Aspect Ratio (EAR) to determine the openness of the eyes.
STEP 4: Monitor the mouth for yawning movements.
STEP 5: If the calculated EAR falls below a certain threshold for a specific duration, it indicates drowsiness.
STEP 6: Then an auditory alert will played to alert the driver to regain his focus.

HOW TO RUN


CONTACT

driver-drowsiness-detection's People

Contributors

kathirvelthangaraju avatar

Stargazers

 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.