Master's Thesis

Patient-specific Video-based Detection of Epileptic Seizures

Mariana Madruga Bernardino2025

Key information

Authors:

Mariana Madruga Bernardino (Mariana Madruga Bernardino)

Supervisors:

Vicente Mayer Mendonça de Lima Garção (Vicente Mayer Mendonça de Lima Garção); Hugo Humberto Plácido da Silva (Hugo Humberto Plácido da Silva)

Published in

December 2, 2025

Abstract

Epilepsy is a neurological disease characterized by recurrent seizures, affecting more than 50 million individuals worldwide. For those at risk of severe motor seizures—such as tonic–clonic events—timely detection is crucial to enable rapid caregiver intervention and reduce the risk of complications, including physical injury and Sudden Unexpected Death in Epilepsy (SUDEP). In this context, detection models that achieve low latency together with near-zero false alarm rates can provide substantial clinical value, even with moderate sensitivity, particularly when used alongside more sensitive but slower monitoring systems. This work presents a video-based framework for detecting tonic–clonic seizures using only RGB recordings acquired under real clinical monitoring conditions. To extract discriminative motion features from raw video, a human pose estimation (HPE) pipeline was developed and evaluated on data from two Epilepsy Monitoring Units. A custom annotated dataset was created to fine-tune state-of-the-art HPE models, revealing that architecture choice and dataset homogeneity are essential for reliable keypoint localization in challenging in-bed environments. A transformer-based model (PVT v2) achieved the strongest performance and served as the foundation for downstream analysis. Using spatial, temporal, and frequency features derived from pose sequences, a gradient-boosted classifier was trained to identify seizure events. The proposed system achieved zero false alarm rates and average detection latencies below 33 s, outperforming comparable unimodal video-based approaches. These findings highlight the potential of pose-based video analysis as a privacy-preserving, interpretable, and clinically viable solution for continuous seizure monitoring.

Publication details

Authors in the community:

Supervisors of this institution:

Fields of Science and Technology (FOS)

industrial-biotechnology - Industrial Biotechnology

Publication language (ISO code)

eng - English

Rights type:

Embargoed access

Date available:

October 27, 2026

Institution name

Instituto Superior Técnico