Research on Multi-Scale Pest Detection and Identification Method in Granary Based on Improved YOLOv5
Jinyu Chu,
Yane Li,
Hailin Feng (),
Xiang Weng and
Yaoping Ruan
Additional contact information
Jinyu Chu: College of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, China
Yane Li: College of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, China
Hailin Feng: College of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, China
Xiang Weng: College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China
Yaoping Ruan: College of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, China
Agriculture, 2023, vol. 13, issue 2, 1-17
Abstract:
Accurately detecting and identifying granary pests is important in effectively controlling damage to a granary, ensuring food security scientifically and efficiently. In this paper, multi-scale images of seven common granary pests were collected. The dataset had 5231 images acquired with DSLR-shot, microscope, cell phone and online crawler. Each image contains different species of granary pests in a different background. In this paper, we designed a multi-scale granary pest recognition model, using the YOLOv5 (You Look Only Once version 5) object detection algorithm incorporating bidirectional feature pyramid network (BiFPN) with distance intersection over union, non-maximum suppression (DIOU_NMS) and efficient channel attention (ECA) modules. In addition, we compared the performance of the different models established with Efficientdet, Faster rcnn, Retinanet, SSD, YOLOx, YOLOv3, YOLOv4 and YOLOv5s, and we designed improved YOLOv5s on this dataset. The results show that the average accuracy of the model we designed for seven common pests reached 98.2%, which is the most accurate model among those identified in this paper. For further detecting the robustness of the proposed model, ablation analysis was conducted. Furthermore, the results show that the average accuracy of models established using the YOLOv5s network model combined with the attention mechanism was 96.9%. When replacing the model of PANet with BiFPN, the average accuracy reached 97.2%. At the same time, feature visualization was analyzed. The results show that the proposed model is good for capturing features of pests. The results of the model have good practical significance for the recognition of multi-scale granary pests.
Keywords: multi-scale granary pest images; YOLOv5 network; bidirectional feature pyramid network; distance intersection over union; efficient channel attention module (search for similar items in EconPapers)
JEL-codes: Q1 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 (search for similar items in EconPapers)
Date: 2023
References: View complete reference list from CitEc
Citations: View citations in EconPapers (1)
Downloads: (external link)
https://www.mdpi.com/2077-0472/13/2/364/pdf (application/pdf)
https://www.mdpi.com/2077-0472/13/2/364/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jagris:v:13:y:2023:i:2:p:364-:d:1055578
Access Statistics for this article
Agriculture is currently edited by Ms. Leda Xuan
More articles in Agriculture from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().