{"repo":"akshaybahadur21/Drowsiness_Detection","free":true,"listed":false,"github":"https://github.com/akshaybahadur21/Drowsiness_Detection","clone":"git clone https://github.com/akshaybahadur21/Drowsiness_Detection.git","description":"A simple Drowsiness Detection module for humans. 😴 🚫 🚗","language":"Jupyter Notebook","stars":544,"topics":["opencv","opencv3-python","computer-vision","cv","cv2","raspberry-pi","drowsy-driver-warning-system","drowsiness-detection","python3","eyes"],"license":"MIT","category":"machine-learning","readme_excerpt":"Drowsiness Detection OpenCV 😴 🚫 🚗 This code can detect your eyes and alert when the user is drowsy. 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. 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 Results 📊 Execution 🐉 To run the code, type python Drowsiness Detection.py Made with ❤️ and 🦙 by Akshay Bahadur 📌 Cite Us To cite this guide, use the below format: References 🔱 - Adrian Rosebrock, PyImageSearch Blog","default_branch":null,"files":null,"tree":[],"storefront":"/r/akshaybahadur21","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/akshaybahadur21/Drowsiness_Detection/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}