A Lightweight Crop Pest Detection Algorithm Based on Improved Yolov5s

被引:6
|
作者
Zhang, Jing [1 ]
Wang, Jun [1 ]
Zhao, Maocheng [2 ]
机构
[1] Nanjing Forestry Univ, Coll Informat Sci & Technol, Nanjing 210037, Peoples R China
[2] Nanjing Forestry Univ, Coll Mech & Elect Engn, Nanjing 210037, Peoples R China
来源
AGRONOMY-BASEL | 2023年 / 13卷 / 07期
关键词
pest detection; Yolov5s; MobileNetV3; attention mechanism; lightweight; Jetson Nano; INSECTS; SYSTEM;
D O I
10.3390/agronomy13071779
中图分类号
S3 [农学(农艺学)];
学科分类号
0901 ;
摘要
The real-time target detection of crop pests can help detect and control pests in time. In this study, we built a lightweight agricultural pest identification method based on modified Yolov5s and reconstructed the original backbone network in tandem with MobileNetV3 to considerably reduce the number of parameters in the network model. At the same time, the ECA attention mechanism was introduced into the MobileNetV3 shallow network to meet the aim of effectively enhancing the network's performance by introducing a limited number of parameters. A weighted bidirectional feature pyramid network (BiFPN) was utilized to replace the path aggregation network (PAnet) in the neck network to boost the feature extraction of tiny targets. The SIoU loss function was utilized to replace the CIoU loss function to increase the convergence speed and accuracy of the model prediction frame. The updated model was designated ECMB-Yolov5. In this study, we conducted experiments on eight types of common pest dataset photos, and comparative experiments were conducted using common target identification methods. The final model was implemented on an embedded device, the Jetson Nano, for real-time detection, which gave a reference for further application to UAV or unmanned cart real-time detection systems. The experimental results indicated that ECMB-Yolov5 decreased the number of parameters by 80.3% and mAP by 0.8% compared to the Yolov5s model. The real-time detection speed deployed on embedded devices reached 15.2 FPS, which was 5.7 FPS higher than the original model. mAP was improved by 7.1%, 7.3%, 9.9%, and 8.4% for ECMB-Yolov5 compared to Faster R-CNN, Yolov3, Yolov4, and Yolov4-tiny models, respectively. It was verified through experiments that the improved lightweight method in this study had a high detection accuracy while significantly reducing the number of parameters and accomplishing real-time detection.
引用
收藏
页数:23
相关论文
共 50 条
  • [1] Lightweight ship target detection algorithm based on improved YOLOv5s
    Qian L.
    Zheng Y.
    Cao J.
    Ma Y.
    Zhang Y.
    Liu X.
    [J]. Journal of Real-Time Image Processing, 2024, 21 (1)
  • [2] Lightweight Surface Litter Detection Algorithm Based on Improved YOLOv5s
    Chen, Zunliang
    Huang, Chengxu
    Duan, Lucheng
    Tan, Baohua
    [J]. CMC-COMPUTERS MATERIALS & CONTINUA, 2023, 76 (01): : 1085 - 1102
  • [3] Lightweight Vehicle Detection Based on Improved YOLOv5s
    Wang, Yuhai
    Xu, Shuobo
    Wang, Peng
    Li, Kefeng
    Song, Ze
    Zheng, Quanfeng
    Li, Yanshun
    He, Qiang
    [J]. SENSORS, 2024, 24 (04)
  • [4] A lightweight algorithm for small traffic sign detection based on improved YOLOv5s
    Cai, Kunhui
    Yang, Jingmin
    Ren, Jinghui
    Zhang, Wenjie
    [J]. SIGNAL IMAGE AND VIDEO PROCESSING, 2024, 18 (05) : 4821 - 4829
  • [5] A lightweight ship target detection model based on improved YOLOv5s algorithm
    Zheng, Yuanzhou
    Zhang, Yuanfeng
    Qian, Long
    Zhang, Xinzhu
    Diao, Shitong
    Liu, Xinyu
    Cao, Jingxin
    Huang, Haichao
    [J]. PLOS ONE, 2023, 18 (04):
  • [6] Research on Lightweight Improved Algorithm for Indoor Target Detection Based on YOLOv5s
    Niu, Xinyu
    Mao, Pengjun
    Duan, Yuntao
    Lou, Xiaoheng
    [J]. Computer Engineering and Applications, 2024, 60 (03)
  • [7] Lightweight aerial image object detection algorithm based on improved YOLOv5s
    Lixia Deng
    Lingyun Bi
    Hongquan Li
    Haonan Chen
    Xuehu Duan
    Haitong Lou
    Hongyu Zhang
    Jingxue Bi
    Haiying Liu
    [J]. Scientific Reports, 13
  • [8] Lightweight aerial image object detection algorithm based on improved YOLOv5s
    Deng, Lixia
    Bi, Lingyun
    Li, Hongquan
    Chen, Haonan
    Duan, Xuehu
    Lou, Haitong
    Zhang, Hongyu
    Bi, Jingxue
    Liu, Haiying
    [J]. SCIENTIFIC REPORTS, 2023, 13 (01)
  • [9] Lightweight Detection of Helmets and Reflective Clothings: Improved YOLOv5s Algorithm
    Zhang, Xueli
    Jia, Xinchun
    Wang, Meigang
    Zhi, Hanyu
    [J]. Computer Engineering and Applications, 2024, 60 (01) : 104 - 109
  • [10] Insulator defect detection in transmission line based on an improved lightweight YOLOv5s algorithm
    Wei, Liangliang
    Jin, Jun
    Deng, Kaiyuan
    Liu, Han
    [J]. ELECTRIC POWER SYSTEMS RESEARCH, 2024, 233