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
- Hasan Imam (ORCID: https://orcid.org/0009-0002-1863-2287)
- Rethwan Faiz (ORCID: https://orcid.org/0000-0001-7946-5860)
- Nuzat Nuary Alam (ORCID: https://orcid.org/0009-0005-1858-4408)
- Md. Shakib (ORCID: https://orcid.org/0009-0005-9204-4557)
- Dibas Dhar
- Zabin Tasmin
Institutions
- American International University-Bangladesh (BD)
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