通过 YOLOv8n-CK 网络实现不同遮挡度下白菜(Brassica oleracea L.)头部的关键点检测和直径估算

IF 7.7 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY Computers and Electronics in Agriculture Pub Date : 2024-09-12 DOI:10.1016/j.compag.2024.109428
{"title":"通过 YOLOv8n-CK 网络实现不同遮挡度下白菜(Brassica oleracea L.)头部的关键点检测和直径估算","authors":"","doi":"10.1016/j.compag.2024.109428","DOIUrl":null,"url":null,"abstract":"<div><p>Accurate and rapid estimation of cabbage head diameters is critical for precise decision-making in cabbage-harvesting equipment, thereby ensuring the quality of cabbage head harvesting. However, mature cabbage heads are enveloped by layers of outer leaves, resulting in varying degrees of occlusion, which poses significant challenges for direct detection and diameter measurement of cabbage heads. To address this problem, this study proposes a method based on the keypoint of cabbage head for estimating cabbage head diameters with different degrees of occlusion in the field. An improved deep learning model, YOLOv8n-Cabbage Keypoints (YOLOv8n-CK), is introduced to accurately and rapidly detect the keypoints of cabbage heads. Specifically, to enhance the attention of the network to occluded cabbage head features in complex images, the convolutional block attention module (CBAM) is introduced in the backbone, thereby improving the accuracy of the model in detecting the keypoints of occluded cabbage heads. Moreover, to balance the accuracy and speed of the keypoint detection network, all the Conv modules of the C2f-Bottleneck structure are replaced by Ghost modules, which effectively reduces the number of parameters in the model while maintaining its accuracy and reducing the computational complexity. Based on the results of keypoints detection, the physical diameter of cabbage heads is computed by integrating the depth information of the effective keypoints using a histogram filtering algorithm. The experimental results show that for varying degrees of occlusion, YOLOv8n-CK achieves an average precision (AP<sub>50–95</sub>) of 99.2 % in detecting cabbage head keypoints, with 12.68 % and 13.04 % reductions in the params and floating point operations per second, respectively, compared to the original model. The mean absolute percentage error of the cabbage head diameter estimation model is 4.28 ± 0.13 %, and it exhibits favorable performance even under heavy occlusion (occlusion rate &gt;65 %). Validation on an edge computing device shows that the model achieves 142.6 frames per second, which satisfies the real-time diameter estimation requirements for cabbage heads. These findings confirm the effective in-situ measurement of cabbage head diameters in the field, offering innovative insights for the development of efficient and low-damage harvesting equipment for cabbage.</p></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":null,"pages":null},"PeriodicalIF":7.7000,"publicationDate":"2024-09-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Keypoint detection and diameter estimation of cabbage (Brassica oleracea L.) heads under varying occlusion degrees via YOLOv8n-CK network\",\"authors\":\"\",\"doi\":\"10.1016/j.compag.2024.109428\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Accurate and rapid estimation of cabbage head diameters is critical for precise decision-making in cabbage-harvesting equipment, thereby ensuring the quality of cabbage head harvesting. However, mature cabbage heads are enveloped by layers of outer leaves, resulting in varying degrees of occlusion, which poses significant challenges for direct detection and diameter measurement of cabbage heads. To address this problem, this study proposes a method based on the keypoint of cabbage head for estimating cabbage head diameters with different degrees of occlusion in the field. An improved deep learning model, YOLOv8n-Cabbage Keypoints (YOLOv8n-CK), is introduced to accurately and rapidly detect the keypoints of cabbage heads. Specifically, to enhance the attention of the network to occluded cabbage head features in complex images, the convolutional block attention module (CBAM) is introduced in the backbone, thereby improving the accuracy of the model in detecting the keypoints of occluded cabbage heads. Moreover, to balance the accuracy and speed of the keypoint detection network, all the Conv modules of the C2f-Bottleneck structure are replaced by Ghost modules, which effectively reduces the number of parameters in the model while maintaining its accuracy and reducing the computational complexity. Based on the results of keypoints detection, the physical diameter of cabbage heads is computed by integrating the depth information of the effective keypoints using a histogram filtering algorithm. The experimental results show that for varying degrees of occlusion, YOLOv8n-CK achieves an average precision (AP<sub>50–95</sub>) of 99.2 % in detecting cabbage head keypoints, with 12.68 % and 13.04 % reductions in the params and floating point operations per second, respectively, compared to the original model. The mean absolute percentage error of the cabbage head diameter estimation model is 4.28 ± 0.13 %, and it exhibits favorable performance even under heavy occlusion (occlusion rate &gt;65 %). Validation on an edge computing device shows that the model achieves 142.6 frames per second, which satisfies the real-time diameter estimation requirements for cabbage heads. These findings confirm the effective in-situ measurement of cabbage head diameters in the field, offering innovative insights for the development of efficient and low-damage harvesting equipment for cabbage.</p></div>\",\"PeriodicalId\":50627,\"journal\":{\"name\":\"Computers and Electronics in Agriculture\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":7.7000,\"publicationDate\":\"2024-09-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computers and Electronics in Agriculture\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0168169924008196\",\"RegionNum\":1,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRICULTURE, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169924008196","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

