A wheat spike detection method based on Transformer

被引:17
|
作者
Zhou, Qiong [1 ,2 ,3 ]
Huang, Ziliang [1 ,2 ]
Zheng, Shijian [1 ,4 ]
Jiao, Lin [1 ,5 ]
Wang, Liusan [1 ]
Wang, Rujing [1 ,2 ]
机构
[1] Chinese Acad Sci, Inst Intelligent Machines, Hefei Inst Phys Sci, Hefei, Peoples R China
[2] Univ Sci & Technol China, Sci Isl Branch, Hefei, Peoples R China
[3] Anhui Agr Univ, Coll Informat & Comp, Hefei, Peoples R China
[4] Univ Sci & Technol, Dept Informat Engn Southwest, Mianyang, Peoples R China
[5] Anhui Univ, Sch Internet, Hefei, Peoples R China
来源
基金
国家重点研发计划;
关键词
deep learning; IoU loss function; transformer; wheat spike detection; agriculture; DENSITY;
D O I
10.3389/fpls.2022.1023924
中图分类号
Q94 [植物学];
学科分类号
071001 ;
摘要
Wheat spike detection has important research significance for production estimation and crop field management. With the development of deep learning-based algorithms, researchers tend to solve the detection task by convolutional neural networks (CNNs). However, traditional CNNs equip with the inductive bias of locality and scale-invariance, which makes it hard to extract global and long-range dependency. In this paper, we propose a Transformer-based network named Multi-Window Swin Transformer (MW-Swin Transformer). Technically, MW-Swin Transformer introduces the ability of feature pyramid network to extract multi-scale features and inherits the characteristic of Swin Transformer that performs self-attention mechanism by window strategy. Moreover, bounding box regression is a crucial step in detection. We propose a Wheat Intersection over Union loss by incorporating the Euclidean distance, area overlapping, and aspect ratio, thereby leading to better detection accuracy. We merge the proposed network and regression loss into a popular detection architecture, fully convolutional one-stage object detection, and name the unified model WheatFormer. Finally, we construct a wheat spike detection dataset (WSD-2022) to evaluate the performance of the proposed methods. The experimental results show that the proposed network outperforms those state-of-the-art algorithms with 0.459 mAP (mean average precision) and 0.918 AP(50). It has been proved that our Transformer-based method is effective to handle wheat spike detection under complex field conditions.
引用
收藏
页数:14
相关论文
共 50 条
  • [1] A Wheat Spike Detection Method in UAV Images Based on Improved YOLOv5
    Zhao, Jianqing
    Zhang, Xiaohu
    Yan, Jiawei
    Qiu, Xiaolei
    Yao, Xia
    Tian, Yongchao
    Zhu, Yan
    Cao, Weixing
    REMOTE SENSING, 2021, 13 (16)
  • [2] Wheat Spike Detection and Counting in the Field Based on SpikeRetinaNet
    Wen, Changji
    Wu, Jianshuang
    Chen, Hongrui
    Su, Hengqiang
    Chen, Xiao
    Li, Zhuoshi
    Yang, Ce
    FRONTIERS IN PLANT SCIENCE, 2022, 13
  • [3] Detection method of wheat spike improved YOLOv5s based on the attention mechanism
    Zang, Hecang
    Wang, Yanjing
    Ru, Linyuan
    Zhou, Meng
    Chen, Dandan
    Zhao, Qing
    Zhang, Jie
    Li, Guoqiang
    Zheng, Guoqing
    FRONTIERS IN PLANT SCIENCE, 2022, 13
  • [4] Automatic detection and counting of wheat spike based on DMseg-Count
    Zang, Hecang
    Peng, Yilong
    Zhou, Meng
    Li, Guoqiang
    Zheng, Guoqing
    Shen, Hualei
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [5] A method of screening for spike fertility in wheat
    Abbate, P. E.
    Pontaroli, A. C.
    Lazaro, L.
    Gutheim, F.
    JOURNAL OF AGRICULTURAL SCIENCE, 2013, 151 (03): : 322 - 330
  • [6] API Misuse Detection Method Based on Transformer
    Yang, Jingbo
    Ren, Jian
    Wu, Wenjun
    2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS, 2022, : 958 - 969
  • [7] Lightweight Wheat Spike Detection Method Based on Activation and Loss Function Enhancements for YOLOv5s
    Li, Jingsong
    Dai, Feijie
    Qian, Haiming
    Huang, Linsheng
    Zhao, Jinling
    AGRONOMY-BASEL, 2024, 14 (09):
  • [8] Spike detection using a multiresolution entropy based method
    Farashi, Sajjad
    BIOMEDICAL ENGINEERING-BIOMEDIZINISCHE TECHNIK, 2018, 63 (04): : 361 - 376
  • [9] A Novel Method for Wheat Spike Phenotyping Based on Instance Segmentation and Classification
    Niu, Ziang
    Liang, Ning
    He, Yiyin
    Xu, Chengjia
    Sun, Sashuang
    Zhou, Zhenjiang
    Qiu, Zhengjun
    APPLIED SCIENCES-BASEL, 2024, 14 (14):
  • [10] A deep learning method for oriented and small wheat spike detection (OSWSDet) in UAV images
    Zhao, Jianqing
    Yan, Jiawei
    Xue, Tianjie
    Wang, Suwan
    Qiu, Xiaolei
    Yao, Xia
    Tian, Yongchao
    Zhu, Yan
    Cao, Weixing
    Zhang, Xiaohu
    COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2022, 198