An Automatic Non-Destructive External and Internal Quality Evaluation of Mango Fruits based on Color and X-ray Imaging with Machine Learning and Deep Learning Based Classification Models
IF 3.4 Q2 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
{"title":"An Automatic Non-Destructive External and Internal Quality Evaluation of Mango Fruits based on Color and X-ray Imaging with Machine Learning and Deep Learning Based Classification Models","authors":"None Vani Ashok, None Bharathi R K, None Sheela N","doi":"10.4114/intartif.vol26iss72pp223-243","DOIUrl":null,"url":null,"abstract":"Quality evaluation of food products, agricultural produce to be specific, has gained momentum from past few decades due to the increased awareness among consumers across the world. This has resulted in the increased emphasis on the development and use of quality assessment techniques in food industry. Moreover, there is a need to automate the quality monitoring of agricultural produce like fruits and vegetables which is otherwise done manually in developing countries hence labor intensive, time consuming and subjective in nature. This paper presents an empirical analysis to build a rapid, robust, real-time, non-destructive computer vision based quality assessment model for mango fruits. The work employs the automatic disease classification of mango fruits based on machine and deep learning models. Firstly, the dataset of colored mango fruits images with 2279 images falling into three classes and another dataset of soft X-ray images of mango fruits with 572 images belonging to two quality classes are developed for detecting external and internal defects, respectively. The multilayer perceptron neural network (MLP NN) with two hidden layers, which may be considered as the starting point for deep learning technique, is proposed as machine learning model to classify the color images of mango fruits into one of three external quality classes with 95.1% accuracy and also to classify the soft X-ray images into two internal quality classes with 97.5% accuracy. In order to step out of feature engineering, actual deep learning convolutional neural network (CNN) models, a customized CNN model and pre-trained CNN models, VGGNet (VGG16) and DenseNet121 were also explored for mango disease classification. The maximum validation accuracy of custom CNN was found to be with 91.52% and 98.7% for color and augmented X-ray images, respectively. The classification accuracy of pre-trained models were found to be reasonably good for the color images but exhibited high variability in results and made it difficult to draw a general conclusion for the proposed datasets. However, the proposed MLP NN model based on few basic intensity and geometric features and also the proposed customized CNN model were found to be the best models and they outperform the state of the art reported in the literature.","PeriodicalId":43470,"journal":{"name":"Inteligencia Artificial-Iberoamerical Journal of Artificial Intelligence","volume":null,"pages":null},"PeriodicalIF":3.4000,"publicationDate":"2023-09-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Inteligencia Artificial-Iberoamerical Journal of Artificial Intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4114/intartif.vol26iss72pp223-243","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Quality evaluation of food products, agricultural produce to be specific, has gained momentum from past few decades due to the increased awareness among consumers across the world. This has resulted in the increased emphasis on the development and use of quality assessment techniques in food industry. Moreover, there is a need to automate the quality monitoring of agricultural produce like fruits and vegetables which is otherwise done manually in developing countries hence labor intensive, time consuming and subjective in nature. This paper presents an empirical analysis to build a rapid, robust, real-time, non-destructive computer vision based quality assessment model for mango fruits. The work employs the automatic disease classification of mango fruits based on machine and deep learning models. Firstly, the dataset of colored mango fruits images with 2279 images falling into three classes and another dataset of soft X-ray images of mango fruits with 572 images belonging to two quality classes are developed for detecting external and internal defects, respectively. The multilayer perceptron neural network (MLP NN) with two hidden layers, which may be considered as the starting point for deep learning technique, is proposed as machine learning model to classify the color images of mango fruits into one of three external quality classes with 95.1% accuracy and also to classify the soft X-ray images into two internal quality classes with 97.5% accuracy. In order to step out of feature engineering, actual deep learning convolutional neural network (CNN) models, a customized CNN model and pre-trained CNN models, VGGNet (VGG16) and DenseNet121 were also explored for mango disease classification. The maximum validation accuracy of custom CNN was found to be with 91.52% and 98.7% for color and augmented X-ray images, respectively. The classification accuracy of pre-trained models were found to be reasonably good for the color images but exhibited high variability in results and made it difficult to draw a general conclusion for the proposed datasets. However, the proposed MLP NN model based on few basic intensity and geometric features and also the proposed customized CNN model were found to be the best models and they outperform the state of the art reported in the literature.
期刊介绍:
Inteligencia Artificial is a quarterly journal promoted and sponsored by the Spanish Association for Artificial Intelligence. The journal publishes high-quality original research papers reporting theoretical or applied advances in all branches of Artificial Intelligence. The journal publishes high-quality original research papers reporting theoretical or applied advances in all branches of Artificial Intelligence. Particularly, the Journal welcomes: New approaches, techniques or methods to solve AI problems, which should include demonstrations of effectiveness oor improvement over existing methods. These demonstrations must be reproducible. Integration of different technologies or approaches to solve wide problems or belonging different areas. AI applications, which should describe in detail the problem or the scenario and the proposed solution, emphasizing its novelty and present a evaluation of the AI techniques that are applied. In addition to rapid publication and dissemination of unsolicited contributions, the journal is also committed to producing monographs, surveys or special issues on topics, methods or techniques of special relevance to the AI community. Inteligencia Artificial welcomes submissions written in English, Spaninsh or Portuguese. But at least, a title, summary and keywords in english should be included in each contribution.