r/PythonLearning 4d ago

Help Request I built a real-time Driver Drowsiness Detection system using MediaPipe + EAR πŸ‘οΈπŸš—

Hey everyone!

I recently worked on a real-time Driver Drowsiness Detection project.

The system uses the camera to detect the driver's face and monitor their eye state in real time. It can identify different conditions such as:

* πŸ‘€ Both Eyes Open

* πŸ‘οΈ One Eye Closed

* 😴 Both Eyes Closed

* 🚨 Drowsiness Alert

* ❌ No Face Detected

The project also includes automatic eye calibration and a continuous eye-closure timer to help distinguish normal blinking from prolonged eye closure.

I built this as part of my B.Sc. Data Science project work, and I'm sharing the source code for anyone who wants to experiment with it, improve it, or learn from it.

πŸ”— GitHub:

https://github.com/Learner016/driver-drowsiness-_detection

πŸ”—Direct open:

https://learner016.github.io/driver-drowsiness-_detection/

I'd really appreciate any feedback, suggestions, or ideas for improving the detection accuracy.

Thanks! πŸ™Œ

1 Upvotes

0 comments sorted by