基于改进YOLOv5的辣椒目标检测算法研究
Research on Chili Target Detection Algorithm Based on Improved YOLOv5
DOI: 10.12677/MOS.2023.125424, PDF,   
作者: 王启锟, 王 旭*:贵州大学大数据与信息工程学院,贵州 贵阳
关键词: 辣椒图像识别YOLOv5CBAM注意力机制Chili Pepper Image Recognition YOLOv5 CBAM Attentional Mechanisms
摘要: 在自然环境下,辣椒果实生长比较密集,目标检测算法很难区分被枝叶遮挡或被其他辣椒遮挡的情况,这对自动检测辣椒果实增加了困难,在本文中,我们采用现有的辣椒数据集,基于YOLOv5算法模型进行了辣椒图像识别。为了更好的对辣椒进行检测,减小因为枝叶遮挡和被其他辣椒遮挡而造成的检测难度,我们在原来的YOLOv5模型中加入了CBAM注意力机制,构建了CM-YOLO模型,我们的模型mAP可以达到93.1%,比原来的YOLOv5高0.4个百分点。我们所构建的CM-YOLO模型提高了对辣椒的检测能力,同样该模型也可以应用于农产品识别和分类等其他领域。
Abstract: In natural environments, the growth of chili peppers is relatively dense, making it difficult for ob-ject detection algorithms to distinguish between situations obstructed by branches and leaves or other chili peppers. This increases the difficulty of automatically detecting chili peppers. In this ar-ticle, we used existing chili pepper datasets and conducted chili image recognition based on the YOLOv5 algorithm model. In order to better detect chili peppers and reduce the detection difficulty caused by branch and leaf occlusion and being obstructed by other chili peppers, we added the CBAM attention mechanism to the original YOLOv5 model and constructed a CM-YOLO model. Our model’s mAP can reach 93.1%, which is 0.4 percentage points higher than the original YOLOv5 model. The CM-YOLO model we have constructed has improved the detection ability of chili peppers, and can also be applied to other fields such as agricultural product recognition and classification.
文章引用:王启锟, 王旭. 基于改进YOLOv5的辣椒目标检测算法研究[J]. 建模与仿真, 2023, 12(5): 4654-4662. https://doi.org/10.12677/MOS.2023.125424

参考文献

[1] 朱智惟, 单建华, 余贤海, 等. 基于YOLOv5s的番茄采摘机器人目标检测技术[J]. 传感器与微统, 2023, 42(6): 129-132. [Google Scholar] [CrossRef
[2] 赵敬, 王全有, 褚幼晖, 等. 农业采摘机器人发展分析及前景展望[J]. 农机使用与维修, 2023(6): 63-70. [Google Scholar] [CrossRef
[3] 高帅, 刘永华, 高菊玲, 等. 基于YOLOv3算法与3D视觉的农业采摘机器人目标识别与定位研究[J]. 中国农机化学报, 2022, 43(12): 178-183. [Google Scholar] [CrossRef
[4] 李亚涛. 茶叶采摘机器人的视觉检测与定位技术研究[D]: [博士学位论文]. 杭州: 浙江理工大学, 2022.[CrossRef
[5] 魏天宇, 柳天虹, 张善文, 等. 基于改进YOLOv5s的辣椒采摘机器人识别定位方法[J]. 扬州大学学报(自然科学版), 2023, 26(1): 61-69. [Google Scholar] [CrossRef
[6] 刘丽娟, 窦佩佩, 王慧. 自然环境下重叠与遮挡苹果图像识别方法研究[J]. 中国农机化学报, 2021, 42(6): 174-181. [Google Scholar] [CrossRef
[7] Whittaker, D.E., Miles, G.R., Mitchell, O.D. and Gaultney, L. (1987) Fruit Location in a Partially Occluded Image. Transactions of the ASAE, 30, 591-596. [Google Scholar] [CrossRef
[8] Gongal, A., et al. (2016) Apple Crop-Load Estimation with Over-the-Row Machine Vision System. Computers and Electronics in Agriculture, 120, 26-35. [Google Scholar] [CrossRef
[9] 李杰. 结合改进注意力机制的YOLO目标检测算法[J]. 计算机时代, 2023(7): 108-113. [Google Scholar] [CrossRef
[10] Liu, W., et al. (2016) SSD: Single Shot MultiBox Detector. In: Leibe, B., Matas, J., Sebe, N. and Welling, M., Eds., Computer Vision—ECCV, Springer International Pub-lishing, Berlin, 21-37.
[11] Mehta, S.S., Ton, C., Asundi, S. and Burks, T.F. (2017) Multiple Camera Fruit Localization Using a Particle Filter. Computers and Electronics in Agriculture, 142, 139-154. [Google Scholar] [CrossRef
[12] Nyarko, E.K., Vidović, I., Radočaj, K. and Cupec, R. (2018) A Nearest Neighbor Approach for Fruit Recognition in RGB-D Images Based on Detection of Convex Surfaces. Expert Systems with Applications, 114, 454-466. [Google Scholar] [CrossRef
[13] 徐惠荣, 叶尊忠, 应义斌. 基于彩色信息的树上柑橘识别研究[J]. 农业工程学报, 2005, 21(5): 98-101.
[14] Jiang, P., Ergu, D., Liu, F., Cai, Y. and Ma, B. (2022) A Review of Yolo Algorithm Developments. Procedia Computer Science, 199, 1066-1073. [Google Scholar] [CrossRef
[15] 张睿敏, 杜叔强, 周秀媛. 多目标口罩规范佩戴检测算法及技术[J]. 兰州工业学院学报, 2023, 30(3): 43-47.
[16] 李家俊, 杨杰. 基于改进YOLOX的微小目标快速检测方法[J]. 江西冶金, 2023, 43(2): 164-172. [Google Scholar] [CrossRef
[17] 张鑫, 周顺勇. 改进YOLOv5s的摩托车头盔佩戴检测算法[J]. 四川轻化工大学学报(自然科版), 2023, 36(3): 50-58.
[18] 孙想, 吴华瑞, 朱华吉, 等. 基于LW-YOLOv3模型的棉花主茎生长点检测与定位研究[J]. 河北农业大学学报, 2021, 44(6): 106-115.
[19] Zhang, S. and Xie, M. (2023) Real-Time Recognition and Localization Based on Improved YOLOv5s for Robot’s Picking Clustered Fruits of Chilies. Sensors, 23, Article No. 3408. [Google Scholar] [CrossRef] [PubMed]