Driver Monitoring
Real-time four-class driver-behaviour recognition from monocular RGB video.
My role
MSc Artificial Intelligence Researcher
Behaviour classes
4
Normal, aggressive, distracted and drowsy driving.
Sequence window
8-second clips
Short temporal sequences preserve behaviour context beyond single frames.
Visual backbone
MobileNetV2
A lightweight CNN backbone chosen with real-time inference constraints in mind.
Evaluation
F1 · ROC-AUC · mAP · ECE
Performance was examined beyond accuracy, including calibration and class-level behaviour.
Overview
What I built.
MSc Artificial Intelligence dissertation exploring lightweight spatiotemporal deep-learning pipelines for detecting normal, aggressive, distracted and drowsy driving behaviours in real time.
Challenge
The problem.
Recognise behaviour from short video sequences rather than isolated frames while keeping inference efficient enough for a real-time prototype.
Contribution
What I did.
Prepared balanced 8-second video clips and built preprocessing for sampled RGB frame sequences.
Used a MobileNetV2 visual backbone with temporal alternatives including BiLSTM, Transformer and temporal-convolution approaches.
Evaluated models using accuracy, precision, recall, F1, macro ROC-AUC, mAP, calibration/ECE and confusion-style error analysis.
Investigated class imbalance, dominant-class behaviour, prediction instability and misclassification patterns.
Built rolling-buffer live inference with temporal smoothing and latency/FPS testing.
Architecture
How the system moves.
A simplified view of the main runtime path, showing the engineering layers rather than implementation noise.
Live RGB video
Frame sampling
MobileNetV2
Temporal model
Smoothing
Behaviour prediction
Engineering decisions
Why it was built this way.
01
Model behaviour over time
The pipeline uses short frame sequences rather than isolated images because driver behaviour is inherently temporal.
02
Keep visual extraction lightweight
MobileNetV2 provides a compact visual representation before temporal modelling, supporting the goal of a real-time prototype.
03
Compare temporal strategies
BiLSTM, Transformer and temporal-convolution alternatives were explored instead of assuming one sequence model would dominate.
04
Evaluate reliability, not only headline accuracy
Confusion patterns, macro metrics, ROC-AUC, mAP and calibration/ECE were used to expose unstable or over-confident behaviour.
Technical highlights
Result
A research pipeline connecting comparative deep-learning experimentation to a working real-time inference prototype.