Cargando…

A real-time object detection model for orchard pests based on improved YOLOv4 algorithm

Accurate and efficient real-time detection of orchard pests was essential and could improve the economic benefits of the fruit industry. The orchard pest dataset, PestImgData, was built through a series of methods such as web crawler, specimen image collection and data augmentation. PestImgData was...

Descripción completa

Detalles Bibliográficos
Autores principales: Pang, Haitong, Zhang, Yitao, Cai, Weiming, Li, Bin, Song, Ruiyin
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Nature Publishing Group UK 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9360051/
https://www.ncbi.nlm.nih.gov/pubmed/35941200
http://dx.doi.org/10.1038/s41598-022-17826-4
_version_ 1784764268158124032
author Pang, Haitong
Zhang, Yitao
Cai, Weiming
Li, Bin
Song, Ruiyin
author_facet Pang, Haitong
Zhang, Yitao
Cai, Weiming
Li, Bin
Song, Ruiyin
author_sort Pang, Haitong
collection PubMed
description Accurate and efficient real-time detection of orchard pests was essential and could improve the economic benefits of the fruit industry. The orchard pest dataset, PestImgData, was built through a series of methods such as web crawler, specimen image collection and data augmentation. PestImgData was composed of two parts, PestImgData-1 and PestImgData-2. It contained 24,796 color images and covered 7 types of orchard pests. Based on the PestImgData and YOLOv4 algorithm, this paper conducted a preliminary study on the real-time object detection of orchard pests from 4 perspectives: transfer learning, activation function, anchor box, and batch normalization. In addition, this paper also visualized the feature learning ability of the detection models. On the basis of the above research, three improvement measures were adopted: the post-processing NMS algorithm was upgraded to DIoU-NMS, the training method was upgraded to 2-time finetuning training and the training data was enhanced. The performance of the improved model, F-D-YOLOv4-PEST, had been effectively improved. The mean average precision of F-D-YOLOv4-PEST was 92.86%, and the detection time of a single picture was 12.22 ms, which could meet the real-time detection requirements. In addition, in the case of high overlap area or high density, F-D-YOLOv4-PEST still maintained good performance. In the testing process of the laboratory and the greenhouse, including the wired network and the wireless network, F-D-YOLOv4-PEST could locate and classify pests as expected. This research could provide technical reference for the intelligent identification of agricultural pests based on deep learning.
format Online
Article
Text
id pubmed-9360051
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Nature Publishing Group UK
record_format MEDLINE/PubMed
spelling pubmed-93600512022-08-10 A real-time object detection model for orchard pests based on improved YOLOv4 algorithm Pang, Haitong Zhang, Yitao Cai, Weiming Li, Bin Song, Ruiyin Sci Rep Article Accurate and efficient real-time detection of orchard pests was essential and could improve the economic benefits of the fruit industry. The orchard pest dataset, PestImgData, was built through a series of methods such as web crawler, specimen image collection and data augmentation. PestImgData was composed of two parts, PestImgData-1 and PestImgData-2. It contained 24,796 color images and covered 7 types of orchard pests. Based on the PestImgData and YOLOv4 algorithm, this paper conducted a preliminary study on the real-time object detection of orchard pests from 4 perspectives: transfer learning, activation function, anchor box, and batch normalization. In addition, this paper also visualized the feature learning ability of the detection models. On the basis of the above research, three improvement measures were adopted: the post-processing NMS algorithm was upgraded to DIoU-NMS, the training method was upgraded to 2-time finetuning training and the training data was enhanced. The performance of the improved model, F-D-YOLOv4-PEST, had been effectively improved. The mean average precision of F-D-YOLOv4-PEST was 92.86%, and the detection time of a single picture was 12.22 ms, which could meet the real-time detection requirements. In addition, in the case of high overlap area or high density, F-D-YOLOv4-PEST still maintained good performance. In the testing process of the laboratory and the greenhouse, including the wired network and the wireless network, F-D-YOLOv4-PEST could locate and classify pests as expected. This research could provide technical reference for the intelligent identification of agricultural pests based on deep learning. Nature Publishing Group UK 2022-08-08 /pmc/articles/PMC9360051/ /pubmed/35941200 http://dx.doi.org/10.1038/s41598-022-17826-4 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Pang, Haitong
Zhang, Yitao
Cai, Weiming
Li, Bin
Song, Ruiyin
A real-time object detection model for orchard pests based on improved YOLOv4 algorithm
title A real-time object detection model for orchard pests based on improved YOLOv4 algorithm
title_full A real-time object detection model for orchard pests based on improved YOLOv4 algorithm
title_fullStr A real-time object detection model for orchard pests based on improved YOLOv4 algorithm
title_full_unstemmed A real-time object detection model for orchard pests based on improved YOLOv4 algorithm
title_short A real-time object detection model for orchard pests based on improved YOLOv4 algorithm
title_sort real-time object detection model for orchard pests based on improved yolov4 algorithm
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9360051/
https://www.ncbi.nlm.nih.gov/pubmed/35941200
http://dx.doi.org/10.1038/s41598-022-17826-4
work_keys_str_mv AT panghaitong arealtimeobjectdetectionmodelfororchardpestsbasedonimprovedyolov4algorithm
AT zhangyitao arealtimeobjectdetectionmodelfororchardpestsbasedonimprovedyolov4algorithm
AT caiweiming arealtimeobjectdetectionmodelfororchardpestsbasedonimprovedyolov4algorithm
AT libin arealtimeobjectdetectionmodelfororchardpestsbasedonimprovedyolov4algorithm
AT songruiyin arealtimeobjectdetectionmodelfororchardpestsbasedonimprovedyolov4algorithm
AT panghaitong realtimeobjectdetectionmodelfororchardpestsbasedonimprovedyolov4algorithm
AT zhangyitao realtimeobjectdetectionmodelfororchardpestsbasedonimprovedyolov4algorithm
AT caiweiming realtimeobjectdetectionmodelfororchardpestsbasedonimprovedyolov4algorithm
AT libin realtimeobjectdetectionmodelfororchardpestsbasedonimprovedyolov4algorithm
AT songruiyin realtimeobjectdetectionmodelfororchardpestsbasedonimprovedyolov4algorithm