Lightweight Improved YOLOv5s-CGhostnet for Detection of Strawberry Maturity Levels and Counting

Niraj Tamrakar, Sijan Karki, M. Kang, Nibas Chandra Deb, E. Arulmozhi, Dae Yeong Kang, Junghoo Kook, Hyeon-tae Kim
{"title":"Lightweight Improved YOLOv5s-CGhostnet for Detection of Strawberry Maturity Levels and Counting","authors":"Niraj Tamrakar, Sijan Karki, M. Kang, Nibas Chandra Deb, E. Arulmozhi, Dae Yeong Kang, Junghoo Kook, Hyeon-tae Kim","doi":"10.3390/agriengineering6020055","DOIUrl":null,"url":null,"abstract":"A lightweight strawberry detection and localization algorithm plays a crucial role in enabling the harvesting robot to effectively harvest strawberries. The YOLO model has often been used in strawberry fruit detection for its high accuracy, speed, and robustness. However, some challenges exist, such as the requirement for large model sizes, high computation operation, and undesirable detection. Therefore, the lightweight improved YOLOv5s-CGhostnet was proposed to enhance strawberry detection. In this study, YOLOv5s underwent comprehensive model compression with Ghost modules GCBS and GC3, replacing modules CBS and C3 in the backbone and neck. Furthermore, the default GIOU bounding box regressor loss function was replaced by SIOU for improved localization. Similarly, CBAM attention modules were added before SPPF and between the up-sampling and down-sampling feature fusion FPN–PAN network in the neck section. The improved model exhibited higher mAP@0.5 of 91.7% with a significant decrement in model size by 85.09% and a reduction in GFLOPS by 88.5% compared to the baseline model of YOLOv5. The model demonstrated an increment in mean average precision, a decrement in model size, and reduced computation overhead compared to the standard lightweight YOLO models.","PeriodicalId":505370,"journal":{"name":"AgriEngineering","volume":"134 18","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-04-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"AgriEngineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/agriengineering6020055","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

A lightweight strawberry detection and localization algorithm plays a crucial role in enabling the harvesting robot to effectively harvest strawberries. The YOLO model has often been used in strawberry fruit detection for its high accuracy, speed, and robustness. However, some challenges exist, such as the requirement for large model sizes, high computation operation, and undesirable detection. Therefore, the lightweight improved YOLOv5s-CGhostnet was proposed to enhance strawberry detection. In this study, YOLOv5s underwent comprehensive model compression with Ghost modules GCBS and GC3, replacing modules CBS and C3 in the backbone and neck. Furthermore, the default GIOU bounding box regressor loss function was replaced by SIOU for improved localization. Similarly, CBAM attention modules were added before SPPF and between the up-sampling and down-sampling feature fusion FPN–PAN network in the neck section. The improved model exhibited higher mAP@0.5 of 91.7% with a significant decrement in model size by 85.09% and a reduction in GFLOPS by 88.5% compared to the baseline model of YOLOv5. The model demonstrated an increment in mean average precision, a decrement in model size, and reduced computation overhead compared to the standard lightweight YOLO models.
用于检测草莓成熟度和计数的轻量级改进型 YOLOv5s-CGhostnet
轻量级草莓检测和定位算法对收割机器人有效收割草莓起着至关重要的作用。YOLO 模型因其高精度、高速度和鲁棒性而经常被用于草莓果实检测。然而,YOLO 模型也面临着一些挑战,如模型尺寸要求大、计算量大、检测结果不理想等。因此,我们提出了轻量级改进型 YOLOv5s-CGhostnet 来增强草莓检测能力。在这项研究中,YOLOv5s 使用 Ghost 模块 GCBS 和 GC3 对模型进行了全面压缩,取代了骨干和颈部的模块 CBS 和 C3。此外,还用 SIOU 取代了默认的 GIOU 边界框回归损失函数,以改进定位。同样,在 SPPF 之前以及颈部的上采样和下采样特征融合 FPN-PAN 网络之间添加了 CBAM 注意模块。与 YOLOv5 的基线模型相比,改进模型的 mAP@0.5 高达 91.7%,模型大小显著减少了 85.09%,GFLOPS 减少了 88.5%。与标准轻量级 YOLO 模型相比,该模型提高了平均精度,缩小了模型大小,减少了计算开销。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信