• 摘要: 番茄是中国重要的经济作物之一,为解决番茄叶片病害在多类别、小目标、不同环境状况下检测精度不高的问题,研究提出ADD-YOLOv10n目标检测模型。首先对YOLOv10n主干网络进行改进,将可变核卷积(alterable kernel convolution, AKConv)融入主干网络,替换掉第二层的Conv,突破传统卷积局限于固定窗口和固定采样形状的限制。在主干末尾加入DAttention注意力机制,添加可变形注意力和动态采样点,动态选择、重点识别番茄叶片病害集中的区域。最后将最邻近上采样算子优化为DySample算子,不增加额外大量的计算量和参数,降低计算复杂度。经过对比实验,可以看到ADD-YOLOv10n模型的平均精度均值(mean average precision, mAP)达到71.8%,比YOLOv10n原模型高2.4%,准确率(precision, P)、召回率(recall, R)和F1分数分别为71.9%、68.3%和70.1%,比YOLOv10n原模型分别高2.4%、4.4%和3.5%,并且参数数量、模型大小和计算复杂度都有所下降。研究改进的ADD-YOLOv10n模型,能够更好地满足实际农业生产中对番茄叶片病害的实时精准检测,也为后续的智能浇灌、病害修复等农业自动化操作提供技术支持。

       

      Abstract: Tomato is one of the important cash crops in China. To address the issue of low detection accuracy for tomato leaf diseases involving multi-category, small-target, and varying environmental conditions, this study proposes the ADD-YOLOv10n object detection model. First, the backbone network of YOLOv10n was improved by integrating AKConv (alterable kernel convolution) to replace the second-layer Conv, breaking the limitations of traditional convolutions that rely on fixed windows and sampling shapes. A DAttention (deformable attention) mechanism was added at the end of the backbone network, incorporating deformable attention and dynamic sampling points to dynamically select and focus on areas where tomato leaf diseases are concentrated. Finally, the nearest-neighbor upsampling operator was optimized to the DySample operator, which does not introduce significant additional computational overhead or parameters, thereby reducing computational complexity. Comparative experiments show that the ADD-YOLOv10n model achieves a mean average precision (mAP) of 71.8%, which is 2.4% higher than the original YOLOv10n model. The precision (P), recall (R), and F1-score reach 71.9%, 68.3%, and 70.1%, respectively, surpassing the original YOLOv10n model by 2.4%, 4.4%, and 3.5%. Additionally, the number of parameters, model size, and computational complexity are all reduced. The improved ADD-YOLOv10n model can better meet the demands of real-time, accurate detection of tomato leaf diseases in practical agricultural production. It also provides technical support for subsequent automated agricultural operations such as intelligent irrigation and disease remediation.