Sajad Haseli Golzar, Hossein Bagherpour, Jafar Amiri Parian
{"title":"基于全局平均池的优化常规黄瓜分类深度 CNN 模型的新方法","authors":"Sajad Haseli Golzar, Hossein Bagherpour, Jafar Amiri Parian","doi":"10.1155/2024/5818803","DOIUrl":null,"url":null,"abstract":"<p>Traditional methods of separating defective cucumbers are inherently labor-intensive and time-consuming. However, with the emergence of intelligent farming practices, deep learning (DL) algorithms, particularly in the fields of image processing and machine vision, have demonstrated significant potential to address this challenge. The main objective of this research study is to develop a DL-based algorithm capable of classifying cucumbers into three distinct categorical groups based on their visual characteristics: defective, curved, and sound (straight green). For this purpose, in addition to inspect the more accurate InceptionResNetV2 as a transfer learning method, the modified convolutional neural network (CNN) (MCNN) incorporating global average pooling (GAP) was proposed to streamline the architecture and minimize trainable parameters. The results demonstrate that the accuracy of CNN with the GAP layer outperforms the fully connected (FC) layer (FCL). The accuracies for the proposed CNN with GAP, proposed CNN with FCL, and InceptionResNetV2 were 94.14%, 92.92%, and 91.21%, respectively, highlighting the efficiency of the CNN with GAP in cucumber classification and its potential to replace conventional grading methods. The overall results indicated that the implementation of dropout did not yield any improvements for the developed models. Rather, the best performance of the CNNs was achieved when utilizing 64 neurons in the hidden layer.</p>","PeriodicalId":15717,"journal":{"name":"Journal of Food Processing and Preservation","volume":"2024 1","pages":""},"PeriodicalIF":2.0000,"publicationDate":"2024-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1155/2024/5818803","citationCount":"0","resultStr":"{\"title\":\"A New Method to Optimize Deep CNN Model for Classification of Regular Cucumber Based on Global Average Pooling\",\"authors\":\"Sajad Haseli Golzar, Hossein Bagherpour, Jafar Amiri Parian\",\"doi\":\"10.1155/2024/5818803\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>Traditional methods of separating defective cucumbers are inherently labor-intensive and time-consuming. However, with the emergence of intelligent farming practices, deep learning (DL) algorithms, particularly in the fields of image processing and machine vision, have demonstrated significant potential to address this challenge. The main objective of this research study is to develop a DL-based algorithm capable of classifying cucumbers into three distinct categorical groups based on their visual characteristics: defective, curved, and sound (straight green). For this purpose, in addition to inspect the more accurate InceptionResNetV2 as a transfer learning method, the modified convolutional neural network (CNN) (MCNN) incorporating global average pooling (GAP) was proposed to streamline the architecture and minimize trainable parameters. The results demonstrate that the accuracy of CNN with the GAP layer outperforms the fully connected (FC) layer (FCL). The accuracies for the proposed CNN with GAP, proposed CNN with FCL, and InceptionResNetV2 were 94.14%, 92.92%, and 91.21%, respectively, highlighting the efficiency of the CNN with GAP in cucumber classification and its potential to replace conventional grading methods. The overall results indicated that the implementation of dropout did not yield any improvements for the developed models. Rather, the best performance of the CNNs was achieved when utilizing 64 neurons in the hidden layer.</p>\",\"PeriodicalId\":15717,\"journal\":{\"name\":\"Journal of Food Processing and Preservation\",\"volume\":\"2024 1\",\"pages\":\"\"},\"PeriodicalIF\":2.0000,\"publicationDate\":\"2024-09-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://onlinelibrary.wiley.com/doi/epdf/10.1155/2024/5818803\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Food Processing and Preservation\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1155/2024/5818803\",\"RegionNum\":3,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"FOOD SCIENCE & TECHNOLOGY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Food Processing and Preservation","FirstCategoryId":"97","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1155/2024/5818803","RegionNum":3,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0
摘要
分离有缺陷黄瓜的传统方法本身就是劳动密集型且耗时的。然而,随着智能农业实践的出现,深度学习(DL)算法,尤其是图像处理和机器视觉领域的深度学习算法,已显示出应对这一挑战的巨大潜力。本研究的主要目标是开发一种基于深度学习的算法,该算法能够根据黄瓜的视觉特征将其分为三个不同的类别:有缺陷、弯曲和健全(直绿色)。为此,除了采用精度更高的 InceptionResNetV2 作为迁移学习方法外,还提出了包含全局平均池化(GAP)的改进型卷积神经网络(CNN)(MCNN),以简化架构并最小化可训练参数。结果表明,带有 GAP 层的 CNN 的准确性优于全连接(FC)层(FCL)。带有 GAP 层的拟议 CNN、带有 FCL 层的拟议 CNN 和 InceptionResNetV2 的准确率分别为 94.14%、92.92% 和 91.21%,突出了带有 GAP 层的 CNN 在黄瓜分类中的效率及其取代传统分级方法的潜力。总体结果表明,对所开发的模型而言,滤除的实施并没有带来任何改进。相反,当在隐层中使用 64 个神经元时,CNN 的性能最佳。
A New Method to Optimize Deep CNN Model for Classification of Regular Cucumber Based on Global Average Pooling
Traditional methods of separating defective cucumbers are inherently labor-intensive and time-consuming. However, with the emergence of intelligent farming practices, deep learning (DL) algorithms, particularly in the fields of image processing and machine vision, have demonstrated significant potential to address this challenge. The main objective of this research study is to develop a DL-based algorithm capable of classifying cucumbers into three distinct categorical groups based on their visual characteristics: defective, curved, and sound (straight green). For this purpose, in addition to inspect the more accurate InceptionResNetV2 as a transfer learning method, the modified convolutional neural network (CNN) (MCNN) incorporating global average pooling (GAP) was proposed to streamline the architecture and minimize trainable parameters. The results demonstrate that the accuracy of CNN with the GAP layer outperforms the fully connected (FC) layer (FCL). The accuracies for the proposed CNN with GAP, proposed CNN with FCL, and InceptionResNetV2 were 94.14%, 92.92%, and 91.21%, respectively, highlighting the efficiency of the CNN with GAP in cucumber classification and its potential to replace conventional grading methods. The overall results indicated that the implementation of dropout did not yield any improvements for the developed models. Rather, the best performance of the CNNs was achieved when utilizing 64 neurons in the hidden layer.
期刊介绍:
The journal presents readers with the latest research, knowledge, emerging technologies, and advances in food processing and preservation. Encompassing chemical, physical, quality, and engineering properties of food materials, the Journal of Food Processing and Preservation provides a balance between fundamental chemistry and engineering principles and applicable food processing and preservation technologies.
This is the only journal dedicated to publishing both fundamental and applied research relating to food processing and preservation, benefiting the research, commercial, and industrial communities. It publishes research articles directed at the safe preservation and successful consumer acceptance of unique, innovative, non-traditional international or domestic foods. In addition, the journal features important discussions of current economic and regulatory policies and their effects on the safe and quality processing and preservation of a wide array of foods.