A Remote Smart Health Framework for Anemia Risk Stratification via Edge Medical Vision Systems
Abstract
1. Introduction
Contributions
2. Materials and Methods
2.1. System Architecture and Design Objectives
2.2. Edge Hardware and Software Stack
2.3. Data Source, Splits, and Learning Targets
2.4. Region-of-Interest (ROI) Extraction
2.5. Feature Construction (Per-ROI, Concatenated Across Slots)
- Per-image reference RGB medians: for channel .
- Per-ROI mean RGB: .
- Channel-wise normalized means: .
2.6. Patch-Level Augmentation
2.7. Distribution-Aware Balancing via KDE Downsampling
- 1.
- Unbalanced (raw).
- 2.
- Unbalanced + augmentation.
- 3.
- Balanced by remark (raw) via KDE downsampling.
- 4.
- Post-augmentation then balanced by remark via KDE downsampling.
- 5.
- Balanced by severity (raw) via KDE downsampling.
- 6.
- Post-augmentation then balanced by severity via KDE downsampling.
2.8. Classical ML Models and Training Protocol
- 1.
- Run cross-validated hyperparameter search (RMSE-based) on the training portion.
- 2.
- Fit the best model on the full strategy-specific training set.
- 3.
- Evaluate once on the held-out test set.
2.9. On-Device Inference Definition and Runtime Benchmarking
- 1.
- ROI extraction (detector inference, crop assignment into ROI slots).
- 2.
- Feature computation (per-ROI normalized mean RGB, concatenation to 18D vector).
- 3.
- Hemoglobin prediction (classical ML regressor) and optional triage labeling.
- 4.
- Write-back to the local EHR (structured observation + linked artifacts).
2.10. Offline-First EHR, Security, and Interoperability Scope
2.11. User Interface and Clinical Workflow
2.12. Evaluation Metrics and Reporting
3. Results
3.1. Nail-Bed Localization Accuracy and Edge Optimization
3.1.1. Detection Quality
3.1.2. Quantization and On-Device Latency
3.2. Hemoglobin Estimation Accuracy Across Data Strategies
3.2.1. Overall “Best”-Performing Configuration by Lowest RMSE
3.2.2. Effect of KDE Balancing
3.2.3. Effect of Patch Augmentation in This Pipeline
3.3. Error Distributions on True-Anemic Test Cases (Raincloud Analysis)
3.3.1. Consistent Right-Shift Under Unbalanced Training
3.3.2. Balancing Shifts Errors Toward Zero and Reduces the Positive Tail
3.3.3. Augmentation Alone Does Not Consistently Correct Overestimation on Anemic Cases
3.3.4. Post-Augmentation Balancing Yields the Most Conservative Error Profiles in Most Models
3.3.5. Model-Specific Dispersion and Outliers
3.4. System-Level Validation: Offline Workflow and Structured Result Capture
4. Discussion
- Edge feasibility depends on pipeline latency, not single-model speed.
- Hemoglobin estimation performance is shaped by training distribution policy.
- Raincloud error plots reveal systematic behavior on true-anemic test cases.
- Augmentation is not automatically beneficial in small, color-sensitive datasets.
- Security and interoperability are intentionally scoped and offline-first.
- Limitations and next validation steps.
5. Conclusions
6. Future Work and Translation Roadmap
- 1.
- Prospective field validation: Run a prospective study in the intended deployment setting to quantify (i) MAE/RMSE for Hb regression, (ii) sensitivity/specificity at pre-specified Hb thresholds, and (iii) operational metrics (time-to-result, capture failure rate, re-capture rate).
- 2.
- Quality gating: Add input-quality checks (blur/exposure/nail visibility) and a simple fail-safe policy (re-capture request or “no result”).
- 3.
- Deployment hardening: Package pinned versions; add service health checks, structured logs, and crash recovery; verify consistent latency under concurrent UI usage.
- 4.
- Interoperability increment: Keep sync best-effort. Implement a minimal export contract (patient/encounter IDs + screening Observation-style outputs + optional linked images) via a queued gateway when connectivity is available.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| AI | Artificial Intelligence |
| LMICs | Low- and Middle-Income Countries |
| WHO | World Health Organization |
| Hb | Hemoglobin |
| API | Application Programming Interface |
| REST | Representational State Transfer |
| UI | User Interface |
| RBAC | Role-Based Access Control |
| AES | Advanced Encryption Standard |
| AES-GCM | Advanced Encryption Standard in Galois/Counter Mode |
| EHR | Electronic Health Record |
| FHIR | Fast Healthcare Interoperability Resources |
| GDPR | General Data Protection Regulation |
| HIPAA | Health Insurance Portability and Accountability Act |
| HL7 | Health Level Seven International |
| KDE | Kernel Density Estimation |
| MAE | Mean Absolute Error |
| RMSE | Root Mean Square Error |
| mAP | mean Average Precision |
| IoU | Intersection over Union |
| RANSAC | RANdom SAmple Consensus |
| YOLO | You Only Look Once |
| PTQ | Post-Training Quantization |
Appendix A. Supplementary Model Results
| idx | Strategy | Model | Val MAE | Val RMSE | Test MAE | Test RMSE |
|---|---|---|---|---|---|---|
| 4 | unbalanced | GradientBoosting | ||||
| 3 | unbalanced | RandomForest | ||||
| 2 | unbalanced | Lasso | ||||
| 1 | unbalanced | Ridge | ||||
| 0 | unbalanced | ElasticNet | ||||
| 5 | unbalanced | SupportVectorRegression | ||||
| 6 | unbalanced | HuberRegressor | ||||
| 7 | unbalanced | RANSACRegressor | ||||
| 28 | unbalanced aug | GradientBoosting | ||||
| 27 | unbalanced aug | RandomForest | ||||
| 26 | unbalanced aug | Lasso | ||||
| 25 | unbalanced aug | Ridge | ||||
| 24 | unbalanced aug | ElasticNet | ||||
| 29 | unbalanced aug | SupportVectorRegression | ||||
| 30 | unbalanced aug | HuberRegressor | ||||
| 31 | unbalanced aug | RANSACRegressor | ||||
| 12 | remark balanced | GradientBoosting | ||||
| 11 | remark balanced | RandomForest | ||||
| 10 | remark balanced | Lasso | ||||
| 9 | remark balanced | Ridge | ||||
| 8 | remark balanced | ElasticNet | ||||
| 13 | remark balanced | SupportVectorRegression | ||||
| 14 | remark balanced | HuberRegressor | ||||
| 15 | remark balanced | RANSACRegressor | ||||
| 36 | remark balanced aug | GradientBoosting | ||||
| 35 | remark balanced aug | RandomForest | ||||
| 34 | remark balanced aug | Lasso | ||||
| 33 | remark balanced aug | Ridge | ||||
| 32 | remark balanced aug | ElasticNet | ||||
| 37 | remark balanced aug | SupportVectorRegression | ||||
| 38 | remark balanced aug | HuberRegressor | ||||
| 39 | remark balanced aug | RANSACRegressor | ||||
| 16 | severity balanced | ElasticNet | ||||
| 17 | severity balanced | Ridge | ||||
| 18 | severity balanced | Lasso | ||||
| 19 | severity balanced | RandomForest | ||||
| 20 | severity balanced | GradientBoosting | ||||
| 21 | severity balanced | SupportVectorRegression | ||||
| 22 | severity balanced | HuberRegressor | ||||
| 23 | severity balanced | RANSACRegressor | ||||
| 40 | severity balanced aug | ElasticNet | ||||
| 41 | severity balanced aug | Ridge | ||||
| 42 | severity balanced aug | Lasso | ||||
| 43 | severity balanced aug | RandomForest | ||||
| 44 | severity balanced aug | GradientBoosting | ||||
| 45 | severity balanced aug | SupportVectorRegression | ||||
| 46 | severity balanced aug | HuberRegressor | ||||
| 47 | severity balanced aug | RANSACRegressor |
















































