02 / MSc AI Research2024 — 2025

Driver Monitoring

Real-time four-class driver-behaviour recognition from monocular RGB video.

My role

MSc Artificial Intelligence Researcher

Case study preview
Driver Monitoring project visual

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.

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.

PythonTensorFlow/KerasOpenCVMobileNetV2BiLSTMTransformer

The problem.

Recognise behaviour from short video sequences rather than isolated frames while keeping inference efficient enough for a real-time prototype.

What I did.

01

Prepared balanced 8-second video clips and built preprocessing for sampled RGB frame sequences.

02

Used a MobileNetV2 visual backbone with temporal alternatives including BiLSTM, Transformer and temporal-convolution approaches.

03

Evaluated models using accuracy, precision, recall, F1, macro ROC-AUC, mAP, calibration/ECE and confusion-style error analysis.

04

Investigated class imbalance, dominant-class behaviour, prediction instability and misclassification patterns.

05

Built rolling-buffer live inference with temporal smoothing and latency/FPS testing.

How the system moves.

A simplified view of the main runtime path, showing the engineering layers rather than implementation noise.

01→

Live RGB video

02→

Frame sampling

03→

MobileNetV2

04→

Temporal model

05→

Smoothing

06

Behaviour prediction

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.

Four behaviour classes
Spatiotemporal deep learning
Model calibration & error analysis
Rolling-buffer live inference
Resource-aware deployment focus

A research pipeline connecting comparative deep-learning experimentation to a working real-time inference prototype.