Open Access iconOpen Access

ARTICLE

SPD-YOLO: A Method for Detecting Maize Disease Pests Using Improved YOLOv7

Zhunruo Feng1, Ruomeng Shi2, Yuhan Jiang3, Yiming Han1, Zeyang Ma1, Yuheng Ren4,*

1 School of Electronics and Information, Xi’an Polytechnic University, Xi’an, 710048, China
2 International Business School Suzhou, Xi’an Jiaotong Liverpool University, Suzhou, 215123, China
3 School of the Arts, Universiti Sains Malaysia, Penang, 11700, Malaysia
4 School of Digital Industry, Jimei University, Xiamen, 361021, China

* Corresponding Author: Yuheng Ren. Email: email

Computers, Materials & Continua 2025, 84(2), 3559-3575. https://doi.org/10.32604/cmc.2025.065152

Abstract

In this study, we propose Space-to-Depth and You Only Look Once Version 7 (SPD-YOLOv7), an accurate and efficient method for detecting pests in maize crops, addressing challenges such as small pest sizes, blurred images, low resolution, and significant species variation across different growth stages. To improve the model’s ability to generalize and its robustness, we incorporate target background analysis, data augmentation, and processing techniques like Gaussian noise and brightness adjustment. In target detection, increasing the depth of the neural network can lead to the loss of small target information. To overcome this, we introduce the Space-to-Depth Convolution (SPD-Conv) module into the SPD-YOLOv7 framework, replacing certain convolutional layers in the traditional system backbone and head network. This modification helps retain small target features and location information. Additionally, the Efficient Layer Aggregation Network-Wide (ELAN-W) module is combined with the Convolutional Block Attention Module (CBAM) attention mechanism to extract more efficient features. Experimental results show that the enhanced YOLOv7 model achieves an accuracy of 98.38%, with an average accuracy of 99.4%, outperforming the original YOLOv7 model. These improvements represent an increase of 2.46% in accuracy and 3.19% in average accuracy. The results indicate that the enhanced YOLOv7 model is more efficient and real-time, offering valuable insights for maize pest control.

Keywords

Deep learning; improved YOLOv7; attention mechanism; SPD-Conv module; insect pest detection

Cite This Article

APA Style
Feng, Z., Shi, R., Jiang, Y., Han, Y., Ma, Z. et al. (2025). SPD-YOLO: A Method for Detecting Maize Disease Pests Using Improved YOLOv7. Computers, Materials & Continua, 84(2), 3559–3575. https://doi.org/10.32604/cmc.2025.065152
Vancouver Style
Feng Z, Shi R, Jiang Y, Han Y, Ma Z, Ren Y. SPD-YOLO: A Method for Detecting Maize Disease Pests Using Improved YOLOv7. Comput Mater Contin. 2025;84(2):3559–3575. https://doi.org/10.32604/cmc.2025.065152
IEEE Style
Z. Feng, R. Shi, Y. Jiang, Y. Han, Z. Ma, and Y. Ren, “SPD-YOLO: A Method for Detecting Maize Disease Pests Using Improved YOLOv7,” Comput. Mater. Contin., vol. 84, no. 2, pp. 3559–3575, 2025. https://doi.org/10.32604/cmc.2025.065152



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 271

    View

  • 89

    Download

  • 0

    Like

Share Link