TR
EN
A Deep Learning and IoT-Based Dual-Stage System for Detecting Fruit and Vegetable Spoilage in Smart Refrigerators
Abstract
It is critical to develop sustainable production and consumption methods to ensure a sustainable future and a livable world. Economic development and sustainable living can be achieved by minimizing environmental and household waste and by using food resources efficiently. Artificial intelligence, computer vision, data processing, and integrated systems offer the opportunity to develop such smart solutions. In this study, a Raspberry Pi-based smart refrigerator module was designed and implemented for the early detection of spoilage in fruits and vegetables. Fruits and vegetables that start to rot release various gases into the surrounding environment. Based on this, the proposed system uses a two-stage verification method. In the first stage, the spoilage of fruits and vegetables in refrigerators is detected by gas sensors. When the gas sensors detect spoilage, the second stage is triggered; images of fruits and vegetables are classified using CNN-based models, including ResNet50, DenseNet201, InceptionV3, and VGG16. If spoilage is confirmed, a notification is sent to the designated user. The integration of gas sensing with deep learning–based image classification constitutes the main novelty of the proposed system, enabling more reliable and early detection compared to single-stage approaches. Moreover, extensive classification experiments were carried out on a benchmark dataset containing 12,000 images across 20 classes. Fine-tuning and hyperparameter optimization were performed on all CNN models, with ResNet50 achieving the highest accuracy of 98.00%. This performance surpasses results reported in some of the earlier studies on the same dataset. Given its capabilities, the proposed prototype could be widely implemented in both existing and next-generation refrigerators.
Keywords
Supporting Institution
This research has been funded by the Scientific and Technological Research Council of Turkey (TUBITAK) with Grant No: 1919B012306878.
Project Number
1919B012306878
References
- [1] H. N. Schifferstein, Changes in appearance during the spoilage process of fruits and vegetables: Implications for consumer use and disposal, Cleaner and Responsible Consumption, 2024, 12, 100184.
- [2] Bassi S. A., Christensen T. H., and Damgaard A., Environmental performance of household waste management in Europe-An example of 7 countries, Waste Management, 2017, 69, 545–557, DOI:10.1016/j.wasman.2017.07.042.
- [3] Dos Santos S. F., et al., Post-harvest losses of fruits and vegetables in supply centers in Salvador, Brazil: Analysis of determinants, volumes and reduction strategies, Waste Management, 2020, 101, 161–170, DOI:10.1016/j.wasman.2019.10.007.
- [4] Wang D., Zhang M., Li M., and Lin J., Fruits and vegetables preservation based on AI technology: research progress and application prospects, Computers and Electronics in Agriculture, 2024, 226, 109382, DOI:10.1016/j.compag.2024.109382.
- [5] Nerella J. T., Nippulapalli V. K., Nancharla S., Vellanki L. P., and Suhasini P. S., Performance comparison of deep learning techniques for classification of fruits as fresh and rotten, in Int. Conf. Recent Adv. Elect. Electron. Ubiquitous Commun. Comput. Intell. (RAEEUCCI), 2023, Chennai, India, IEEE, DOI:10.1109/RAEEUCCI57140.2023.10134242.6] Palakodati S. S. S., Chirra V. R. R., Yakobu D., and Bulla S., Fresh and rotten fruits classification using cnn and transfer learning, Revue d'Intelligence Artificielle, 2020, 34 (5), 617–622, DOI:10.18280/ria.340512.
- [7] Gao X., Ding X., Hou R., and Tao Y., Research on food recognition of smart refrigerator based on ssd target detection algorithm, in International Conference on Artificial Intelligence and Computer Science, 2019, Wuhan, China, ACM, 303–308, DOI:10.1145/3349341.3349421.
- [8] Miah M. S., Tasnuva T., Islam M., Keya M., Rahman M. R., and Hossain S. A., An advanced method of identification fresh and rotten fruits using different convolutional neural networks, in International Conference on Computing Communication and Networking Technologies (ICCCNT), 2021, Kharagpur, India, IEEE, 1–7, DOI:10.1109/ICCCNT51594.2021.9523681.
- [9] Valentino F., Cenggoro T. W., and Pardamean B., A design of deep learning experimentation for fruit freshness detection, IOP Conference Series: Earth and Environmental Science, 2021, 794 (1), 012023, DOI:10.1088/1755-1315/794/1/012023.
Details
Primary Language
English
Subjects
Engineering Design, Engineering Practice
Journal Section
Research Article
Publication Date
January 31, 2026
Submission Date
April 30, 2025
Acceptance Date
December 9, 2025
Published in Issue
Year 2026 Volume: 13 Number: 1
APA
Salur, M. U., Bilici, H., & Göğebakan, E. (2026). A Deep Learning and IoT-Based Dual-Stage System for Detecting Fruit and Vegetable Spoilage in Smart Refrigerators. El-Cezeri, 13(1), 1-16. https://doi.org/10.31202/ecjse.1687577
AMA
1.Salur MU, Bilici H, Göğebakan E. A Deep Learning and IoT-Based Dual-Stage System for Detecting Fruit and Vegetable Spoilage in Smart Refrigerators. El-Cezeri Journal of Science and Engineering. 2026;13(1):1-16. doi:10.31202/ecjse.1687577
Chicago
Salur, Mehmet Umut, Hatice Bilici, and Emine Göğebakan. 2026. “A Deep Learning and IoT-Based Dual-Stage System for Detecting Fruit and Vegetable Spoilage in Smart Refrigerators”. El-Cezeri 13 (1): 1-16. https://doi.org/10.31202/ecjse.1687577.
EndNote
Salur MU, Bilici H, Göğebakan E (January 1, 2026) A Deep Learning and IoT-Based Dual-Stage System for Detecting Fruit and Vegetable Spoilage in Smart Refrigerators. El-Cezeri 13 1 1–16.
IEEE
[1]M. U. Salur, H. Bilici, and E. Göğebakan, “A Deep Learning and IoT-Based Dual-Stage System for Detecting Fruit and Vegetable Spoilage in Smart Refrigerators”, El-Cezeri Journal of Science and Engineering, vol. 13, no. 1, pp. 1–16, Jan. 2026, doi: 10.31202/ecjse.1687577.
ISNAD
Salur, Mehmet Umut - Bilici, Hatice - Göğebakan, Emine. “A Deep Learning and IoT-Based Dual-Stage System for Detecting Fruit and Vegetable Spoilage in Smart Refrigerators”. El-Cezeri 13/1 (January 1, 2026): 1-16. https://doi.org/10.31202/ecjse.1687577.
JAMA
1.Salur MU, Bilici H, Göğebakan E. A Deep Learning and IoT-Based Dual-Stage System for Detecting Fruit and Vegetable Spoilage in Smart Refrigerators. El-Cezeri Journal of Science and Engineering. 2026;13:1–16.
MLA
Salur, Mehmet Umut, et al. “A Deep Learning and IoT-Based Dual-Stage System for Detecting Fruit and Vegetable Spoilage in Smart Refrigerators”. El-Cezeri, vol. 13, no. 1, Jan. 2026, pp. 1-16, doi:10.31202/ecjse.1687577.
Vancouver
1.Mehmet Umut Salur, Hatice Bilici, Emine Göğebakan. A Deep Learning and IoT-Based Dual-Stage System for Detecting Fruit and Vegetable Spoilage in Smart Refrigerators. El-Cezeri Journal of Science and Engineering. 2026 Jan. 1;13(1):1-16. doi:10.31202/ecjse.1687577
