Image-Based Machine Learning for Predicting Acceptability Limits in Frozen Pizza Shelf Life
Abstract
1. Introduction
2. Materials and Methods
2.1. Materials
2.2. Methods
2.2.1. Storage Conditions
2.2.2. Image Acquisition
2.2.3. Image Preprocessing
2.2.4. Visual Acceptability Analysis
2.2.5. Statistical Modeling
Polynomial Regression of Tomato Sauce Color Saturation over Time
Logistic Regression for Acceptability Classification
3. Results and Discussion
3.1. Choice of Discriminating Parameter for the Consumers
3.2. Feature Extraction and Correlation with Storage Time
3.3. Polynomial Regression and Logistic Regression Classifier
3.4. Case Analysis at Fixed Storage Intervals
4. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Cui, F.; Zheng, S.; Wang, D.; Ren, L.; Meng, Y.; Ma, R.; Wang, S.; Li, X.; Li, T.; Li, J. Development of machine learning-based shelf-life prediction models for multiple marine fish species and construction of a real-time prediction platform. Food Chem. 2024, 450, 139230. [Google Scholar] [CrossRef]
- Nicoli, M.C. (Ed.) Shelf Life Assessment of Food; CRC Press: Boca Raton, FL, USA, 2012. [Google Scholar] [CrossRef]
- Shehzad, K. Predictive AI models for food spoilage and shelf-life estimation. Glob. Trends Sci. Technol. 2025, 1, 75–94. [Google Scholar] [CrossRef]
- Buvé, C.; Van Bedts, T.; Haenen, A.; Kebede, B.; Braekers, R.; Hendrickx, M.; Van Loey, A.; Grauwet, T. Shelf-life dating of shelf-stable strawberry juice based on survival analysis of consumer acceptance information. J. Sci. Food Agric. 2018, 98, 3437–3445. [Google Scholar] [CrossRef]
- Cui, F.; Zheng, S.; Wang, D.; Tan, X.; Li, Q.; Li, J.; Li, T. Recent advances in shelf life prediction models for monitoring food quality. Compr. Rev. Food Sci. Food Saf. 2023, 22, 1257–1284. [Google Scholar] [CrossRef] [PubMed]
- Rashvand, M.; Ren, Y.; Sun, D.-W.; Senge, J.; Krupitzer, C.; Fadiji, T.; Miró, M.S.; Shenfield, A.; Watson, N.J.; Zhang, H. Artificial intelligence for prediction of shelf-life of various food products: Recent advances and ongoing challenges. Trends Food Sci. Technol. 2025, 159, 104989. [Google Scholar] [CrossRef]
- Shi, C.; Zhao, Z.; Jia, Z.; Hou, M.; Yang, X.; Ying, X.; Ji, Z. Artificial neural network-based shelf life prediction approach in the food storage process: A review. Crit. Rev. Food Sci. Nutr. 2023, 64, 12009–12024. [Google Scholar] [CrossRef]
- Lin, Y.; Ma, J.; Wang, Q.; Sun, D.W. Applications of machine learning techniques for enhancing nondestructive food quality and safety detection. Crit. Rev. Food Sci. Nutr. 2023, 63, 1649–1669. [Google Scholar] [CrossRef]
- Baskar, K.V.; Sri, R.N.; Lavanya, S.; Harisha, V. Deep CNN model for predicting shelf life of fresh fruits and vegetables using temperature simulation data for optimized transport and storage. J. Educ. Teach. Train. 2024, 15, 425–434. [Google Scholar]
- de Moraes, I.A.; Barbon Junior, S.; Barbin, D.F. Interpretation and explanation of computer vision classification of carambola (Averrhoa carambola L.) according to maturity stage. Food Res. Int. 2024, 192, 114836. [Google Scholar] [CrossRef] [PubMed]
- Dutta, J.; Deshpande, P.; Rai, B. AI-based soft-sensor for shelf life prediction of ‘Kesar’ mango. SN Appl. Sci. 2021, 3, 657. [Google Scholar] [CrossRef]
- Khorramifar, A.; Rasekh, M.; Karami, H.; Lozano, J.; Gancarz, M.; Łazuka, E.; Łagód, G. Determining the shelf life and quality changes of potatoes (Solanum tuberosum) during storage using electronic nose and machine learning. PLoS ONE 2023, 18, e0284612. [Google Scholar] [CrossRef] [PubMed]
- Srinivasagan, R.; Mohammed, M.; Alzahrani, A. TinyML-Sensor for Shelf Life Estimation of Fresh Date Fruits. Sensors 2023, 23, 7081. [Google Scholar] [CrossRef]
- Yu, S.; Lan, H.; Li, X.; Zhang, H.; Zeng, Y.; Niu, H.; Niu, X.; Xiao, A.; Liu, Y. Prediction method of shelf life of damaged Korla fragrant pears. J. Food Process Eng. 2021, 44, e13902. [Google Scholar] [CrossRef]
- Choi, J.-Y.; Seo, K.; Cho, J.-S.; Moon, K.-D. Applying convolutional neural networks to assess the external quality of strawberries. J. Food Compos. Anal. 2021, 102, 104071. [Google Scholar] [CrossRef]
- Goyal, K.; Kumar, P.; Verma, K. Tomato ripeness and shelf-life prediction system using machine learning. J. Food Meas. Charact. 2024, 18, 2715–2730. [Google Scholar] [CrossRef]
- Zhang, J.; Zhang, H.; Zhang, Y.; Yin, J.; Zhan, B.; Liu, X.; Luo, W. Qualitative and quantitative analysis of Nanfeng Mandarin quality based on hyperspectral imaging and deep learning. Food Control 2025, 167, 110831. [Google Scholar] [CrossRef]
- Barbin, D.F.; Mastelini, S.M.; Barbon, S., Jr.; Campos, G.F.C.; Barbon, A.P.A.; Shimokomaki, M. Digital image analyses as an alternative tool for chicken quality assessment. Biosyst. Eng. 2016, 144, 85–93. [Google Scholar] [CrossRef]
- Noutfia, Y.; Ropelewska, E.; Jóźwiak, Z.; Rutkowski, K. Non-Destructive Monitoring of External Quality of Date Palm Fruit (Phoenix dactylifera L.) During Frozen Storage Using Digital Camera and Flatbed Scanner. Sensors 2024, 24, 7560. [Google Scholar] [CrossRef]
- Genç, I.Y.; Gürfidan, R.; Açikgözoğlu, E. Quality Determination of Frozen-Thawed Shrimp Using Machine Learning Algorithms Powered by Explainable Artificial Intelligence. Food Anal. Methods 2025, 18, 935–945. [Google Scholar] [CrossRef]
- Mastrascusa, D.; Vázquez-Villegas, P.; Huertas, J.I.; Pérez-Carrillo, E.; Nevarez, R. Determination of pizzas quality and acceptability by physic-mechanical tests. J. Food Sci. Technol. 2021, 59, 1384–1395. [Google Scholar] [CrossRef]
- Sandei, L.; Taddei, C.; Leoni, C.; Cremona, F. Evaluation, over time, of freezing effects on lycopene content and colour of frozen tomato products. Ind. Conserve 2004, 79, 379–395. [Google Scholar]
- Calligaris, S.; Falcone, P.; Anese, M. Color Changes of Tomato Purees During Storage at Freezing Temperatures. J. Food Sci. 2002, 67, 2432–2435. [Google Scholar] [CrossRef]
- da Costa Barbon, A.P.A.; Barbon, S., Jr.; Campos, G.F.C.; Seixas, J.L., Jr.; Peres, L.M.; Mastelini, S.M.; Andreo, N.; Ulrici, A.; Bridi, A.M. Development of a flexible computer vision system for marbling classification. Comput. Electron. Agric. 2017, 142, 536–544. [Google Scholar] [CrossRef]
- Rother, C.; Kolmogorov, V.; Blake, A. GrabCut: Interactive foreground extraction using iterated graph cuts. ACM Trans. Graph. (TOG) 2004, 23, 309–314. [Google Scholar] [CrossRef]
- Soille, P. Morphological Image Analysis: Principles and Applications, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2003. [Google Scholar] [CrossRef]
- Mazur, F.; Han, Z.; Tjandra, A.D.; Chandrawati, R. Digitalization of colorimetric sensor technologies for food safety. Adv. Mater. 2024, 36, 2404274. [Google Scholar] [CrossRef]
- Cubero, S.; Aleixos, N.; Moltó, E.; Gómez-Sanchis, J.; Blasco, J. Advances in Machine Vision applications for automatic inspection and quality evaluation of fruits and vegetables. Food Bioprocess Technol. 2011, 4, 487–504. [Google Scholar] [CrossRef]
- Nicoli, M.C.; Calligaris, S.; Manzocco, L. Oil stability and antioxidant properties of an oil tomato food system as affected by processing. Adv. Food Sci. 1999, 21, 10–24. [Google Scholar]
- Anese, M.; Lencioni, R.; Gardini, F.; Laghi, L. Case studies. In Shelf Life Assessment of Food; Nicoli, M.C., Ed.; CRC Press: Boca Raton, FL, USA, 2012; pp. 247–297. [Google Scholar] [CrossRef]
- Pereira, L.F.S.; Barbon, S., Jr.; Valous, N.A.; Barbin, D.F. Predicting the ripening of papaya fruit with digital imaging and random forests. Comput. Electron. Agric. 2018, 145, 76–82. [Google Scholar] [CrossRef]
- Ye, B.; Liu, C.; Li, H.; Wang, F.; Chen, J.; Wang, Y. The design and application of xylose-lysine based time-temperature indicators for visually monitoring the shelf-life of chilled large yellow croaker. J. Food Eng. 2023, 355, 111583. [Google Scholar] [CrossRef]
- OECD; European Union; Joint Research Centre. Handbook on Constructing Composite Indicators: Methodology and User Guide; OECD Publishing: Paris, France, 2008. [Google Scholar] [CrossRef]
- Park, E.; Luo, Y.; Trouth, F.; Fonseca, J.M. Charting the future of e-grocery: An evaluation of the use of digital imagery as a sensory analysis tool for fresh fruits. Horticulturae 2021, 7, 262. [Google Scholar] [CrossRef]





