Paper · 2024 · Frontiers in Plant Science

DCP-YOLOv7x: improved pest detection method for low-quality cotton image

Yukun Ma; Yajun Wei; Minsheng Ma; et al.

5
claims
14
verbatim quotes
3
citations
2
research areas
✓
Open access · cc-by

Abstract

Introduction: Pests are important factors affecting the growth of cotton, and it is a challenge to accurately detect cotton pests under complex natural conditions, such as low-light environments. This paper proposes a low-light environments cotton pest detection method, DCP-YOLOv7x, based on YOLOv7x, to address the issues of degraded image quality, difficult feature extraction, and low detection precision of cotton pests in low-light environments. Methods: The DCP-YOLOv7x method first enhances low-quality cotton pest images using FFDNet (Fast and Flexible Denoising Convolutional Neural Network) and the EnlightenGAN low-light image enhancement network. This aims to generate high-quality pest images, reduce redundant noise, and improve target features and texture details in low-light environments. Next, the DAttention (Deformable Attention) mechanism is introduced into the SPPCSPC module of the YOLOv7x network to dynamically adjust the computation area of attention and enhance the feature extraction capability. Meanwhile, the loss function is modified, and NWD (Normalized Wasserstein Distance) is introduced to significantly improve the detection precision and convergence speed of small targets. In addition, the model detection head part is replaced with a DyHead (Dynamic Head) structure, which dynamically fuses the features at different scales by introducing dynamic convolution and multi-head attention mechanism to enhance the model's ability to cope with the problem of target morphology and location variability. Results: The model was fine-tuned and tested on the Exdark and Dk-CottonInsect datasets. Experimental results show that the detection Precision (P) of DCP-YOLOv7x for cotton pests is 95.9%, and the Mean Average Precision (mAP@0.5) is 95.4% under a low-light environments, showing improvements of 14.4% and 15.6%, respectively, compared to YOLOv7x. Experiments on the Exdark datasets also achieved better detection results, verifying the effectiveness of the DCP-YOLOv7x model in different low-light environments. Discussion: Fast and accurate detection of cotton pests using DCP-YOLOv7x provides strong theoretical support for improving cotton quality and yield. Additionally, this method can be further integrated into agricultural edge computing devices to enhance its practical application value.

Abstract from the paper’s OpenAlex record; open copy licensed cc-by. Read at the source ↗

The text the model read, with the source record’s inline markup (italics, sub- and superscripts) rendered and its character entities decoded; quote offsets refer to the raw text.

Claims 5

Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

DCP-YOLOv7x detected cotton pests in low-light images with a Precision (P) of 95.9%.

Outcome
detection Precision (P)e1
Value
95.9%e1
Qualifier
low-light environmentse2

Organisms pictured · Representative pictures of the matched species, not figures from the paper.

Gossypium hirsutum
Gossypium hirsutum · TaxonChriKo · CC BY-SA 3.0 · Wikimedia Commons ↗

Verbatim

e0

“Pests are important factors affecting the growth of cotton”

✓ located verbatim in the source · abstract, characters 14–72 · show in text ↑
e1

“the detection Precision (P) of DCP-YOLOv7x for cotton pests is 95.9%”

✓ located verbatim in the source · abstract, characters 1657–1725 · show in text ↑
e2

“the Mean Average Precision (mAP@0.5) is 95.4% under a low-light environments”

✓ located verbatim in the source · abstract, characters 1731–1807 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

DCP-YOLOv7x reached a mean average precision (mAP@0.5) of 95.4% under low-light conditions.

Outcome
Mean Average Precision (mAP@0.5)e2
Value
95.4%e2
Qualifier
low-light environmentse2

Organisms pictured · Representative pictures of the matched species, not figures from the paper.

Gossypium hirsutum
Gossypium hirsutum · TaxonChriKo · CC BY-SA 3.0 · Wikimedia Commons ↗

Verbatim

e0

“Pests are important factors affecting the growth of cotton”

✓ located verbatim in the source · abstract, characters 14–72 · show in text ↑
e2

“the Mean Average Precision (mAP@0.5) is 95.4% under a low-light environments”

✓ located verbatim in the source · abstract, characters 1731–1807 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

DCP-YOLOv7x improved detection precision by 14.4% compared with YOLOv7x in low-light environments.

Outcome
Precision (P)e1
Direction
improvementse3
Value
14.4%e3
Comparator
YOLOv7xe3

Organisms pictured · Representative pictures of the matched species, not figures from the paper.

Gossypium hirsutum
Gossypium hirsutum · TaxonChriKo · CC BY-SA 3.0 · Wikimedia Commons ↗

Verbatim

e0

“Pests are important factors affecting the growth of cotton”

✓ located verbatim in the source · abstract, characters 14–72 · show in text ↑
e1

“the detection Precision (P) of DCP-YOLOv7x for cotton pests is 95.9%”

✓ located verbatim in the source · abstract, characters 1657–1725 · show in text ↑
e3

“showing improvements of 14.4% and 15.6%, respectively, compared to YOLOv7x”

✓ located verbatim in the source · abstract, characters 1809–1883 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

DCP-YOLOv7x improved mean average precision (mAP@0.5) by 15.6% compared with YOLOv7x in low-light environments.

Outcome
Mean Average Precision (mAP@0.5)e2
Direction
improvementse3
Value
15.6%e3
Comparator
YOLOv7xe3

Organisms pictured · Representative pictures of the matched species, not figures from the paper.

Gossypium hirsutum
Gossypium hirsutum · TaxonChriKo · CC BY-SA 3.0 · Wikimedia Commons ↗

Verbatim

e0

“Pests are important factors affecting the growth of cotton”

✓ located verbatim in the source · abstract, characters 14–72 · show in text ↑
e2

“the Mean Average Precision (mAP@0.5) is 95.4% under a low-light environments”

✓ located verbatim in the source · abstract, characters 1731–1807 · show in text ↑
e3

“showing improvements of 14.4% and 15.6%, respectively, compared to YOLOv7x”

✓ located verbatim in the source · abstract, characters 1809–1883 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

DCP-YOLOv7x achieved better detection results on the Exdark datasets.

Outcome
detection resultse5
Direction
bettere5
Qualifier
Exdark datasetse5
Comparator
YOLOv7xe3

Organisms pictured · Representative pictures of the matched species, not figures from the paper.

Gossypium hirsutum
Gossypium hirsutum · TaxonChriKo · CC BY-SA 3.0 · Wikimedia Commons ↗

Verbatim

e0

“Pests are important factors affecting the growth of cotton”

✓ located verbatim in the source · abstract, characters 14–72 · show in text ↑
e3

“showing improvements of 14.4% and 15.6%, respectively, compared to YOLOv7x”

✓ located verbatim in the source · abstract, characters 1809–1883 · show in text ↑
e5

“Experiments on the Exdark datasets also achieved better detection results”

✓ located verbatim in the source · abstract, characters 1885–1958 · show in text ↑