Toward Skin-Tone-Aware Hypoxia Detection: A Raspberry Pi System Fusing Pulse Oximetry and Fingertip Image Analysis

Background Conventional pulse oximeters can overestimate arterial oxygen saturation (SpO₂) in patients with darker skin tones, particularly during hypoxemia. No low-cost embedded system currently combines contact-based pulse oximetry with complementary deep-learning image classification on a single embedded platform while explicitly targeting skin-tone-aware screening. Methods A Raspberry Pi 4 Model B coordinated a MAX30100 pulse-oximetry sensor and a Pi Camera Module to simultaneously acquire SpO₂ readings and 224×224-pixel fingertip images. A TensorFlow/Keras convolutional neural network (CNN) was trained with class-aware oversampling of presumed skin-tone-diverse and low-SpO₂ cases (standardized skin-tone labels were not collected, so pigmentation coverage cannot be quantified post hoc). CNN hypoxia probability and a logistic mapping of the contemporaneous SpO₂ reading (centred at 94%) were combined into a fused probability; hypoxia was reported when the fused value exceeded 0.5. Performance was assessed on a held-out validation set (N = 53) using Wilson 95% confidence intervals, Matthews correlation coefficient (MCC), and balanced accuracy. Results Overall accuracy was 83%, balanced accuracy 0.84, MCC 0.71, and AUC 0.97. Hypoxia recall was 1.00 (95% CI 0.87–1.00; 25/25 cases correctly identified); normal-class recall was 0.68 (95% CI 0.49–0.82). These estimates carry wide confidence intervals reflecting the small validation sample. Real-time hardware trials across four physiological states (SpO₂ 87–97%) reproduced the offline classification output exactly in all four cases. Conclusions Sensor–vision fusion on a low-cost Raspberry Pi is technically feasible and achieved zero false negatives in this pilot, supporting its potential as a skin-tone-aware screening adjunct to conventional pulse oximetry. Substantially larger datasets with standardized skin-tone labelling and clinically supervised hypoxia induction are required before any clinical validity claim can be made.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-26
DOI
https://doi.org/10.21203/rs.3.rs-11682316/v1
Primary Topic
Non-Invasive Vital Sign Monitoring
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Toward Skin-Tone-Aware Hypoxia Detection: A Raspberry Pi System Fusing Pulse Oximetry and Fingertip Image Analysis

Hasan Imam, Rethwan Faiz, Nuzat Nuary Alam, Md. Shakib et al.
Research Square
Non-Invasive Vital Sign Monitoring
preprint

Toward Skin-Tone-Aware Hypoxia Detection: A Raspberry Pi System Fusing Pulse Oximetry and Fingertip Image Analysis

Hasan Imam, Rethwan Faiz, Nuzat Nuary Alam, Md. Shakib, Dibas Dhar, Zabin Tasmin
preprint en

Abstract

Background Conventional pulse oximeters can overestimate arterial oxygen saturation (SpO₂) in patients with darker skin tones, particularly during hypoxemia. No low-cost embedded system currently combines contact-based pulse oximetry with complementary deep-learning image classification on a single embedded platform while explicitly targeting skin-tone-aware screening. Methods A Raspberry Pi 4 Model B coordinated a MAX30100 pulse-oximetry sensor and a Pi Camera Module to simultaneously acquire SpO₂ readings and 224×224-pixel fingertip images. A TensorFlow/Keras convolutional neural network (CNN) was trained with class-aware oversampling of presumed skin-tone-diverse and low-SpO₂ cases (standardized skin-tone labels were not collected, so pigmentation coverage cannot be quantified post hoc). CNN hypoxia probability and a logistic mapping of the contemporaneous SpO₂ reading (centred at 94%) were combined into a fused probability; hypoxia was reported when the fused value exceeded 0.5. Performance was assessed on a held-out validation set (N = 53) using Wilson 95% confidence intervals, Matthews correlation coefficient (MCC), and balanced accuracy. Results Overall accuracy was 83%, balanced accuracy 0.84, MCC 0.71, and AUC 0.97. Hypoxia recall was 1.00 (95% CI 0.87–1.00; 25/25 cases correctly identified); normal-class recall was 0.68 (95% CI 0.49–0.82). These estimates carry wide confidence intervals reflecting the small validation sample. Real-time hardware trials across four physiological states (SpO₂ 87–97%) reproduced the offline classification output exactly in all four cases. Conclusions Sensor–vision fusion on a low-cost Raspberry Pi is technically feasible and achieved zero false negatives in this pilot, supporting its potential as a skin-tone-aware screening adjunct to conventional pulse oximetry. Substantially larger datasets with standardized skin-tone labelling and clinically supervised hypoxia induction are required before any clinical validity claim can be made.

Research Square
American International University-Bangladesh (BD)
Non-Invasive Vital Sign Monitoring
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon