Manojkompadav/driver-drowsiness ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple driver drowsiness detection app in Python.

I want it to watch a camera feed, figure out when a driver looks sleepy or distracted, and trigger a clear alert when it thinks the person is getting drowsy. It should feel like a complete small project that I can run from the main file, with the logic split into sensible parts for input, perception, decision making, and the app flow.

Please make it easy to understand and test, and include whatever basic setup is needed so I can try it out locally. If you need to check current library docs or examples online, go ahead and do that. I’d also like the code to be organized so it would be easy to extend later with things like better alerts or more accurate detection.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab