Abstract
Accurately recognizing rotten fruits has been important, particularly in the agricultural sector. Generally, manual efforts are utilized to classify fresh and rotting fruits which can be tedious sometimes. Unlike humans, machines do not get tired from performing the same task repeatedly. This study suggested a technique for detecting flaws in fruit images, which might reduce human effort, slash manufacturing costs and save time. The rotten fruits may contaminate the good fruits if the flaws are not found within time. Therefore, to prevent the spread of rottenness, a model has been put forward. Based on the fruit images provided as input, the recommended system can identify rotten and fresh fruits. Images of oranges, bananas, and apples have been considered in this paper. Using a convolutional neural network along with max pooling and MobileNetV2 architecture, the features from the input images are collected, based on which images are subsequently classified. On a Kaggle dataset, the suggested model’s performance is evaluated, and by using MobileNetV2, it gets the greatest accuracy in training data (99.56%) and validation set (99.69%). The max pooling had a validation accuracy of 95.01% and a training accuracy of 94.97%. According to the results, the suggested CNN model can differentiate between fresh and rotten apples in an efficient manner.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Awate A, Deshmankar D, Amrutkar G, Bagul U, Sonavane S (2015) Fruit disease detection using color, texture analysis and ANN. In: 2015 international conference on green computing and internet of things (ICGCIoT), 2015, pp 970–975. https://doi.org/10.1109/ICGCIoT.2015.7380603
Tripathi MK, Maktedar DD (2016) Recent machine learning based approaches for disease detection and classification of agricultural products. In: International conference on computing communication control and automation (ICCUBEA), pp 1–6. https://doi.org/10.1109/ICCUBEA.2016.7860043
Gavhale KR, Gawande U, Hajari KO (2014) Unhealthy region of citrus leaf detection using image processing techniques. In: International conference for convergence for technology 2014, pp 1–6. https://doi.org/10.1109/I2CT.2014.7092035
Iqbal SM, Gopal A, Sankaranarayanan PE, Nair AB (2015) Estimation of size and shape of citrus fruits using image processing for automatic grading. In: 2015 3rd international conference on signal processing, communication and networking (ICSCN), pp 1–8. https://doi.org/10.1109/ICSCN.2015.7219859
Kaur M, Sharma R (2015) ANN based technique for vegetable quality detection. IOSR J Electron Commun Eng 10(5):62–70. https://doi.org/10.9790/2834-10516270
Abdelsalam AM, Sayed MS (2016) Real-time defects detection system for orange citrus fruits using multi-spectral imaging. In: 2016 IEEE 59th international midwest symposium on circuits and systems (MWSCAS), pp 1–4. https://doi.org/10.1109/MWSCAS.2016.7869956
Mureşan H, Oltean M (2018) Fruit recognition from images using deep learning. Acta Univ Sapientiae, Inf 10(1):26–42
Bhargava A, Bansal A (2019) Automatic detection and grading of multiple fruits by machine learning. Food Anal Methods 13(3):751–761
Behera SK, Rath AK, Mahapatra A, Sethy (2020) Identification, classification and grading of fruits using machine learning and computer intelligence: a review. J Ambient Intell Humaniz Comput
Basri H, Syarif I, Sukaridhoto S (2018) Faster R-CNN implementation method for multi-fruit detection using tensorflow platform. In: International electronics symposium on knowledge creation and intelligent computing (IES-KCIC)
Hossain MS, Al-Hammadi M, Muhammad G (2019) Automatic fruit classification using deep learning for industrial applications. IEEE Trans Industr Inf 15(2):1027–1034
Jana S, Basak S, Parekh R (2017) Automatic fruit recognition from natural images using color and texture features. In: Devices for integrated circuit (DevIC)
Roy K, Chaudhuri SS, Pramanik S (2020) Deep learning based realtime Industrial framework for rotten and fresh fruit detection using semantic segmentation. In: Microsystem technologies
Karakaya D, Ulucan O, Turkan M (2019) A comparative analysis on fruit freshness classification. In: 2019 innovations in intelligent systems and applications conference (ASYU)
Khaing ZM, Naung Y, Htut PH (2018) Development of control system for fruit classification based on convolutional neural network. In: 2018 IEEE conference of Russian young researchers in electrical and electronic engineering (EIConRus)
Lu S, Lu Z, Aok S, Graham L (2018) Fruit classification based on six layer convolutional neural network. In: IEEE 23rd international conference on digital signal processing (DSP)
Marimuthu S, Roomi SMM (2017) Particle swarm optimized fuzzy model for the classification of banana ripeness. IEEE Sens J 17(15):4903–4915
Zhang Y-D, Dong Z, Chen X, Jia W, Du S, Muhammad K, Wang S-H (2017) Image based fruit category classification by 13-layer deep convolutional neural network and data augmentation. Multimed Tools Appl 78(3):3613–3632
Abu-Saqer MM, Abu-Naser SS, Al-Shawwa MO (2020) Type of grapefruit classification using deep learning. PhilPapers, Int J Acad Inf Syst Res (IJAISR). ISSN: 2643-9026
Elsharif AA, Dheir IM, Mettleq ASA, Abu-Naser SS (2020) Potato classification using deep learning. Int J Acad Pedagog Res (IJAPR). ISSN: 2643-9603
Altaheri H, Alsulaiman M, Muhammad G (2019) Date fruit classification for robotic harvesting in a natural environment using deep learning. IEEE Access 7:117115–117133
Palakodati SSS, Chirra VR, Dasari Y, Bulla S (2020) Fresh and rotten fruits classification using CNN and transfer learning. Rev d’Intell Artif 34(5):617–622
Rahman MM, Manik MMH, Islam MM, Mahmud S, Kim JH (2020) An Automated System to Limit COVID-19 Using Facial Mask Detection in Smart City Network. In: IEEE International IOT, Electronics and Mechatronics Conference (IEMTRONICS), pp 1-5. https://doi.org/10.1109/IEMTRONICS51293.2020.9216386.
https://www.kaggle.com/sriramr/fruits-fresh-and-rotten-for-classification
Matboli MA, Atia A (2022) Fruit disease’s identification and classification using deep learning model. In: 2nd international mobile, intelligent, and ubiquitous computing conference (MIUCC), pp 432–437. https://doi.org/10.1109/MIUCC55081.2022.9781688
Gawas A, Tolia K, Gaikwad S, Deshpande K, Upadhyaya K, Jain S (2021) E-fresh: computer vision and IOT framework for fruit freshness detection. In: 2021 international conference on advances in computing, communication, and control (ICAC3), pp 1–6. https://doi.org/10.1109/ICAC353642.2021.9697306
Foong CC, Meng GK, Tze LL (2021) Convolutional neural network based rotten fruit detection using ResNet50. In: 2021 IEEE 12th control and system graduate research colloquium (ICSGRC), Shah Alam, Malaysia, pp 75–80. https://doi.org/10.1109/ICSGRC53186.2021.9515280
Miah MS, Tasnuva T, Islam M, Keya M, Rahman MR, Hossain SA (2021) An advanced method of identification fresh and rotten fruits using different convolutional neural networks. In: 2021 12th international conference on computing communication and networking technologies (ICCCNT), Kharagpur, India, pp 1–7. https://doi.org/10.1109/ICCCNT51525.2021.9580117
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Singh, A., Gupta, R., Kumar, A. (2023). Fresh and Rotten Fruit Detection Using Deep CNN and MobileNetV2. In: Mishra, A., Gupta, D., Chetty, G. (eds) Advances in IoT and Security with Computational Intelligence. ICAISA 2023. Lecture Notes in Networks and Systems, vol 755. Springer, Singapore. https://doi.org/10.1007/978-981-99-5085-0_22
Download citation
DOI: https://doi.org/10.1007/978-981-99-5085-0_22
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-5084-3
Online ISBN: 978-981-99-5085-0
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)