# Machine Learning-Driven Computer Vision System for Automated Fat and Energy Quantification in Human Milk Microcapillaries

**Authors:** Lujan E. Huamanga-Chumbes, Erwin J. Sacoto-Cabrera, Jaime Lloret, Vinie Lee Silva-Alvarado, Alfz Huicho-Mendigure, Edison Moreno-Cardenas

PMC · DOI: 10.3390/s26061756 · Sensors (Basel, Switzerland) · 2026-03-10

## TL;DR

This paper introduces a low-cost computer vision system using machine learning to accurately measure fat and energy in human milk, improving on traditional manual methods.

## Contribution

A novel machine learning-driven computer vision system for automated and precise lipid quantification in human milk.

## Key findings

- The Rational Quadratic GPR model achieved the highest predictive stability with R2=0.867.
- The system reduced relative error by 57.5% compared to manual methods.
- SHAP analysis showed the model prioritizes red channel intensities and blue contrast gradients for lipid detection.

## Abstract

Neonatal health requires precise lipid quantification in human milk to ensure proper nutritional development. Traditional manual methods, such as the creamatocrit, are limited by human-induced bias and significant measurement uncertainty. This study presents a low-cost Computer Vision System acting as an automated optical sensing modality for estimate the cream fraction (c) using advanced Machine Learning regression, which is subsequently used to derive fat and energy quantification through established analytical equations. The system is optimized for the Gold-LED spectrum, which enhances the dynamic range to 226 a.u. for robust feature extraction. We evaluated 28 distinct ML regression models across three feature spaces (Gray Scale, RGB, and Combined). The results, based on 6400 samples, demonstrate that the Rational Quadratic GPR model achieved the highest predictive stability with a coefficient of determination of R2=0.867. This computational framework achieved a 57.5% reduction in relative error compared to manual benchmarks. SHAP analysis indicates that the model selectively attributes higher importance to Red channel intensities and Blue contrast gradients, which correspond to the optical scattering characteristics of lipid globules. These findings validate the system as a stable sensing modality for non-invasive quantification. The proposed architecture integrates cost-effective hardware with high-precision analytical modeling, offering a reagent-free and operationally feasible alternative for standardized nutritional assessment in neonatal intensive care units and milk banks.

## Full-text entities

- **Chemicals:** lipid (MESH:D008055)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC13030702/full.md

## Figures

13 figures with captions in the complete paper: https://tomesphere.com/paper/PMC13030702/full.md

## References

42 references — full list in the complete paper: https://tomesphere.com/paper/PMC13030702/full.md

---
Source: https://tomesphere.com/paper/PMC13030702