Information (Nov 2021)

Using Generative Module and Pruning Inference for the Fast and Accurate Detection of Apple Flower in Natural Environments

  • Yan Zhang,
  • Shupeng He,
  • Shiyun Wa,
  • Zhiqi Zong,
  • Yunling Liu

DOI
https://doi.org/10.3390/info12120495
Journal volume & issue
Vol. 12, no. 12
p. 495

Abstract

Read online

Apple flower detection is an important project in the apple planting stage. This paper proposes an optimized detection network model based on a generative module and pruning inference. Due to the problems of instability, non-convergence, and overfitting of convolutional neural networks in the case of insufficient samples, this paper uses a generative module and various image pre-processing methods including Cutout, CutMix, Mixup, SnapMix, and Mosaic algorithms for data augmentation. In order to solve the problem of slowing down the training and inference due to the increasing complexity of detection networks, the pruning inference proposed in this paper can automatically deactivate part of the network structure according to the different conditions, reduce the network parameters and operations, and significantly improve the network speed. The proposed model can achieve 90.01%, 98.79%, and 97.43% in precision, recall, and mAP, respectively, in detecting the apple flowers, and the inference speed can reach 29 FPS. On the YOLO-v5 model with slightly lower performance, the inference speed can reach 71 FPS by the pruning inference. These experimental results demonstrate that the model proposed in this paper can meet the needs of agricultural production.

Keywords