Real-Time Detection of Apple Leaf Diseases in Natural Scenes Based on YOLOv5

被引:15
作者
Li, Huishan [1 ]
Shi, Lei [1 ]
Fang, Siwen [1 ]
Yin, Fei [1 ]
机构
[1] Henan Agr Univ, Coll Informat & Management Sci, Zhengzhou 450046, Peoples R China
来源
AGRICULTURE-BASEL | 2023年 / 13卷 / 04期
关键词
smart agriculture; detection of apple leaf diseases; YOLOv5; transformer; CBAM;
D O I
10.3390/agriculture13040878
中图分类号
S3 [农学(农艺学)];
学科分类号
0901 ;
摘要
Aiming at the problem of accurately locating and identifying multi-scale and differently shaped apple leaf diseases from a complex background in natural scenes, this study proposed an apple leaf disease detection method based on an improved YOLOv5s model. Firstly, the model utilized the bidirectional feature pyramid network (BiFPN) to achieve multi-scale feature fusion efficiently. Then, the transformer and convolutional block attention module (CBAM) attention mechanisms were added to reduce the interference from invalid background information, improving disease characteristics' expression ability and increasing the accuracy and recall of the model. Experimental results showed that the proposed BTC-YOLOv5s model (with a model size of 15.8M) can effectively detect four types of apple leaf diseases in natural scenes, with 84.3% mean average precision (mAP). With an octa-core CPU, the model could process 8.7 leaf images per second on average. Compared with classic detection models of SSD, Faster R-CNN, YOLOv4-tiny, and YOLOx, the mAP of the proposed model was increased by 12.74%, 48.84%, 24.44%, and 4.2%, respectively, and offered higher detection accuracy and faster detection speed. Furthermore, the proposed model demonstrated strong robustness and mAP exceeding 80% under strong noise conditions, such as exposure to bright lights, dim lights, and fuzzy images. In conclusion, the new BTC-YOLOv5s was found to be lightweight, accurate, and efficient, making it suitable for application on mobile devices. The proposed method could provide technical support for early intervention and treatment of apple leaf diseases.
引用
收藏
页数:19
相关论文
共 42 条
[1]   Feasibility of Using Computer Vision and Artificial Intelligence Techniques in Detection of Some Apple Pests and Diseases [J].
Abbaspour-Gilandeh, Yousef ;
Aghabara, Abdollah ;
Davari, Mahdi ;
Maja, Joe Mari .
APPLIED SCIENCES-BASEL, 2022, 12 (02)
[2]  
[Anonymous], Plant Pathology 2021-FGVC8
[3]   UAV remote sensing detection of tea leaf blight based on DDMA-YOLO [J].
Bao, Wenxia ;
Zhu, Ziqiang ;
Hu, Gensheng ;
Zhou, Xingen ;
Zhang, Dongyan ;
Yang, Xianjun .
COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2023, 205
[4]   MobileNet Based Apple Leaf Diseases Identification [J].
Bi, Chongke ;
Wang, Jiamin ;
Duan, Yulin ;
Fu, Baofeng ;
Kang, Jia-Rong ;
Shi, Yun .
MOBILE NETWORKS & APPLICATIONS, 2022, 27 (01) :172-180
[5]  
Bochkovskiy A, 2020, Arxiv, DOI arXiv:2004.10934
[6]  
Carion N, 2020, Img Proc Comp Vis Re, V12346, P213, DOI 10.1007/978-3-030-58452-8_13
[7]   LES-YOLO: A lightweight pinecone detection algorithm based on improved YOLOv4-Tiny network [J].
Cui, Mingdi ;
Lou, Yunyi ;
Ge, Yilin ;
Wang, Keqi .
COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2023, 205
[8]   Detection and Location of Dead Trees with Pine Wilt Disease Based on Deep Learning and UAV Remote Sensing [J].
Deng, Xiaoling ;
Tong, Zejing ;
Lan, Yubin ;
Huang, Zixiao .
AGRIENGINEERING, 2020, 2 (02) :294-307
[9]   A lightweight vehicles detection network model based on YOLOv5 [J].
Dong, Xudong ;
Yan, Shuai ;
Duan, Chaoqun .
ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2022, 113
[10]  
Dosovitskiy A, 2021, Arxiv, DOI arXiv:2010.11929