Xu Lijia, Shi Xiaoshi, Tang Zuoliang, He Yong, Yang Ning, Ma Wei, Zheng Chengyu, Chen Huabao, Zhou Taigang, Huang Peng, Wu Zhijun, Wang Yuchao, Zou Zhiyong, Kang Zhiliang, Dai Jianwu, Zhao Yongpeng
College of Mechanical and Electrical Engineering, Sichuan Agricultural University, Ya'an, China.
College of Resources, Sichuan Agricultural University, Chengdu, China.
Front Plant Sci. 2023 Jun 14;14:1176300. doi: 10.3389/fpls.2023.1176300. eCollection 2023.
Insect pests from the family Papilionidae (IPPs) are a seasonal threat to citrus orchards, causing damage to young leaves, affecting canopy formation and fruiting. Existing pest detection models used by orchard plant protection equipment lack a balance between inference speed and accuracy.
To address this issue, we propose an adaptive spatial feature fusion and lightweight detection model for IPPs, called ASFL-YOLOX. Our model includes several optimizations, such as the use of the Tanh-Softplus activation function, integration of the efficient channel attention mechanism, adoption of the adaptive spatial feature fusion module, and implementation of the soft Dlou non-maximum suppression algorithm. We also propose a structured pruning curation technique to eliminate unnecessary connections and network parameters.
Experimental results demonstrate that ASFL-YOLOX outperforms previous models in terms of inference speed and accuracy. Our model shows an increase in inference speed by 29 FPS compared to YOLOv7-x, a higher mAP of approximately 10% than YOLOv7-tiny, and a faster inference frame rate on embedded platforms compared to SSD300 and Faster R-CNN. We compressed the model parameters of ASFL-YOLOX by 88.97%, reducing the number of floating point operations per second from 141.90G to 30.87G while achieving an mAP higher than 95%.
Our model can accurately and quickly detect fruit tree pest stress in unstructured orchards and is suitable for transplantation to embedded systems. This can provide technical support for pest identification and localization systems for orchard plant protection equipment.
凤蝶科害虫(IPPs)是柑橘园的季节性威胁,会对幼叶造成损害,影响树冠形成和结果。果园植保设备使用的现有害虫检测模型在推理速度和准确性之间缺乏平衡。
为了解决这个问题,我们提出了一种用于IPPs的自适应空间特征融合和轻量级检测模型,称为ASFL-YOLOX。我们的模型包括多项优化,例如使用Tanh-Softplus激活函数、集成高效通道注意力机制、采用自适应空间特征融合模块以及实施软Dlou非极大值抑制算法。我们还提出了一种结构化剪枝优化技术,以消除不必要的连接和网络参数。
实验结果表明,ASFL-YOLOX在推理速度和准确性方面优于先前的模型。与YOLOv7-x相比,我们的模型推理速度提高了29 FPS,mAP比YOLOv7-tiny高约10%,在嵌入式平台上的推理帧率比SSD300和Faster R-CNN更快。我们将ASFL-YOLOX的模型参数压缩了88.97%,每秒浮点运算次数从141.90G减少到30.87G,同时mAP高于95%。
我们的模型能够准确、快速地检测非结构化果园中的果树害虫胁迫,适用于移植到嵌入式系统。这可为果园植保设备的害虫识别和定位系统提供技术支持。