Mudasar Iqbal, Syed Tahseen Haider, Rana Saud Shoukat, Saif Ur Rehman, Khalid Mahmood, Santos Gracia Villar, Luis Alonso Dzul Lopez, Imran Ashraf
{"title":"Canned Apple Fruit Freshness Detection Using Hybrid Convolutional Neural Network and Transfer Learning","authors":"Mudasar Iqbal, Syed Tahseen Haider, Rana Saud Shoukat, Saif Ur Rehman, Khalid Mahmood, Santos Gracia Villar, Luis Alonso Dzul Lopez, Imran Ashraf","doi":"10.1155/jfq/8522400","DOIUrl":null,"url":null,"abstract":"<div>\n <p>Fruits contain good nutrients such as protein and vitamins; therefore, fruits are usually used as complementary food ingredients. Apple fruit is one of the most important traditional table fruits in the temperate zone besides being the most commonly consumed fruit in the world. Apple’s freshness is a decisive characteristic of consumer choice. Consumption may increase if apples of satisfactory freshness and quality are provided to the consumers. Reduced freshness of canned apple fruit results in significant spoilage during storage and distribution, affecting both agricultural profitability and consumer satisfaction. Many approaches have been presented to predict apple fruit freshness; however, most of these studies suffer from low accuracy due to poor image quality and the unavailability of sufficient data. This study aims to grade the freshness level of canned apple fruits by combining digital image processing and machine learning techniques. The proposed technique involves data collection of apple fruit, image segmentation, and preprocessing, creating the neural network model, training the network model, and testing for apple freshness prediction. A dataset is collected for apple fruit images for fresh, semifresh, and rotten classes, which is further augmented for more images. We extensively evaluated the performance of the proposed convolutional neural network–transfer learning (CNN-TL)–based technique. For performance evaluation, ResNet, GoogleNet, AlexNet, VGG, MobileNetV2, and InceptionV3 are also utilized due to their superior performance reported in the existing literature. The experimental results indicate the superior performance of the proposed approach with a 98% accuracy on the original dataset, which is better than other deep learning models. The model secures a 97% accuracy on the augmented dataset. Cross-validation results report a 97.71% accuracy using five folds. Furthermore, a comparison with existing state-of-the-art approaches shows that the proposed approach has better results for apple freshness classification.</p>\n </div>","PeriodicalId":15951,"journal":{"name":"Journal of Food Quality","volume":"2025 1","pages":""},"PeriodicalIF":2.6000,"publicationDate":"2025-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1155/jfq/8522400","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Food Quality","FirstCategoryId":"97","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1155/jfq/8522400","RegionNum":3,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Fruits contain good nutrients such as protein and vitamins; therefore, fruits are usually used as complementary food ingredients. Apple fruit is one of the most important traditional table fruits in the temperate zone besides being the most commonly consumed fruit in the world. Apple’s freshness is a decisive characteristic of consumer choice. Consumption may increase if apples of satisfactory freshness and quality are provided to the consumers. Reduced freshness of canned apple fruit results in significant spoilage during storage and distribution, affecting both agricultural profitability and consumer satisfaction. Many approaches have been presented to predict apple fruit freshness; however, most of these studies suffer from low accuracy due to poor image quality and the unavailability of sufficient data. This study aims to grade the freshness level of canned apple fruits by combining digital image processing and machine learning techniques. The proposed technique involves data collection of apple fruit, image segmentation, and preprocessing, creating the neural network model, training the network model, and testing for apple freshness prediction. A dataset is collected for apple fruit images for fresh, semifresh, and rotten classes, which is further augmented for more images. We extensively evaluated the performance of the proposed convolutional neural network–transfer learning (CNN-TL)–based technique. For performance evaluation, ResNet, GoogleNet, AlexNet, VGG, MobileNetV2, and InceptionV3 are also utilized due to their superior performance reported in the existing literature. The experimental results indicate the superior performance of the proposed approach with a 98% accuracy on the original dataset, which is better than other deep learning models. The model secures a 97% accuracy on the augmented dataset. Cross-validation results report a 97.71% accuracy using five folds. Furthermore, a comparison with existing state-of-the-art approaches shows that the proposed approach has better results for apple freshness classification.
期刊介绍:
Journal of Food Quality is a peer-reviewed, Open Access journal that publishes original research articles as well as review articles related to all aspects of food quality characteristics acceptable to consumers. The journal aims to provide a valuable resource for food scientists, nutritionists, food producers, the public health sector, and governmental and non-governmental agencies with an interest in food quality.