摘要

准确、快速地估算白菜头部直径对于白菜收获设备的精确决策至关重要,从而确保白菜头部收获的质量。然而,成熟的卷心菜头被一层层外叶包裹,造成不同程度的遮挡,这给直接检测和测量卷心菜头直径带来了巨大挑战。针对这一问题,本研究提出了一种基于白菜头部关键点的方法,用于估计田间不同遮挡程度的白菜头部直径。本研究引入了一个改进的深度学习模型--YOLOv8n-Cabbage Keypoints(YOLOv8n-CK),以准确、快速地检测白菜头的关键点。具体来说,为了增强网络对复杂图像中闭塞白菜头特征的关注,在骨干网中引入了卷积块关注模块(CBAM),从而提高了模型检测闭塞白菜头关键点的准确性。此外,为了兼顾关键点检测网络的精度和速度,将 C2f-Bottleneck 结构中的 Conv 模块全部替换为 Ghost 模块,在保持精度的同时有效减少了模型的参数数量,降低了计算复杂度。在关键点检测结果的基础上,通过直方图滤波算法对有效关键点的深度信息进行整合,计算出白菜头部的物理直径。实验结果表明,对于不同程度的遮挡,YOLOv8n-CK 检测白菜头关键点的平均精度(AP50-95)达到 99.2%,与原始模型相比,每秒的参数和浮点运算次数分别减少了 12.68% 和 13.04%。白菜头直径估计模型的平均绝对百分比误差为 4.28 ± 0.13%,即使在严重遮挡(遮挡率为 65%)的情况下也能表现出良好的性能。在边缘计算设备上进行的验证表明,该模型每秒可达到 142.6 帧,满足了白菜头部直径估算的实时要求。这些研究结果证实了在田间现场测量卷心菜头直径的有效性,为开发高效、低损耗的卷心菜收割设备提供了创新见解。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Keypoint detection and diameter estimation of cabbage (Brassica oleracea L.) heads under varying occlusion degrees via YOLOv8n-CK network

Accurate and rapid estimation of cabbage head diameters is critical for precise decision-making in cabbage-harvesting equipment, thereby ensuring the quality of cabbage head harvesting. However, mature cabbage heads are enveloped by layers of outer leaves, resulting in varying degrees of occlusion, which poses significant challenges for direct detection and diameter measurement of cabbage heads. To address this problem, this study proposes a method based on the keypoint of cabbage head for estimating cabbage head diameters with different degrees of occlusion in the field. An improved deep learning model, YOLOv8n-Cabbage Keypoints (YOLOv8n-CK), is introduced to accurately and rapidly detect the keypoints of cabbage heads. Specifically, to enhance the attention of the network to occluded cabbage head features in complex images, the convolutional block attention module (CBAM) is introduced in the backbone, thereby improving the accuracy of the model in detecting the keypoints of occluded cabbage heads. Moreover, to balance the accuracy and speed of the keypoint detection network, all the Conv modules of the C2f-Bottleneck structure are replaced by Ghost modules, which effectively reduces the number of parameters in the model while maintaining its accuracy and reducing the computational complexity. Based on the results of keypoints detection, the physical diameter of cabbage heads is computed by integrating the depth information of the effective keypoints using a histogram filtering algorithm. The experimental results show that for varying degrees of occlusion, YOLOv8n-CK achieves an average precision (AP50–95) of 99.2 % in detecting cabbage head keypoints, with 12.68 % and 13.04 % reductions in the params and floating point operations per second, respectively, compared to the original model. The mean absolute percentage error of the cabbage head diameter estimation model is 4.28 ± 0.13 %, and it exhibits favorable performance even under heavy occlusion (occlusion rate >65 %). Validation on an edge computing device shows that the model achieves 142.6 frames per second, which satisfies the real-time diameter estimation requirements for cabbage heads. These findings confirm the effective in-situ measurement of cabbage head diameters in the field, offering innovative insights for the development of efficient and low-damage harvesting equipment for cabbage.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Computers and Electronics in Agriculture
Computers and Electronics in Agriculture 工程技术-计算机:跨学科应用
CiteScore
15.30
自引率
14.50%
发文量
800
审稿时长
62 days
期刊介绍: Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.
期刊最新文献
TrackPlant3D: 3D organ growth tracking framework for organ-level dynamic phenotyping Camouflaged cotton bollworm instance segmentation based on PVT and Mask R-CNN Path planning of manure-robot cleaners using grid-based reinforcement learning Immersive human-machine teleoperation framework for precision agriculture: Integrating UAV-based digital mapping and virtual reality control Improving soil moisture prediction with deep learning and machine learning models
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1