All Projects → akshaybahadur21 → Drowsiness_detection

akshaybahadur21 / Drowsiness_detection

Licence: mit

Programming Languages

python3
1442 projects

Projects that are alternatives of or similar to Drowsiness detection

Repo 2018
Deep Learning Summer School + Tensorflow + OpenCV cascade training + YOLO + COCO + CycleGAN + AWS EC2 Setup + AWS IoT Project + AWS SageMaker + AWS API Gateway + Raspberry Pi3 Ubuntu Core
Stars: ✭ 163 (-34.8%)
Mutual labels:  jupyter-notebook, raspberry-pi, opencv
Yolo Powered robot vision
Stars: ✭ 133 (-46.8%)
Mutual labels:  jupyter-notebook, raspberry-pi, opencv
Deeppicar
Deep Learning Autonomous Car based on Raspberry Pi, SunFounder PiCar-V Kit, TensorFlow, and Google's EdgeTPU Co-Processor
Stars: ✭ 242 (-3.2%)
Mutual labels:  jupyter-notebook, raspberry-pi, opencv
Smartopencv
🔥 🔥 🔥 SmartOpenCV是一个OpenCV在Android端的增强库,解决了OpenCV Android SDK在图像预览方面存在的诸多问题,且无需修改OpenCV SDK源码,与OpenCV的SDK解耦
Stars: ✭ 1,869 (+647.6%)
Mutual labels:  cv, opencv
Raspberryturk
The Raspberry Turk is a robot that can play chess—it's entirely open source, based on Raspberry Pi, and inspired by the 18th century chess playing machine, the Mechanical Turk.
Stars: ✭ 140 (-44%)
Mutual labels:  jupyter-notebook, raspberry-pi
Lacmus
Lacmus is a cross-platform application that helps to find people who are lost in the forest using computer vision and neural networks.
Stars: ✭ 142 (-43.2%)
Mutual labels:  cv, jupyter-notebook
Face mask detection
Face mask detection system using Deep learning.
Stars: ✭ 168 (-32.8%)
Mutual labels:  jupyter-notebook, opencv
Facerec Python
个人毕业设计 - 基于树莓派、OpenCV及Python语言的人脸识别
Stars: ✭ 195 (-22%)
Mutual labels:  raspberry-pi, opencv
Road lane line detection
Find lane lines on the road using Python and OpenCV, applying Canny edge detectors and Hough line transforms
Stars: ✭ 202 (-19.2%)
Mutual labels:  jupyter-notebook, opencv
Learnopencv
Learn OpenCV : C++ and Python Examples
Stars: ✭ 15,385 (+6054%)
Mutual labels:  jupyter-notebook, opencv
Raspberrypi Facedetection Mtcnn Caffe With Motion
MTCNN with Motion Detection, on Raspberry Pi with Love
Stars: ✭ 204 (-18.4%)
Mutual labels:  jupyter-notebook, opencv
Deeplearning cv notes
📓 deepleaning and cv notes.
Stars: ✭ 223 (-10.8%)
Mutual labels:  jupyter-notebook, opencv
Vidgear
A High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features 🔥
Stars: ✭ 2,048 (+719.2%)
Mutual labels:  raspberry-pi, opencv
Poppy Ergo Jr
🤖 Poppy Ergo Jr is an open-source robotic arm based on modular 3D printed conception and low-cost XL-320 motors.
Stars: ✭ 133 (-46.8%)
Mutual labels:  jupyter-notebook, raspberry-pi
Sltk
An OpenCV-based structured light processing toolkit.
Stars: ✭ 151 (-39.6%)
Mutual labels:  raspberry-pi, opencv
Raspisecurity
Home Surveillance for Raspberry
Stars: ✭ 128 (-48.8%)
Mutual labels:  raspberry-pi, opencv
Scriptsdump
The biggest dump of scripts ever!
Stars: ✭ 114 (-54.4%)
Mutual labels:  jupyter-notebook, opencv
Arm Vo
Efficient monocular visual odometry for ground vehicles on ARM processors
Stars: ✭ 115 (-54%)
Mutual labels:  raspberry-pi, opencv
Uc2 Git
Respository for Open-Science modular microscope system.
Stars: ✭ 203 (-18.8%)
Mutual labels:  jupyter-notebook, raspberry-pi
Photobooth
A flexible photobooth software
Stars: ✭ 227 (-9.2%)
Mutual labels:  raspberry-pi, opencv

Drowsiness Detection OpenCV

This code can detect your eyes and alert when the user is drowsy.

Sourcerer

Applications

This can be used by riders who tend to drive for a longer period of time that may lead to accidents

Code Requirements

The example code is in Python (version 2.7 or higher will work).

Dependencies

  1. import cv2
  2. import imutils
  3. import dlib
  4. import scipy

Description

A computer vision system that can automatically detect driver drowsiness in a real-time video stream and then play an alarm if the driver appears to be drowsy.

Algorithm

Each eye is represented by 6 (x, y)-coordinates, starting at the left-corner of the eye (as if you were looking at the person), and then working clockwise around the eye:.

Condition

It checks 20 consecutive frames and if the Eye Aspect ratio is less than 0.25, Alert is generated.

Relationship

Summing up

For more information, see

Working Example

Execution

To run the code, type python Drowsiness_Detection.py

python Drowsiness_Detection.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].