| Acceptability Comments | |
|---|---|
| Positive | Negative |
| Tomato sauce has a nice red color | Tomato sauce has an orange color |
| Tomato sauce has a brilliant color | The tomato sauce appears faded |
| Tomato sauce has an acceptable red color | Tomato sauce has a yellow color |
| Tomato sauce has a uniform red color | Tomato sauce has a non-uniform color (yellow or orange) |
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
Valentino, M.; Varutti, G.; Barbon Júnior, S.; Nicoli, M.C. Image-Based Machine Learning for Predicting Acceptability Limits in Frozen Pizza Shelf Life. Foods 2026, 15, 1348. https://doi.org/10.3390/foods15081348
Valentino M, Varutti G, Barbon Júnior S, Nicoli MC. Image-Based Machine Learning for Predicting Acceptability Limits in Frozen Pizza Shelf Life. Foods. 2026; 15(8):1348. https://doi.org/10.3390/foods15081348
Chicago/Turabian StyleValentino, Marika, Giulia Varutti, Sylvio Barbon Júnior, and Maria Cristina Nicoli. 2026. "Image-Based Machine Learning for Predicting Acceptability Limits in Frozen Pizza Shelf Life" Foods 15, no. 8: 1348. https://doi.org/10.3390/foods15081348
APA StyleValentino, M., Varutti, G., Barbon Júnior, S., & Nicoli, M. C. (2026). Image-Based Machine Learning for Predicting Acceptability Limits in Frozen Pizza Shelf Life. Foods, 15(8), 1348. https://doi.org/10.3390/foods15081348

