MARATTO

article · Scientific Reports

Enhanced YOLO12 with spatial pyramid pooling for real-time cotton insect detection

Abstract

Effective insect detection is crucial for sustainable cotton production, yet traditional monitoring methods remain labor-intensive, inefficient, and environmentally detrimental. This study introduces Enhanced YOLO12, a novel deep learning architecture for real-time cotton insect detection. Building on the YOLO12 framework, the proposed model integrates an optimized Spatial Pyramid Pooling (SPP) module and attention-based feature extraction to improve detection accuracy while maintaining computational efficiency. To ensure robustness, we developed and evaluated multiple baseline models (standard YOLO11 and YOLO12) and custom architectures (YOLO12_Fusion, YOLO11-BRA-Net, YOLO11_CBAM, and Enhanced Hybrid YOLO12). According to the conducted experiments, Enhanced Hybrid YOLO12 achieved the best performance, achieving 0.942, 0.876, 0.945, and 0.735 in precision, recall, mAP50 and mAP50-95, respectively. It significantly outstands the results of the standard YOLO12 (0.925, 0.848, of 0.913, and 0.662). These results demonstrate that Enhanced Hybrid YOLO12 can be considered as a state-of-the-art framework for precision agriculture, with its high detection accuracy and real-time capability. Therefore, they encourage this deep learning model in pest management applications.

Research topics

  • Smart Agriculture and AI
  • Advanced Neural Network Applications
  • Remote Sensing in Agriculture

Sustainable Development Goals

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.1038/s41598-026-35747-4

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.