Fresh or Rotten? Enhancing Rotten Fruit Detection With Deep Learning and Gaussian Filtering
Open Access
- 17 February 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 31857-31869
Abstract
We address the pressing issue of food waste by proposing a robust image classification model that can reliably detect rotten fruits. More than half of the fruit yield is lost along the supply chain, with post-harvest losses due to rottenness playing a pivotal role, as even a single decomposing piece can cause huge damage to nearby produce. Our transfer learning-based model uses the ResNet50 convolutional neural network architecture as a binary classification model to distinguish between fresh and rotten fruits. The model performance is enhanced with a Gauss filter and a dropout layer to ensure robustness and prevent overfitting. We achieve high accuracies beyond 99% on unseen test data, setting a new benchmark and outperforming previous efforts. Our work has theoretical and practical implications. To the best of our knowledge we are the first to explore the use of Gauss filter to preprocess input images in fruit classification. We find that Gauss filters with small kernel size improve the performance of our model. Our research can improve post-harvest applications through automation and can thus help reduce food waste, improve food safety, and reduce costs for growers, distributors, and retailers, and thereby improve the overall efficiency of the supply chain.Keywords
Funding Information
- Open-Access-Publication-Fund of the Helmut-Schmidt-University/University of the Federal Armed Forces Hamburg
This publication has 43 references indexed in Scilit:
- An extensive dataset for successful recognition of fresh and rotten fruitsData in Brief, 2022
- Recognizing Fresh and Rotten Fruits Using Deep Learning Techniques2021
- Performance of deep learning models for classifying and detecting common weeds in corn and soybean production systemsComputers and Electronics in Agriculture, 2021
- Introduction to Computer Vision and Machine Learning Applications in Agriculture2021
- Classification and Grading of Multiple Varieties of Apple FruitFood Analytical Methods, 2021
- Computer vision based analysis and detection of defects in fruits causes due to nutrients deficiencyCluster Computing, 2019
- Postharvest Diseases of Fruits and Vegetables and Their Management2018
- Advances in agricultural machinery management: A reviewBiosystems Engineering, 2014
- Applications of computer vision techniques in the agriculture and food industry: a reviewEuropean Food Research and Technology, 2012
- Evaluation of Pooling Operations in Convolutional Architectures for Object Recognition2010