akshaybahadur21/Drowsiness_Detection
akshaybahadur21/Drowsiness_Detection has 545 GitHub stars and 263 forks. Star changes are not measured yet. Last checked 2026-11-14 02:13 UTC. Last push 2025-06-09.
์ธก์ ๋ ์คํ ์ฆ๊ฐ
- in 24h
- ๊ธฐ๋ก ์์ง ์ค
- in 7 days
- ๊ธฐ๋ก ์์ง ์ค
- in 15 days
- ๊ธฐ๋ก ์์ง ์ค
- in 1 month
- ๊ธฐ๋ก ์์ง ์ค
์๋ก ๊ฒน์น๋ ๊ธฐ๊ฐ์ ์์ฆ๊ฐ๋์ด๋ฉฐ ์ผ๋ณ ํฉ๊ณ๊ฐ ์๋๋๋ค. ์ธก์ ๊ฐ์ด ์์ผ๋ฉด ๋น์ ๋ก๋๋ค. ์คํ๋ ๊ด์ฌ๋๋ฅผ ๋ํ๋ด๋ฉฐ ํ์ง์ ๋ณด์ฅํ์ง ์์ต๋๋ค.
์๊ฐ
A simple Drowsiness Detection module for humans. ๐ด ๐ซ ๐
๊ฐ๋ฐ ๋๊ตฌREADME.md
OriginalDrowsiness 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
- import cv2
- import imutils
- import dlib
- 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
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
๊ด๋ จ ํ๋ก์ ํธ ์ดํด๋ณด๊ธฐ
codecrafters-io/build-your-own-x
์ข์ํ๋ ๊ธฐ์ ์ ์ฒ์๋ถํฐ ๋ค์ ๊ตฌํํ๋ฉฐ ํ๋ก๊ทธ๋๋ฐ์ ๋ง์คํฐํ์ธ์.
562,358 ์คํpublic-apis/public-apis
๋ฌด๋ฃ API๋ฅผ ๋ชจ์ ๋ ๋ชฉ๋ก
498,815 ์คํmorluto/rea
์์ด์ ํธ๋ฅผ ์ฌ์ฉํด ์ฑ ๋์๋ถํฐ ๋ค์ดํฐ๋ธ ๋ฐ์ด๋๋ฆฌ๊น์ง ๋ฌด์์ด๋ ๋ฆฌ๋ฒ์ค ์์ง๋์ด๋งํฉ๋๋ค.
457,888 ์คํopenclaw/openclaw
์ ๋ง๋ก ์ผ์ ํด๋ด๋ AI. ์ด๋ค ์ด์์ฒด์ ์ ํ๋ซํผ์์๋ ์ฌ์ฉํ ์ ์์ต๋๋ค. ๋์คํฐ ๋ฐฉ์. ๐ฆ
394,404 ์คํ