Weed Identification in Maize Fields Based on Improved Swin-Unet

Research output: Contribution to journalArticlepeer-review

14 Citations (Scopus)

Abstract

The maize field environment is complex. Weeds and maize have similar colors and may overlap, and lighting and weather conditions vary. Thus, many methods for the automated differentiation of maize and weeds achieve poor segmentation or cannot be used in real time. In this paper, a weed recognition model based on improved Swin-Unet is proposed. The model first performs semantic segmentation of maize seedlings and uses the resulting mask to identify weeds. U-Net acts as the semantic segmentation framework, and a Swin transformer module is introduced to improve performance. DropBlock regularization, which randomly hides some blocks in crop feature maps, is applied to enhance the generalization ability of the model. Finally, weed areas are identified and segmented with the aid of an improved morphological processing algorithm. The DeepLabv3+, PSANet, Mask R-CNN, original Swin-Unet, and proposed models are trained on a dataset of maize seedling images. The proposed Swin-Unet model outperforms the others, achieving a mean intersection over union of 92.75%, mean pixel accuracy of 95.57%, and inference speed of 15.1 FPS. Our model could be used for accurate, real-time segmentation of crops and weeds and as a reference for the development of intelligent agricultural equipment.
Original languageEnglish
Article number1
Pages (from-to)1-15
Number of pages15
JournalAgronomy Journal
Volume13
Issue number7
DOIs
Publication statusPublished - 13 Jul 2023

Keywords

  • crop
  • target recognition
  • target segmentation

Fingerprint

Dive into the research topics of 'Weed Identification in Maize Fields Based on Improved Swin-Unet'. Together they form a unique fingerprint.

Cite this