基于改进的 YOLOv8 模型的咖啡青豆缺陷检测方法

IF 2 3区 农林科学 Q3 FOOD SCIENCE & TECHNOLOGY
Yuanhao Ji, Jinpu Xu, Beibei Yan
{"title":"基于改进的 YOLOv8 模型的咖啡青豆缺陷检测方法","authors":"Yuanhao Ji,&nbsp;Jinpu Xu,&nbsp;Beibei Yan","doi":"10.1155/2024/2864052","DOIUrl":null,"url":null,"abstract":"<p>This research is aimed at addressing the significant challenges of detecting and classifying green coffee beans, with a particular focus on identifying defective coffee beans—an important task for improving coffee quality and market value. The main challenge is to accurately detect small and visually subtle defects in coffee beans in real-world production environments with a large number of beans, varying lighting conditions, and complex backgrounds. To address these challenges, we propose a YOLOv8n-based object detection model that employs several innovative strategies aimed at improving detection performance and robustness.</p><p>Our research includes the introduction of WIoUv3 and the development of the Atn-C3Ghost module, which integrates the ECA mechanism with the C3Ghost module to refine the feature extraction and improve the accuracy of the model.</p><p>In order to validate the effectiveness of our proposed method, we conducted comprehensive comparison and ablation experiments. In addition, we compared the C3Ghost structure in combination with various attentional mechanisms to determine their impact on the model’s detection ability. We also conducted ablation studies to evaluate the respective contributions of WIoUv3, ECA, and C3Ghost to overall model performance.</p><p>The experimental results show that the YOLOv8n-based model enhanced with WIoUv3, ECA, and C3Ghost achieves an accuracy of 99.0% in detecting green coffee beans, which is significantly better than other YOLO models. This study not only provides a practical solution for green coffee bean detection but also provides a valuable framework for addressing similar challenges in other small object detection tasks.</p>","PeriodicalId":15717,"journal":{"name":"Journal of Food Processing and Preservation","volume":"2024 1","pages":""},"PeriodicalIF":2.0000,"publicationDate":"2024-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1155/2024/2864052","citationCount":"0","resultStr":"{\"title\":\"Coffee Green Bean Defect Detection Method Based on an Improved YOLOv8 Model\",\"authors\":\"Yuanhao Ji,&nbsp;Jinpu Xu,&nbsp;Beibei Yan\",\"doi\":\"10.1155/2024/2864052\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>This research is aimed at addressing the significant challenges of detecting and classifying green coffee beans, with a particular focus on identifying defective coffee beans—an important task for improving coffee quality and market value. The main challenge is to accurately detect small and visually subtle defects in coffee beans in real-world production environments with a large number of beans, varying lighting conditions, and complex backgrounds. To address these challenges, we propose a YOLOv8n-based object detection model that employs several innovative strategies aimed at improving detection performance and robustness.</p><p>Our research includes the introduction of WIoUv3 and the development of the Atn-C3Ghost module, which integrates the ECA mechanism with the C3Ghost module to refine the feature extraction and improve the accuracy of the model.</p><p>In order to validate the effectiveness of our proposed method, we conducted comprehensive comparison and ablation experiments. In addition, we compared the C3Ghost structure in combination with various attentional mechanisms to determine their impact on the model’s detection ability. We also conducted ablation studies to evaluate the respective contributions of WIoUv3, ECA, and C3Ghost to overall model performance.</p><p>The experimental results show that the YOLOv8n-based model enhanced with WIoUv3, ECA, and C3Ghost achieves an accuracy of 99.0% in detecting green coffee beans, which is significantly better than other YOLO models. This study not only provides a practical solution for green coffee bean detection but also provides a valuable framework for addressing similar challenges in other small object detection tasks.</p>\",\"PeriodicalId\":15717,\"journal\":{\"name\":\"Journal of Food Processing and Preservation\",\"volume\":\"2024 1\",\"pages\":\"\"},\"PeriodicalIF\":2.0000,\"publicationDate\":\"2024-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://onlinelibrary.wiley.com/doi/epdf/10.1155/2024/2864052\",\"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/2864052\",\"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/2864052","RegionNum":3,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0

摘要

这项研究旨在解决检测绿色咖啡豆并对其进行分类的重大挑战,尤其侧重于识别有缺陷的咖啡豆--这是提高咖啡质量和市场价值的一项重要任务。主要挑战在于,在咖啡豆数量众多、光照条件各异、背景复杂的真实生产环境中,如何准确检测出咖啡豆在视觉上的微小瑕疵。为了应对这些挑战,我们提出了基于 YOLOv8n 的物体检测模型,该模型采用了多项创新策略,旨在提高检测性能和鲁棒性。我们的研究包括引入 WIoUv3 和开发 Atn-C3Ghost 模块,该模块将 ECA 机制与 C3Ghost 模块集成在一起,以完善特征提取并提高模型的准确性。此外,我们还比较了 C3Ghost 结构与各种注意机制的结合,以确定它们对模型检测能力的影响。实验结果表明,使用 WIoUv3、ECA 和 C3Ghost 增强的基于 YOLOv8n 的模型检测绿咖啡豆的准确率达到 99.0%,明显优于其他 YOLO 模型。这项研究不仅为绿咖啡豆检测提供了实用的解决方案,还为解决其他小物体检测任务中的类似难题提供了有价值的框架。
本文章由计算机程序翻译,如有差异,请以英文原文为准。

Coffee Green Bean Defect Detection Method Based on an Improved YOLOv8 Model

Coffee Green Bean Defect Detection Method Based on an Improved YOLOv8 Model

This research is aimed at addressing the significant challenges of detecting and classifying green coffee beans, with a particular focus on identifying defective coffee beans—an important task for improving coffee quality and market value. The main challenge is to accurately detect small and visually subtle defects in coffee beans in real-world production environments with a large number of beans, varying lighting conditions, and complex backgrounds. To address these challenges, we propose a YOLOv8n-based object detection model that employs several innovative strategies aimed at improving detection performance and robustness.

Our research includes the introduction of WIoUv3 and the development of the Atn-C3Ghost module, which integrates the ECA mechanism with the C3Ghost module to refine the feature extraction and improve the accuracy of the model.

In order to validate the effectiveness of our proposed method, we conducted comprehensive comparison and ablation experiments. In addition, we compared the C3Ghost structure in combination with various attentional mechanisms to determine their impact on the model’s detection ability. We also conducted ablation studies to evaluate the respective contributions of WIoUv3, ECA, and C3Ghost to overall model performance.

The experimental results show that the YOLOv8n-based model enhanced with WIoUv3, ECA, and C3Ghost achieves an accuracy of 99.0% in detecting green coffee beans, which is significantly better than other YOLO models. This study not only provides a practical solution for green coffee bean detection but also provides a valuable framework for addressing similar challenges in other small object detection tasks.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
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学术官方微信