自然环境下基于改进的YOLOv8s的脐橙检测方法
Detection of Navel Orange Based on the Improved YOLOv8s under Natural Environment
摘要: 近年来,基于深度学习的目标检测算法发展极为迅速。YOLOv8s能够兼顾检测精度和速度,有利于脐橙智能化采摘的实现。本文分别从数据集扩充和YOLOv8s模型改进两方面提高脐橙的检测精度。数据集扩充方面,对晴天采集的脐橙图像进行加雨和加雾扩充,提高模型在复杂环境下的检测能力。模型改进方面,先将YOLOv8s颈部的特征融合改进为权重化的融合,以突出重要的特征;然后将YOLOv8s原浅层处的检测头更换至更浅层,以检测出因遮挡严重而表现为小的目标;最后,将YOLOv8s主干网络的第二个卷积改进为全维度动态卷积,以在卷积的空间、输入通道、输出通道和整个卷积核四个维度上关注重要特征。实验结果表明,与未对数据集扩充且采用原始YOLOv8s模型的方法相比,本文方法获得的精确率、召回率和平均精确率均值都得到大幅度提升。
Abstract: In recent years, deep learning-based object detection algorithms have developed rapidly. YOLOv8s can balance detection accuracy and speed, which is conducive to the implementation of intelligent navel orange picking. In this paper, we improve the detection performance from two aspects: dataset expansion and model improvement. In terms of dataset expansion, rain and fog are added into the navel orange images collected on sunny days to improve the detection ability of the model in complex environments. In terms of model improvement, the weighed concatenation operation is adopted in feature fusion to highlight the important features; the detection head at the shallow layer in the original model is transferred to a shallower layer to detect targets that appear small due to the severe occlusion; the second convolution operation in the backbone is replaced by a omni-dimensional convolution to focus on important features in four dimensions: spatial position, input channel, output channel and the entire convolution kernel. The experimental results show that when compared with the method using the original YOLOv8s without data augmentation, the precision, the recall and the mean average precision obtained by our method have been significantly improved.
文章引用:罗宇航, 陈骁扬, 汪成江, 罗坤, 黄帅永. 自然环境下基于改进的YOLOv8s的脐橙检测方法[J]. 计算机科学与应用, 2024, 14(6): 41-49. https://doi.org/10.12677/csa.2024.146140

参考文献

[1] 朱旭, 马淏, 姬江涛, 金鑫, 赵凯旋, 张开. 基于Faster R-CNN的蓝莓冠层果实检测识别分析[J]. 南方农业学报, 2020, 51(6): 1493-1501.
[2] 熊俊涛, 刘振, 汤林越, 林睿, 卜榕彬, 彭红星. 自然环境下绿色柑橘视觉检测技术研究[J]. 农业机械学报, 2018, 49(4): 45-52.
[3] 彭红星, 黄博, 邵园园, 等. 自然环境下多类水果采摘目标识别的通用改进SSD模型[J]. 农业工程学报, 2018, 34(16): 155-162.
[4] 薛月菊, 黄宁, 涂淑琴, 等. 未成熟芒果的改进YOLOv2识别方法[J]. 农业工程学报, 2018, 34(7): 173-179.
[5] 唐熔钗, 伍锡如. 基于改进YOLO-V3网络的百香果实时检测[J]. 广西师范大学学报, 2020, 38(6): 32-39.
[6] 王卓, 王健, 王枭雄, 时佳, 白晓平, 赵泳嘉. 基于改进YOLOv4的自然环境苹果轻量级检测方法[J]. 农业机械学报, 2022, 53(8): 294-302.
[7] 张志远, 罗铭毅, 郭树欣, 刘刚, 李淑平, 张瑶. 基于改进YOLOv5的自然环境下樱桃果实识别方法[J]. 农业机械学报, 2022, 53(1): 232-240.
[8] 杜宝侠, 唐友, 辛鹏, 杨牧. 基于改进YOLOv8的苹果检测方法[J]. 无线互联科技, 2023(13): 119-122.
[9] 熊正午, 吴瑞梅, 黄俊仕, 李霸聪, 戴仕明, 艾施荣. 深度学习结合快速导向滤波识别自然环境下脐橙果实[J]. 江西农业大学学报, 2022, 44(3): 736-746.
[10] 章倩丽, 李秋生, 胡俊勇, 谢湘慧. 基于PP-YOLO改进算法的脐橙果实实时检测[J]. 北京联合大学学报, 2022, 36(4): 58-66.
[11] He, K., Sun, J. and Tang, X. (2011) Single Image Haze Removal Using Dark Channel Prior. IEEE Transactions on Pattern Analysis & Machine Intelligence, 33, 2341-2353. [Google Scholar] [CrossRef
[12] Tan, M., Pang, R. and Le, Q. (2020) EfficientDet: Scalable and Efficient Object Detection. IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, 13-19 June 2020, 10778-10787. [Google Scholar] [CrossRef
[13] Li, C., Zhou, A. and Yao, A. (2022) Omni-Dimensional Dynamic Convolution. International Conference on Learning Representations, Virtual, 25-29 April 2022, 1-20.