References
- World Health Organization. Operational Framework for Primary Health Care: Transforming Vision into Action. 2020. Available online: https://www.who.int/publications/i/item/9789240017832 (accessed on 3 March 2026).
- World Health Organization. Electricity in Health-Care Facilities. 2023. Available online: https://www.who.int/news-room/fact-sheets/detail/electricity-in-health-care-facilities (accessed on 3 March 2026).
- World Health Organization; United Nations Children’s Fund (UNICEF). Essential Services for Quality Care: Water, Sanitation, Hygiene, Health Care Waste and Electricity Services in Health Care Facilities: Global Progress Report. 2025. Available online: https://cdn.who.int/media/docs/default-source/wash-documents/wash-in-hcf/who_unicef_washwasteelectricityinhcfglobalprogressreport2025_web.pdf (accessed on 10 February 2026).
- Ajuebor, O.; Boniol, M.; McIsaac, M.; Onyedike, C.; Akl, E.A. Increasing access to health workers in rural and remote areas: What do stakeholders’ value and find feasible and acceptable? Hum. Resour. Health 2020, 18, 77. [Google Scholar] [CrossRef] [PubMed]
- International Monetary Fund. Digital Interventions in the Health Sector: Country Cases and Policy Discussions. IMF Notes. 2023. Available online: https://www.imf.org/-/media/files/publications/imf-notes/2023/english/insea2023004.pdf (accessed on 10 February 2026).
- World Health Organization. GIDH Webinar 27 (2025): Global Digital Health Atlas Overview and Statistics. Slides. 2025. Available online: https://cdn.who.int/media/docs/default-source/digital-health-documents/gidh-webinar-27---11--2025-for-publishing.pdf (accessed on 10 February 2026).
- Global Digital Health Monitor. The State of Digital Health 2023. 2023. Available online: https://static1.squarespace.com/static/5ace2d0c5cfd792078a05e5f/t/656f97969301e337ada15270/1701812128734/State%2Bof%2BDigital%2BHealth_2023.pdf (accessed on 10 February 2026).
- Siyam, A.; Ir, P.; York, D.; Antwi, J.; Amponsah, F.; Rambique, O.; Funzamo, C.; Azeez, A.; Mboera, L.; Kumalija, C.J.; et al. The burden of recording and reporting health data in primary health care facilities in five low- and lower-middle-income countries. BMC Health Serv. Res. 2021, 21, 901. [Google Scholar] [CrossRef] [PubMed]
- Maita, K.C.; Maniaci, M.J.; Haider, C.R.; Avila, F.R.; Torres-Guzman, R.A.; Borna, S.; Lunde, J.J.; Coffey, J.D.; Demaerschalk, B.M.; Forte, A.J. The impact of digital health solutions on bridging the health care gap in rural areas: A scoping review. Perm. J. 2024, 28, 130–143. [Google Scholar] [CrossRef] [PubMed]
- Mwogosi, A.; Mambile, C. Digital ecosystems for healthcare communication and collaboration: A scoping review. Digit. Health 2025, 11, 20552076251377933. [Google Scholar] [CrossRef] [PubMed]
- Kim, M.K.; Rouphael, C.; McMichael, J.; Welch, N.; Dasarathy, S. Challenges in and opportunities for electronic health record-based data analysis and interpretation. Gut Liver 2024, 18, 201–208. [Google Scholar] [CrossRef] [PubMed]
- Brotherton, T.; Brotherton, S.; Ashworth, H.; Kadambi, A.; Ebrahim, H.; Ebrahim, S. Development of an offline, open-source, electronic health record system for refugee care. Front. Digit. Health 2022, 4, 847002. [Google Scholar] [CrossRef] [PubMed]
- Ahmer, H.; Farooqui, K.; Jivani, K.; Adamjee, R.; Hoodbhoy, Z. Applying the principles for digital development to improve a primary care digital health intervention at scale: A case study. PLoS Digit. Health 2024, 3, e0000434. [Google Scholar] [CrossRef]
- Haggenmüller, V.; Bogler, L.; Weber, A.C.; Kumar, A.; Bärnighausen, T.; Danquah, I.; Vollmer, S. Smartphone-based point-of-care anemia screening in rural Bihar in India. Commun. Med. 2023, 3, 38. [Google Scholar] [CrossRef] [PubMed]
- World Health Organization. Anaemia. 2025. Available online: https://www.who.int/news-room/fact-sheets/detail/anaemia (accessed on 10 February 2026).
- Health Level Seven International (HL7). FHIR Release 5 (R5): Specification. 2023. Available online: https://hl7.org/fhir/R5/ (accessed on 10 February 2026).
- Yakimov, B.; Buiankin, K.; Denisenko, G.; Bardadin, I.; Pavlov, O.; Shitova, Y.; Yuriev, A.; Pankratieva, L.; Pukhov, A.; Shkoda, A.; et al. Dataset of human skin and fingernails images for non-invasive haemoglobin level assessment. Sci. Data 2024, 11, 1070. [Google Scholar] [CrossRef] [PubMed]
- Clinical and Laboratory Standards Institute. Collection of Diagnostic Venous Blood Specimens. 2025. Available online: https://clsi.org/shop/standards/pre02/ (accessed on 3 March 2026).
- Lima-Oliveira, G.; Lippi, G.; Salvagno, G.L.; Picheth, G.; Guidi, G.C. Laboratory Diagnostics and Quality of Blood Collection. J. Med. Biochem. 2015, 34, 288–294. [Google Scholar] [CrossRef] [PubMed]
- Yaseen, M. What is YOLOv8: An In-Depth Exploration of the Internal Features of the Next-Generation Object Detector. arXiv 2024, arXiv:2408.15857. [Google Scholar]
- NVIDIA Corporation. NVIDIA Jetson Orin Nano Developer Kit Product Brief. 2023. Available online: https://nvdam.widen.net/s/zkfqjmtds2/jetson-orin-datasheet-anano-developer-kit-3575392-r2 (accessed on 20 December 2025).
- Gholami, A.; Kim, S.; Dong, Z.; Yao, Z.; Mahoney, M.W.; Keutzer, K. A Survey of Quantization Methods for Efficient Neural Network Inference. arXiv 2021, arXiv:2103.13630. [Google Scholar] [CrossRef]

















