Convolutional Neural Network Based Quality Analysis of Fruits and Vegetables

Article Preview

Abstract:

In the recent era- very frequently people come across health issues due to consumption of poor-quality food items- which leads to issues such as food poisoning, vomiting, diarrhea, etc., For a full development of fruits and vegetables, all the nutrients are necessary during its growth. But due to circumstances like soil defects, infections, water scarcity, waterlogging, etc., the vegetables & fruits gets infected with some diseases. So there arises a necessity of a system which inspects for any presence of disease in fruits & vegetables, with reduced manual intervention. This paper provides a detailed overview of a system developed using the Python programming language. Its aim is to recognize and classify various fruits and vegetables, while also identifying any diseases affecting them and determining the specific type of infection. In order to recognize the details accurately, the system is designed to use convolutional neural networks (CNN) and the results are displayed using computer vision techniques. The analysis, implementation, and future improvements of the proposed system are briefed in this paper. For this, we have used Anaconda navigator software (Jupyter notebook, IDLE).

You might also be interested in these eBooks

Info:

Periodical:

Pages:

151-162

Citation:

Online since:

April 2025

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2025 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

* - Corresponding Author

[1] Qualcomm Developer Network: Types of neural networks. https://developer.qualcomm.com/blog/exploring-different-types-neural-networks

Google Scholar

[2] Anuja Bhargava, Atul Bansal (2021) Fruits and vegetables quality evaluation using computer vision: A review", Journal of King Saud University - Computer and Information Sciences

DOI: 10.1016/j.jksuci.2018.06.002

Google Scholar

[3] M. A. Subhi et al (2019) Vision-Based Approaches for Automatic Food Recognition and Dietary Assessment: A Survey. IEEE Access. Digital Object Identifier

DOI: 10.1109/ACCESS.2019.2904519

Google Scholar

[4] Tanya Makkar, Yogesh (2018) A Computer Vision Based Comparative Analysis of Dual Nutrients (Boron, Calcium) Deficiency Detection System for Apple Fruit. International Conference on Computing Communication and Automation (ICCCA).

DOI: 10.1109/ccaa.2018.8777678

Google Scholar

[5] Namrata Varad Mhapne et al (2019) A Comparative Study to find an Effective Image Segmentation Technique using Clustering to obtain the Defective Portion of an Apple. International Conference on Automation, Computational and Technology Management

DOI: 10.1109/icactm.2019.8776751

Google Scholar

[6] Yogeswararao Gurubelli et al (2020) Texture and Colour Gradient Features for Grade analysis of Pomegranate and Mango Fruits using kernel-SVM Classifiers. IEEE

DOI: 10.1109/ICACCS48705.2020.9074221

Google Scholar

[7] Hardik Patel et al (2019) Detection of Quality in Orange Fruit Image using SVM Classifier. IEEE Xplore

DOI: 10.1109/ICOEI.2019.8862758

Google Scholar

[8] Krut Patel (2019) Convolutional Neural Networks — A Beginner's Guide. https://towardsdatascience.com/convolution-neural-networks-a-beginners-guide-implementing-a-mnist-hand-written-digit-8aa60330d022

Google Scholar

[9] Bin Zhu, Lu Jiang et al (2007) Gabor feature-based apple quality inspection using kernel principal component analysis. Journal of Food Engineering.

DOI: 10.1016/j.jfoodeng.2007.01.008

Google Scholar

[10] Anderson Rocha et al (2010) Automatic fruit and vegetable classification from images. Computers and Electronics in Agriculture.

Google Scholar

[11] Arivazhagan et al (2010) Fruit recognition using color and texture features. J. Emerging Trends in Computer Information Science 1 (2), 20-94.

Google Scholar

[12] Shiv Ram Dubey et al (2014) Fruit disease recognition using improved sum and difference histogram from images. International Journal of Applied Pattern Recorgnition Vol 1. No 2

DOI: 10.1504/IJAPR.2014.063759

Google Scholar

[13] Zhang et al (2016) Fruit classification by biogeography-based optimization and feedforward neural network, J. Knowl. Eng. (Wiley) 33(3), 239-253.

Google Scholar

[14] Kate Sendin et al (2018) Classification of white maize defects with multispectral imaging. Food Chemistry Volume 243, 311-318

DOI: 10.1016/j.foodchem.2017.09.133

Google Scholar

[15] Nandi et al (2016) A Machine Vision Technique for Grading of Harvested Mangoes Based on Maturity and Quality. IEEE Sensors journal Vol 16 Issue 16.

DOI: 10.1109/jsen.2016.2580221

Google Scholar

[16] Sergio Cubero, Nuria Aleixos, Enrique Moltó, Juan Gómez-Sanchis & Jose Blasco (2010) Advances in Machine Vision Applications for Automatic Inspection and Quality Evaluation of Fruits and Vegetables. Food and Bioprocess Technology volume 4, pages487–504.

