Cargando…
A Lightweight YOLOv4-Based Forestry Pest Detection Method Using Coordinate Attention and Feature Fusion
Traditional pest detection methods are challenging to use in complex forestry environments due to their low accuracy and speed. To address this issue, this paper proposes the YOLOv4_MF model. The YOLOv4_MF model utilizes MobileNetv2 as the feature extraction block and replaces the traditional convol...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8700145/ https://www.ncbi.nlm.nih.gov/pubmed/34945892 http://dx.doi.org/10.3390/e23121587 |
_version_ | 1784620686087553024 |
---|---|
author | Zha, Mingfeng Qian, Wenbin Yi, Wenlong Hua, Jing |
author_facet | Zha, Mingfeng Qian, Wenbin Yi, Wenlong Hua, Jing |
author_sort | Zha, Mingfeng |
collection | PubMed |
description | Traditional pest detection methods are challenging to use in complex forestry environments due to their low accuracy and speed. To address this issue, this paper proposes the YOLOv4_MF model. The YOLOv4_MF model utilizes MobileNetv2 as the feature extraction block and replaces the traditional convolution with depth-wise separated convolution to reduce the model parameters. In addition, the coordinate attention mechanism was embedded in MobileNetv2 to enhance feature information. A symmetric structure consisting of a three-layer spatial pyramid pool is presented, and an improved feature fusion structure was designed to fuse the target information. For the loss function, focal loss was used instead of cross-entropy loss to enhance the network’s learning of small targets. The experimental results showed that the YOLOv4_MF model has 4.24% higher mAP, 4.37% higher precision, and 6.68% higher recall than the YOLOv4 model. The size of the proposed model was reduced to 1/6 of that of YOLOv4. Moreover, the proposed algorithm achieved 38.62% mAP with respect to some state-of-the-art algorithms on the COCO dataset. |
format | Online Article Text |
id | pubmed-8700145 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-87001452021-12-24 A Lightweight YOLOv4-Based Forestry Pest Detection Method Using Coordinate Attention and Feature Fusion Zha, Mingfeng Qian, Wenbin Yi, Wenlong Hua, Jing Entropy (Basel) Article Traditional pest detection methods are challenging to use in complex forestry environments due to their low accuracy and speed. To address this issue, this paper proposes the YOLOv4_MF model. The YOLOv4_MF model utilizes MobileNetv2 as the feature extraction block and replaces the traditional convolution with depth-wise separated convolution to reduce the model parameters. In addition, the coordinate attention mechanism was embedded in MobileNetv2 to enhance feature information. A symmetric structure consisting of a three-layer spatial pyramid pool is presented, and an improved feature fusion structure was designed to fuse the target information. For the loss function, focal loss was used instead of cross-entropy loss to enhance the network’s learning of small targets. The experimental results showed that the YOLOv4_MF model has 4.24% higher mAP, 4.37% higher precision, and 6.68% higher recall than the YOLOv4 model. The size of the proposed model was reduced to 1/6 of that of YOLOv4. Moreover, the proposed algorithm achieved 38.62% mAP with respect to some state-of-the-art algorithms on the COCO dataset. MDPI 2021-11-27 /pmc/articles/PMC8700145/ /pubmed/34945892 http://dx.doi.org/10.3390/e23121587 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Zha, Mingfeng Qian, Wenbin Yi, Wenlong Hua, Jing A Lightweight YOLOv4-Based Forestry Pest Detection Method Using Coordinate Attention and Feature Fusion |
title | A Lightweight YOLOv4-Based Forestry Pest Detection Method Using Coordinate Attention and Feature Fusion |
title_full | A Lightweight YOLOv4-Based Forestry Pest Detection Method Using Coordinate Attention and Feature Fusion |
title_fullStr | A Lightweight YOLOv4-Based Forestry Pest Detection Method Using Coordinate Attention and Feature Fusion |
title_full_unstemmed | A Lightweight YOLOv4-Based Forestry Pest Detection Method Using Coordinate Attention and Feature Fusion |
title_short | A Lightweight YOLOv4-Based Forestry Pest Detection Method Using Coordinate Attention and Feature Fusion |
title_sort | lightweight yolov4-based forestry pest detection method using coordinate attention and feature fusion |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8700145/ https://www.ncbi.nlm.nih.gov/pubmed/34945892 http://dx.doi.org/10.3390/e23121587 |
work_keys_str_mv | AT zhamingfeng alightweightyolov4basedforestrypestdetectionmethodusingcoordinateattentionandfeaturefusion AT qianwenbin alightweightyolov4basedforestrypestdetectionmethodusingcoordinateattentionandfeaturefusion AT yiwenlong alightweightyolov4basedforestrypestdetectionmethodusingcoordinateattentionandfeaturefusion AT huajing alightweightyolov4basedforestrypestdetectionmethodusingcoordinateattentionandfeaturefusion AT zhamingfeng lightweightyolov4basedforestrypestdetectionmethodusingcoordinateattentionandfeaturefusion AT qianwenbin lightweightyolov4basedforestrypestdetectionmethodusingcoordinateattentionandfeaturefusion AT yiwenlong lightweightyolov4basedforestrypestdetectionmethodusingcoordinateattentionandfeaturefusion AT huajing lightweightyolov4basedforestrypestdetectionmethodusingcoordinateattentionandfeaturefusion |