Most existing distracted driver detection models depend on high-resolution multi-camera setups and serious compute power; conditions that don't reflect how safety systems actually get deployed in the real world. We set out to build something that could work on a compact device with a single camera angle, without sacrificing meaningful accuracy.

Challenge

Solution!

Tech Stack Python, TensorFlow, Keras, OpenCV, NumPy, Pandas, Jupyter Notebook

I led the MobileNet implementation for our four-model comparison study, and prepared the research report, while also supporting teammates in fine-tuning their respective models.

MobileNet was a natural fit for this problem: it’s depthwise separable convolutions keep the parameter count low without a significant accuracy penalty, making it genuinely viable for edge deployment scenarios. I extended the base model by adding two hidden layers with ReLU activation, batch normalization to reduce variance between batches, and dropout to guard against overfitting. I also reworked the training setup to optimize for accuracy rather than the original logarithmic loss, tuned the learning rate to 0.005 for stable convergence, and extended training to 30 epochs with early stopping patience of 20.

A key preprocessing decision was splitting the dataset by driver ID rather than randomly, which prevents data leakage by ensuring the network sees entirely different drivers at test time. I also applied image augmentation (height, width, zoom shifts and 30° rotation) to synthetically expand the training set and improve generalization across lighting conditions and camera angles.

Deliverables & Results

  1. Fine-tuned MobileNet model achieving 91.55% training accuracy and 82.64% test accuracy, outperforming the state-of-the-art dual-camera MobileNet benchmark (83.5%) using a single dashcam angle and significantly less compute

  2. Cross-model comparison study across four fine-tuned architectures (MobileNet, ResNet50, VGG-16, Xception), identifying MobileNet as the strongest accuracy-to-compute tradeoff for real-world deployment. Stakeholder analysis covering hospitals, patients, researchers, and legislative considerations.

  3. Full research report compiled and edited across all four model implementations, with hands-on support provided to teammates during their own fine-tuning processes