中国农业科技导报 ›› 2024, Vol. 26 ›› Issue (4): 97-105.DOI: 10.13304/j.nykjdb.2023.0570

• 智慧农业 农机装备 • 上一篇    下一篇

基于YOLOX-L-TN模型的番茄果实识别

李名博1(), 刘玉乐1(), 穆志民2, 郭俊旺1, 卫勇1, 任东悦1, 贾济深1, 卫泽中1, 栗宇红3   

  1. 1.天津农学院工程技术学院, 天津 300384
    2.天津农学院基础科学学院, 天津 300384
    3.山西省长治市沁县农业农村局, 山西 长治 046499
  • 收稿日期:2023-07-31 接受日期:2023-10-28 出版日期:2024-04-15 发布日期:2024-04-23
  • 通讯作者: 刘玉乐
  • 作者简介:李名博E-mail:1634221386@qq.com
  • 基金资助:
    天津市科技计划项目(21YDTPJC00600);天津市教委教改项目(A201006102)

Tomato Fruit Recognition Based on YOLOX-L-TN Model

Mingbo LI1(), Yule LIU1(), Zhimin MU2, Junwang GUO1, Yong WEI1, Dongyue REN1, Jishen JIA1, Zezhong WEI1, Yuhong LI3   

  1. 1.College of Engineering and Technology,Tianjin Agricultural University,Tianjin 300384,China
    2.College of Basic Sciences,Tianjin Agricultural University,Tianjin 300384,China
    3.Agriculture and Rural Bureau of Qin County,Changzhi City,Shanxi Province,Shanxi Changzhi 046499,China
  • Received:2023-07-31 Accepted:2023-10-28 Online:2024-04-15 Published:2024-04-23
  • Contact: Yule LIU

摘要:

针对植物工厂对番茄采摘作业的智能化需求,为克服在采摘作业过程中因番茄果实大小不一、遮挡重叠造成的识别精度不高和速度不快的问题,提出了YOLOX-L的改进型目标识别模型YOLOX-L-TN。该模型依据特征图的通道和空间注意力机制的内部结构和原理,设计了含有残差结构的TN模块,并融入到YOLOX-L的主干网络中,在保持网络轻量化的同时,实现模型识别速度和精度的同时提升。与YOLOX-L相比,YOLOX-L-TN的AP值提高了4.81个百分点,单张图像的识别时间提升了0.141 7 s,TN模块的最佳位置为输入端与主干网络之间。进一步将TN模块与类似模块SENet、CAM、CBAM和CAM进行对比,AP值分别提高0.53、4.19、6.12、6.34个百分点,单张图像识别时间分别提升0.019 1、0.025 0、0.021 1、0.018 9 s。由此可见,提出的YOLOX-L-TN模型具有精度高、识别速度快、鲁棒性高等优点,可为番茄后期的智能采摘提供技术支持。

关键词: 番茄识别, 注意力机制, TN模块, YOLOX-L

Abstract:

Aiming at the intelligent demand for tomato picking operation in plant factories, in order to overcome the problems of low recognition accuracy and low speed caused by different sizes and overlapping of tomato fruits during picking operation, an improved target recognition model of YOLOX-L-TN was proposed, in which a TN module containing residual structure was designed according to the internal structure and principle of channel and spatial attention mechanism of feature graph, and integrated into the backbone network of YOLOX-L. This model improved the speed and accuracy of model recognition while maintaining the lightweight of the network. Compared with YOLOX-L, the AP value of YOLOX-L-TN was increased by 4.81 percentage points, and the recognition time of single image is increased by 0.141 7 s, and the optimal position of TN module was between the input and the backbone network. Furthermore, TN module was compared with similar modules SENet, CAM, CBAM and CAM, and the results showed that AP value was increased by 0.53, 4.19, 6.12 and 6.34 percentage points, respectively, and the recognition time of single image is increased by 0.019 1, 0.025 0, 0.021 1, 0.018 9 s, respectively. In conclusion, the proposed YOLOX-L-TN model had the advantages of high precision, fast identification speed and high robustness, which provided technical support for the intelligent picking of tomatoes in the later stage.

Key words: tomato recognition, attention mechanism, TN module, YOLOX-L

中图分类号: