Top AI Repos โ open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A simple Drowsiness Detection module for humans. ๐ด ๐ซ ๐
| Date | Stars |
|---|---|
| 2026-07-24 | 544 |
| 2026-07-25 | 544 |
| 2026-07-28 | 544 |
| 2026-07-30 | 544 |
| 2026-08-06 | 544 |
Today
โ stars today
This week
โ stars this week
This month
โ stars this month
Momentum
0.0
growth rate 0.00%/day
# Drowsiness Detection OpenCV ๐ด ๐ซ ๐
[](https://github.com/akshaybahadur21/Drowsiness_Detection/blob/master/LICENSE.txt) [](https://akshaybahadur.com)
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](https://www.python.org/download/releases/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.
<img src="https://github.com/akshaybahadur21/Drowsiness_Detection/blob/master/assets/eye1.jpg">
#### Relationship
<img src="https://github.com/akshaybahadur21/Drowsiness_Detection/blob/master/assets/eye2.png">
#### Summing up
<img src="https://github.com/akshaybahadur21/Drowsiness_Detection/blob/master/assets/eye3.jpg">
For more information, [see](https://www.pyimagesearch.com/2017/05/08/drowsiness-detection-opencv/)
### Results ๐
<img src="https://github.com/akshaybahadur21/BLOB/blob/master/drowsy.gif">
### Execution ๐
To run the code, type `python Drowsiness_Detection.py`
```
python Drowsiness_Detection.py
```
###### Made with โค๏ธ and ๐ฆ by Akshay Bahadur
## ๐ Cite Us
To cite this guide, use the below format:
```
@article{Drowsiness_Detection,
author = {Bahadur, Akshay},
journal = {https://github.com/akshaybahadur21/Drowsiness_Detection},
month = {01},
title = {{Drowsiness_Detection}},
year = {2018}
}
```
## References ๐ฑ
- Adrian Rosebrock, [PyImageSearch Blog](https://www.pyimagesearch.com/2017/05/08/drowsiness-detection-opencv/)
Excerpt of 2,279 characters
Read on GitHub16
Manuel Romero ยท ClibrAIn ยท Spain
1
1
1
1
1
Would you bet a product on this? Bounded 0โ100 and slow moving.
matched fp:80e8263b5e76b525, topic:computer-vision, topic:opencv, readme:computer vision