nullbyte91/Driver-Monitoring-System-Gaze_Detection ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python driver monitoring app that watches a live camera feed and checks whether the driver is paying attention.
It should detect the face, find facial landmarks, estimate head pose, and track gaze so it can tell when the driver is looking away, distracted, or maybe drowsy. I want it to show the video with simple visual overlays and some clear on screen alerts when attention looks unsafe. If possible, make it easy to run from one main script and keep the code organized so the detection logic, utilities, and resources are separated cleanly.
Use the existing project structure if it helps, and look up current docs online if you need to. Please make it feel like a working prototype I can run locally, with sensible defaults and comments where needed so I can understand and tweak it later.
Are you gonna build this?
make sure you review the code using coderabbit