Fruit weight estimation using image-based deep learning for use in dietary assessment

One of the key limitations of current dietary assessment methodologies is to adjust the food portion size. In this study, we propose a Deep Learning (DL) approach to estimate the weight of individual pieces of commonly consumed fruits (apple, pear, orange and banana) from single-view RGB (Red, Green...

Descripción completa

Detalles Bibliográficos
Autores: Izquierdo González, Pablo, Aragón Espinosa, Patricia, Relaño de la Guía, Edgard, Cobo Cano, Miriam, Heredia, Ignacio, García Díaz, Daniel, Aguilar, Fernando, Lloret Iglesias, Lara, Yuste, Silvia, Íñiguez, María, Pérez-Matute, Patricia, Moreno-Arribas, M. Victoria, Bartolomé, Begoña, Motilva, María-José
Tipo de recurso: artículo
Estado:Versión publicada
Fecha de publicación:2025
País:España
Institución:Consejo Superior de Investigaciones Científicas (CSIC)
Repositorio:DIGITAL.CSIC. Repositorio Institucional del CSIC
OAI Identifier:oai:digital.csic.es:10261/406317
Acceso en línea:http://hdl.handle.net/10261/406317
Access Level:acceso abierto
Palabra clave:Artificial intelligence
Fruit weight estimation
Deep learning
Convolutional neural network
Image recognition
Descripción
Sumario:One of the key limitations of current dietary assessment methodologies is to adjust the food portion size. In this study, we propose a Deep Learning (DL) approach to estimate the weight of individual pieces of commonly consumed fruits (apple, pear, orange and banana) from single-view RGB (Red, Green and Blue) photographs. The DL models developed in this study were based on convolutional neural networks trained on an ad-hoc dataset of 48,960 photographs including a wide and representative range of fruit piece weights, reflecting typical market variability and reducing the likelihood of encountering out-of-range samples. The photographs of apples (n=12,960), pears (n=17,208), oranges (n=8,712) and bananas (n=10,080) were taken under different conditions. The DL models were evaluated in terms of saliency maps and regression metrics. Mean Absolute Error (MAE) values indicated that the measurements in the DL models developed would be out —as a mean— by no more than 20.57 g (apple), 19.25 g (pear), 28.31 g (orange) and 21.93 g (bananas) between the predicted and the observed values, quite acceptable considering the variability in fruit weights and photographic conditions. The four DL models developed in this study predict fruit weight from a simple photograph, requiring only a visible €1 coin as a reference, without considering the background. This approach is feasible because our DL models were trained on diverse images across different angles, distances, lighting conditions, tablecloths and dish types, allowing the models to generalise well in real-world contexts.