| Approach | What It Demonstrates (Quantified) | Strengths for Low-Resource Care | Limitations Relative to Our Problem Statement |
|---|---|---|---|
| Offline-capable clinical EHR for displaced/remote care (Hikma Health) [12] | Peer-reviewed description of an offline-first EHR used in humanitarian/underserved contexts. | Supports offline data capture and continuity of care; pragmatic focus on deployment realities. | Interoperability and clinical-grade integration remain context-specific; does not center embedded, on-premise AI screening as a modular service co-located with the EHR. |
| Large-scale CHW digital health intervention (OpenSRP-based DHI) [13] | Scaled in 30 months to 44 peri-urban areas in Karachi, serving >150,000 women and children. | Demonstrates that modular, workflow-oriented digital health can scale substantially in LMIC primary care. | Primarily a mobile intervention for CHWs; does not directly address an on-premise “clinic appliance” model with local EHR + local AI microservices + opportunistic standards-based sync. |
| Standalone fingernail-image Hb screening app (field evaluation) [14] | Clinic sample: average error magnitude 1.88 g/dL with wide limits of agreement; sensitivity 51.2%, specificity 41.6% (reported for a clinic-based sample). Retraining improved accuracy in a subset. | Quantifies the opportunity and the risk of camera-based, low-cost Hb estimation in the field. | Highlights that performance is context- and population-dependent; as a tool, it does not solve workflow integration, longitudinal records, security, or interoperability under constrained infrastructure. |
| Metric | FP32 | INT8 (PTQ) |
|---|---|---|
| Precision | 0.993 | 0.999 |
| Recall | 1.000 | 1.000 |
| mAP@0.5 | 0.995 | 0.995 |
| mAP@0.5:0.95 | 0.692 | 0.638 |
| Model artifact size | 6.2 MB | 6.2 MB |
| Inference latency | 46.96 ms | 21.50 ms |
| Strategy | Best Model | CV MAE | CV RMSE | Test MAE | Test RMSE | |
|---|---|---|---|---|---|---|
| Unbalanced | 200 | Random Forest | 1.817 | 2.294 | 1.493 | 1.881 |
| Unbal+Aug. | 600 | SVR | 2.098 | 2.601 | 1.607 | 2.062 |
| Remark bal. | 80 | Gradient Boosting | 2.304 | 2.876 | 1.794 | 2.091 |
| Remark bal. + Aug. | 240 | Gradient Boosting | 2.300 | 2.929 | 2.114 | 2.524 |
| Severity bal. | 80 | SVR | 1.828 | 2.373 | 1.695 | 2.048 |
| Severity bal. + Aug. | 240 | Gradient Boosting | 2.279 | 2.860 | 2.403 | 2.719 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Cruz Romero, S.A.; Mercado Hernández, M.J.; Ali Rivera, S.Y.; Santiago Fernández, J.A.; Lugo Beauchamp, W.E. A Remote Smart Health Framework for Anemia Risk Stratification via Edge Medical Vision Systems. Appl. Sci. 2026, 16, 4924. https://doi.org/10.3390/app16104924
Cruz Romero SA, Mercado Hernández MJ, Ali Rivera SY, Santiago Fernández JA, Lugo Beauchamp WE. A Remote Smart Health Framework for Anemia Risk Stratification via Edge Medical Vision Systems. Applied Sciences. 2026; 16(10):4924. https://doi.org/10.3390/app16104924
Chicago/Turabian StyleCruz Romero, Sebastián A., Misael J. Mercado Hernández, Samir Y. Ali Rivera, Jorge A. Santiago Fernández, and Wilfredo E. Lugo Beauchamp. 2026. "A Remote Smart Health Framework for Anemia Risk Stratification via Edge Medical Vision Systems" Applied Sciences 16, no. 10: 4924. https://doi.org/10.3390/app16104924
APA StyleCruz Romero, S. A., Mercado Hernández, M. J., Ali Rivera, S. Y., Santiago Fernández, J. A., & Lugo Beauchamp, W. E. (2026). A Remote Smart Health Framework for Anemia Risk Stratification via Edge Medical Vision Systems. Applied Sciences, 16(10), 4924. https://doi.org/10.3390/app16104924

