A New Method to Optimize Deep CNN Model for Classification of Regular Cucumber Based on Global Average Pooling

IF 2 3区 农林科学 Q3 FOOD SCIENCE & TECHNOLOGY
Sajad Haseli Golzar, Hossein Bagherpour, Jafar Amiri Parian
{"title":"A New Method to Optimize Deep CNN Model for Classification of Regular Cucumber Based on Global Average Pooling","authors":"Sajad Haseli Golzar,&nbsp;Hossein Bagherpour,&nbsp;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}
引用次数: 0

Abstract

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.

Abstract Image

基于全局平均池的优化常规黄瓜分类深度 CNN 模型的新方法
分离有缺陷黄瓜的传统方法本身就是劳动密集型且耗时的。然而,随着智能农业实践的出现,深度学习(DL)算法,尤其是图像处理和机器视觉领域的深度学习算法,已显示出应对这一挑战的巨大潜力。本研究的主要目标是开发一种基于深度学习的算法,该算法能够根据黄瓜的视觉特征将其分为三个不同的类别:有缺陷、弯曲和健全(直绿色)。为此,除了采用精度更高的 InceptionResNetV2 作为迁移学习方法外,还提出了包含全局平均池化(GAP)的改进型卷积神经网络(CNN)(MCNN),以简化架构并最小化可训练参数。结果表明,带有 GAP 层的 CNN 的准确性优于全连接(FC)层(FCL)。带有 GAP 层的拟议 CNN、带有 FCL 层的拟议 CNN 和 InceptionResNetV2 的准确率分别为 94.14%、92.92% 和 91.21%,突出了带有 GAP 层的 CNN 在黄瓜分类中的效率及其取代传统分级方法的潜力。总体结果表明,对所开发的模型而言,滤除的实施并没有带来任何改进。相反,当在隐层中使用 64 个神经元时,CNN 的性能最佳。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
5.30
自引率
12.00%
发文量
1000
审稿时长
2.3 months
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信