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
Claim · model-written summary
DCP-YOLOv7x detected cotton pests in low-light images with a Precision (P) of 95.9%.
- Taxon
- cotton
Gossypium hirsutume0 - 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.

Verbatim
e0“Pests are important factors affecting the growth of cotton”
e1“the detection Precision (P) of DCP-YOLOv7x for cotton pests is 95.9%”
e2“the Mean Average Precision (mAP@0.5) is 95.4% under a low-light environments”
Claim · model-written summary
DCP-YOLOv7x reached a mean average precision (mAP@0.5) of 95.4% under low-light conditions.
- Taxon
- cotton
Gossypium hirsutume0 - 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.

Verbatim
e0“Pests are important factors affecting the growth of cotton”
e2“the Mean Average Precision (mAP@0.5) is 95.4% under a low-light environments”
Claim · model-written summary
DCP-YOLOv7x improved detection precision by 14.4% compared with YOLOv7x in low-light environments.
- Taxon
- cotton
Gossypium hirsutume0 - 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.

Verbatim
e0“Pests are important factors affecting the growth of cotton”
e1“the detection Precision (P) of DCP-YOLOv7x for cotton pests is 95.9%”
e3“showing improvements of 14.4% and 15.6%, respectively, compared to YOLOv7x”
Claim · model-written summary
DCP-YOLOv7x improved mean average precision (mAP@0.5) by 15.6% compared with YOLOv7x in low-light environments.
- Taxon
- cotton
Gossypium hirsutume0 - 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.

Verbatim
e0“Pests are important factors affecting the growth of cotton”
e2“the Mean Average Precision (mAP@0.5) is 95.4% under a low-light environments”
e3“showing improvements of 14.4% and 15.6%, respectively, compared to YOLOv7x”
Claim · model-written summary
DCP-YOLOv7x achieved better detection results on the Exdark datasets.
- Taxon
- cotton
Gossypium hirsutume0 - Outcome
- detection resultse5
- Direction
- bettere5
- Qualifier
- Exdark datasetse5
- Comparator
- YOLOv7xe3
Organisms pictured · Representative pictures of the matched species, not figures from the paper.

Verbatim
e0“Pests are important factors affecting the growth of cotton”
e3“showing improvements of 14.4% and 15.6%, respectively, compared to YOLOv7x”
e5“Experiments on the Exdark datasets also achieved better detection results”