So last year for my final year project I built FocusFleet — a drowsy driver detection thing that actually works pretty well, and I’ve kept improving it since.
Basically it watches your face through the camera (468 landmarks via MediaPipe), tracks how much your eyes are closing and whether you’re yawning, and runs that alongside a Keras model I trained myself for a second opinion. If it thinks you’re actually falling asleep (not just blinking), it sets off an audio alert loud enough to snap you back.
There’s a whole state machine behind it too — active, warning, drowsy, face lost — so it’s not just spamming alerts on every blink, it actually waits for a real pattern before reacting.
You can run it two ways:
Honestly proudest of this one out of everything I built in college, so figured I’d finally share it here instead of letting it die in a folder. Would love to know what you think, if the detection feels accurate, or if it triggers false positives for anyone.