Title: Lightweight crop pest identification algorithm under natural background

Authors: Dong Benzhi; Wang Yaqi; Xu Dali

Addresses: College of Information and Computer Engineering, Northeast Forestry University, Harbin 150040, Heilongjiang Province, China ' College of Information and Computer Engineering, Northeast Forestry University, Harbin 150040, Heilongjiang Province, China ' College of Information and Computer Engineering, Northeast Forestry University, Harbin 150040, Heilongjiang Province, China

Abstract: Aiming at the problem of poor detection effect and low recognition accuracy of small target insects under the background of complex natural environment, this paper proposes an improved Yolo v5s insect recognition algorithm. First, the channel attention mechanism is embedded in the backbone network to improve the feature extraction ability of the algorithm for small targets. Second, the Adaptive Spatial Feature Fusion (ASFF) structure is introduced in the PANet part, and dynamic weight parameters are used to assign different weights to feature maps of different scales, so as to filter out other levels of features such as the complex environment where insects are located and improve the recognition accuracy. Finally, we change the loss function and non-maximum suppression strategy to improve the accuracy of bounding box positioning and the speed of regression. Experimental results show that the improved algorithm has a final average accuracy (mAP@0.5) of 97.8% in the D0 data set and an average detection speed of 13.66 ms per image, which is more suitable for deployment in mobile and embedded devices to achieve real-time detection.

Keywords: insect recognition; lightweight convolutional neural network; channel attention mechanism; adaptive spatial feature fusion.

DOI: 10.1504/IJCAT.2023.134034

International Journal of Computer Applications in Technology, 2023 Vol.73 No.1, pp.1 - 12

Received: 06 Jan 2022
Accepted: 12 Mar 2022

Published online: 10 Oct 2023 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article