Skip to main content
Log in

WeedsNet: a dual attention network with RGB-D image for weed detection in natural wheat field

  • Published:
Precision Agriculture Aims and scope Submit manuscript

Abstract

For weed detection in wheat field, it is difficult to identify weeds against the complex field background using single-modal red–green–blue (RGB) images due to similar appearance of grass weeds and wheat. To overcome limitations of single-modal information in grass weed detection, a dual-path weed detection network (WeedsNet) based on multi-modal information is proposed. At first, the single-channel depth image is encoded as a new three-channel image having similar structures with RGB color space, so that they are suitable for feature extraction using a convolutional neural network (CNN). Then, WeedsNet comprising a dual-path feature extraction network is constructed to extract features of weeds from RGB and depth images simultaneously. Finally, weights are assigned to features in different modalities in tandem with the idea of multi-scale object detection and the attention mechanism, thus effectively fusing multi-modal information. The results of the interpretability analysis of the model demonstrate that depth information is beneficial to achieve the detection of grass weeds, and effectively improves the weed detection accuracy in wheat field by complementing with RGB image features. WeedsNet has better detection accuracy than both traditional machine learning methods and integrated learning-based weight assignment methods. The weed detection accuracy is 62.3% based on WeedsNet in natural wheat field and the detection speed of single image was about 0.5s. Weed detection software is designed and developed based on WeedsNet to achieve real-time output of weeds distribution information in natural wheat field.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig.1
Fig.2
Fig.3
Fig.4
Fig.5
Fig.6
Fig.7
Fig.8
Fig.9
Fig.10
Fig.11
Fig.12
Fig.13
Fig.14
Fig15
Fig.16
Fig.17
Fig.18
Fig.19

Similar content being viewed by others

References

Download references

Acknowledgements

This work was supported by National Natural Science Foundation of China (Grant No. 31871524), Modern Agricultural machinery equipment & technology demonstration and promotion of Jiangsu Province (Grant No. NJ2021-58), the Primary Research & Development Plan of Jiangsu Province of China (Grant No. BE2021304) and Six Talent Peaks Project in Jiangsu Province (Grant No. XYDXX-049).

Author information

Authors and Affiliations

Authors

Contributions

KX: Methodology, software, data curation and writing original draft. PY: Writing, review and editing. QX: Experiment design and data collection. YZ: Supervision and Validation. WC: Supervision, review and editing. JN: Supervision, writing, review, editing and funding acquisition.

Corresponding authors

Correspondence to Weixing Cao or Jun Ni.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Xu, K., Yuen, P., Xie, Q. et al. WeedsNet: a dual attention network with RGB-D image for weed detection in natural wheat field. Precision Agric 25, 460–485 (2024). https://doi.org/10.1007/s11119-023-10080-2

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11119-023-10080-2

Keywords

Navigation