Agronomy (Oct 2024)

Pest Detection Based on Lightweight Locality-Aware Faster R-CNN

  • Kai-Run Li,
  • Li-Jun Duan,
  • Yang-Jun Deng,
  • Jin-Ling Liu,
  • Chen-Feng Long,
  • Xing-Hui Zhu

DOI
https://doi.org/10.3390/agronomy14102303
Journal volume & issue
Vol. 14, no. 10
p. 2303

Abstract

Read online

Accurate and timely monitoring of pests is an effective way to minimize the negative effects of pests in agriculture. Since deep learning-based methods have achieved good performance in object detection, they have been successfully applied for pest detection and monitoring. However, the current pest detection methods fail to balance the relationship between computational cost and model accuracy. Therefore, this paper proposes a lightweight, locality-aware faster R-CNN (LLA-RCNN) method for effective pest detection and real-time monitoring. The proposed model uses MobileNetV3 to replace the original backbone, reduce the computational complexity, and compress the size of the model to speed up pest detection. The coordinate attention (CA) blocks are utilized to enhance the locality information for highlighting the objects under complex backgrounds. Furthermore, the generalized intersection over union (GIoU) loss function and region of interest align (RoI Align) technology are used to improve pest detection accuracy. The experimental results on different types of datasets validate that the proposed model not only significantly reduces the number of parameters and floating-point operations (FLOPs), but also achieves better performance than some popular pest detection methods. This demonstrates strong generalization capabilities and provides a feasible method for pest detection on resource-constrained devices.

Keywords