Skip to main navigation Skip to search Skip to main content

Optimizing Stroke Recognition With MediaPipe and Machine Learning: An Explainable AI Approach for Facial Landmark Analysis

  • BRAC University
  • King Saud University
  • Woosong University

Research output: Contribution to journalArticlepeer-review

16 Citations (Scopus)

Abstract

Early detection of stroke is critical for improving survival rates and recovery. This study presents an innovative approach to stroke diagnosis through the analysis of facial landmarks combining MediaPipe’s facial landmark detection with advanced machine learning models’ Random Forest (RF), Extreme Gradient Boosting (XGB), and Categorical Boosting (CB). A comprehensive dataset of stroke and non-stroke facial images are curated, with MediaPipe extracting 228 facial landmarks from key regions affected by stroke-related asymmetry. Explainable AI (XAI) techniques are applied to enhance model interpretability, allowing for a deeper understanding of the most significant facial regions contributing to stroke prediction. The machine learning models are individually optimized through hyperparameter tuning, and further we propose a Multimodal Voting Classifier (MVC). By aggregating the predictions through majority voting or weighted averaging, the system reduces the likelihood of incorrect classifications that might arise from a single model’s limitations. This results in a more stable and generalized model with improved diagnostic accuracy, as demonstrated by its 94.75% accuracy, than any individual model’s performance. Feature importance analysis, facilitated by XAI, identified key facial regions—such as the eyes, cheeks, and lips—as critical indicators of stroke, significantly improving the model’s diagnostic precision. Additionally, t-SNE visualization is employed to provide insight into classifying the stroke and non-stroke cases, reinforcing the model’s robustness. Real-time metrics show the model’s efficiency and adaptability across diverse hardware, enabling practical clinical integration. The proposed system offers a cost-effective, non-invasive diagnostic tool that can be implemented in real-time, potentially improving accessibility to stroke diagnosis in remote and resource-limited areas.

Original languageEnglish
Pages (from-to)32636-32660
Number of pages25
JournalIEEE Access
Volume13
DOIs
Publication statusPublished - 2025

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 3 - Good Health and Well-being
    SDG 3 Good Health and Well-being

Keywords

  • Explainable AI
  • MediaPipe
  • facial landmarks analysis
  • feature importance
  • machine learning
  • stroke recognition

Fingerprint

Dive into the research topics of 'Optimizing Stroke Recognition With MediaPipe and Machine Learning: An Explainable AI Approach for Facial Landmark Analysis'. Together they form a unique fingerprint.

Cite this