Agriculture (Jan 2023)

Weed Identification in Soybean Seedling Stage Based on Optimized Faster R-CNN Algorithm

  • Xinle Zhang,
  • Jian Cui,
  • Huanjun Liu,
  • Yongqi Han,
  • Hongfu Ai,
  • Chang Dong,
  • Jiaru Zhang,
  • Yunxiang Chu

DOI
https://doi.org/10.3390/agriculture13010175
Journal volume & issue
Vol. 13, no. 1
p. 175

Abstract

Read online

Soybean in the field has a wide range of intermixed weed species and a complex distribution status, and the weed identification rate of traditional methods is low. Therefore, a weed identification method is proposed based on the optimized Faster R-CNN algorithm for the soybean seedling. Three types of weed datasets, including soybean, with a total of 9816 photos were constructed, and cell phone photo data were used for training and recognition. Firstly, by comparing the classification effects of ResNet50, VGG16, and VGG19, VGG19 was identified as the best backbone feature extraction network for model training. Secondly, an attention mechanism was embedded after the pooling layer in the second half of VGG19 to form the VGG19-CBAM structure, which solved the problem of low attention to the attention target during model training using the trained Faster R-CNN algorithm to identify soybean and weeds in the field under the natural environment and compared with two classical target detection algorithms, SSD and Yolov4. The experimental results show that the Faster R-CNN algorithm using VGG19-CBAM as the backbone feature extraction network can effectively identify soybeans and weeds in complex backgrounds. The average recognition speed for a single image is 336 ms, and the average recognition accuracy is 99.16%, which is 5.61% higher than before optimization, 2.24% higher than the SSD algorithm, and 1.24% higher than the Yolov4 algorithm. Therefore, this paper’s optimized target detection model is advantageous and can provide a scientific method for accurate identification and monitoring of grass damage.

Keywords