DOI: 10.1007/s11947-010-0411-8

Google Scholar

[17] J.Blasco et al (2009) Recognition and classification of external skin damage in citrus fruits using multispectral data and morphological features. Biosystems Engineering

DOI: 10.1016/j.biosystemseng.2009.03.009

Google Scholar

[18] Naoshi Kondo (2010) Automation on fruit and vegetable grading system and food traceability. Trends in Food Science & Technology Volume 21, Issue 3.

DOI: 10.1016/j.tifs.2009.09.002

Google Scholar

[19] Namita Sengar et al (2018)Computer vision based technique for identification and quantification of powdery mildew disease in cherry leaves. Computing Volume 100, Issue 11

DOI: 10.1007/s00607-018-0638-1

Google Scholar

[20] Sapan Naik and Bankim Patel. (2017) Machine Vision based Fruit Classification and Grading - A Review. International Journal of Computer Applications 170(9):22-34

DOI: 10.5120/ijca2017914937

Google Scholar

[21] Aasima Rafiq et al. (2013) Application of Computer Vision System in Food Processing- A Review. Int. Journal of Engineering Research and Applications. ISSN : 2248-9622, Vol. 3, Issue 6

Google Scholar

[22] Chaitali Dhaware et al (2016) Survey on Image Classification Methods in Image Processing. International Journal of Computer Science Trends and Technology (IJCS T) – Volume 4 Issue 3

Google Scholar

[23] Sebahattin Serhat Turgut et al (2014) Potential of Image analysis-based systems in food quality assessments and classifications. Foodbalt.

Google Scholar

[24] Zhang, Y.; Wu, L. (2012) Classification of Fruits Using Computer Vision and a Multiclass Support Vector Machine. Sensors , 12, 12489-12505.

DOI: 10.3390/s120912489

Google Scholar

[25] Baohua Zhang et al (2014) Principles, developments and applications of computer vision for external quality inspection of fruits and vegetables: A review.Food Research International, Volume 62

DOI: 10.1016/j.foodres.2014.03.012

Google Scholar

[26] Bart M. Nicolaï, Elmi Lötze, Ann Peirs, Nico Scheerlinck, Karen I. Theron (2016) Non-destructive measurement of bitter pit in apple fruit using NIR hyperspectral imaging. Postharvest Biology and Technology, Volume 40, Issue 1

DOI: 10.1016/j.postharvbio.2005.12.006

Google Scholar

[27] Payman Moallem, Alireza Serajoddin, Hossein Pourghassem (2017) Computer vision-based apple grading for golden delicious apples based on surface features. Information Processing in Agriculture, Volume 4, Issue 1

DOI: 10.1016/j.inpa.2016.10.003

Google Scholar

[28] XuLiming, ZhaoYanchao (2010) Automated strawberry grading system based on image processing. Computers and Electronics in Agriculture, Volume 71, Supplement 1

Google Scholar

[29] Antonio Carlos Loureiro Lino, Juliana Sanches, Inacio Maria Dal Fabbro (2008) Image processing technique for classification of lemons and tomatoes. Post Harvest • Bragantia 67 (3).

DOI: 10.1590/s0006-87052008000300029

Google Scholar

[30] Jiangbo Li, Xiuqin Rao, Yibin Ying (2011) Detection of common defects on oranges using hyperspectral reflectance imaging. Computers and Electronics in Agriculture, Volume 78, Issue 1

DOI: 10.1016/j.compag.2011.05.010

Google Scholar

[31] B.S. Bennedsen, D.L. Peterson, Amy Tabb (20050 Identifying defects in images of rotating apples. Computers and Electronics in Agriculture, Volume 48, Issue 2

DOI: 10.1016/j.compag.2005.01.003

Google Scholar

[32] T. Joutou and K. Yanai (2009) A food image recognition system with Multiple Kernel Learning. IEEE International Conference on Image Processing (ICIP).

DOI: 10.1109/icip.2009.5413400

Google Scholar

[33] J. Surendiran, S. Theetchenya, P. M. Benson Mansingh, G. Sekar (2022) Segmentation of Optic Disc and Cup Using Modified Recurrent Neural Network," in Biomed Research International Journal , HINDAWI.

DOI: 10.1155/2022/6799184

Google Scholar

[34] P. Pouladzadeh, S. Shirmohammadi, and R. Al-Maghrabi (2014) Measuring Calorie and Nutrition from Food Image. IEEE Transactions on Instrumentation and Measurement, vol. 63, no. 8,2014.

DOI: 10.1109/tim.2014.2303533

Google Scholar

[35] Ashokkumar, S.R., Anupallavi, S., Premkumar, M., Jeevanantham, V, (2021) Implementation of deep neural networks for classifying electroencephalogram signal using fractional S-transform for epileptic seizure detection. International Journal of Imaging Systems and Technology.

DOI: 10.1002/ima.22565

Google Scholar