收藏切换
Cotton Maturity Detection Algorithm Based on Improved RT-DETR
收藏切换
Qimeng SHI, Jun WANG, Xiaofeng XU, Weiyi ZHANG
Smart Agriculture | 2026, 8(4) : 100 - 113
Less
收藏切换
Smart Agriculture | 2026, 8(4): 100-113
• Information Processing and Decision Making •
Cotton Maturity Detection Algorithm Based on Improved RT-DETR
Full
Qimeng SHI, Jun WANG, Xiaofeng XU, Weiyi ZHANG
Affiliations
  • School of Computer and Information Science, Anhui Polytechnic University, Wuhu 241000, China
  • SHI Qimeng, E-mail:

About Author:

SHI Qimeng, E-mail:

Published: 2026-07-30 doi: 10.12133/j.smartag.SA202512013
Outline
收藏切换

[Objective] Cotton maturity assessment is a vital task in precision agriculture, playing a crucial role in supporting timely irrigation, fertilization, and harvesting decisions. However, traditional monitoring approaches are time-consuming and labor-intensive, and current deep learning-based models often struggle to effectively recognize cotton bolls at varying maturity stages, especially in complex field environments with dense foliage, occlusion, and illumination changes. To address these challenges, a high-accuracy and lightweight computer vision model was proposed for cotton maturity detection. [Methods] An enhanced detection framework named cotton maturity-detection transformer (CM-DETR) was proposed, based on an improved real-time detection transformer (RT-DETR) architecture. CM-DETR incorporated three core architectural innovations that significantly improved both detection accuracy and computational efficiency. First, to construct a lightweight and efficient backbone, a novel feature extraction module named Re-parameterized Group Convolution Spatial Enhancement Lightweight Attention Network (RGCSPELAN) was introduced. This module integrated Progressive Convolution, which captured hierarchical and local contextual features, with Re-parameterized Convolution (RepConv), which reduced computational complexity during inference by transforming multi-branch structures into a single-path representation. The combination effectively enhanced the model's feature representation capabilities and gradient propagation while minimizing the number of parameters and FLOPs. Furthermore, RGCSPELAN was designed with a scalable architecture, allowing its computational capacity to be adjusted via a scaling factor. This ensured compatibility with both small and large models, facilitating flexible deployment across resource-constrained edge devices and high-performance systems alike. Second, to address the issue of small target feature loss, a new module termed Deep Robust Feature Downsampling (DRFD) was proposed. DRFD employed a multi-scale feature fusion strategy by integrating multiple downsampling branches (e.g., convolutional, cut-based, and max-pooling pathways). This design enabled the model to retain fine-grained spatial details while expanding its receptive field. Third, the original loss function in RT-DETR was replaced with Focaler-CIoU, and an adaptive regression optimization strategy integrating sample reweighting and geometric constraints was implemented to improve bounding box localization under complex conditions. [Results and Discussions] Experimental results demonstrated that CM-DETR achieved mAP50 and mAP50~95 scores of 80.8% and 51.1%, respectively, outperforming the baseline model by 3.7 and 1.8 percentage points. Meanwhile, CM-DETR reduced the parameter count and computational cost by 31.7% and 22.8%, respectively, indicating a favorable trade-off between detection accuracy and model efficiency. The incorporation of the DRFD module enhanced the model's sensitivity to small and subtly distinct features related to cotton maturity, improved robustness under diverse field conditions, and enabled more precise detection of cotton bolls at different growth stages. Moreover, the optimized regression strategy contributed to more stable bounding box prediction performance in scenarios involving occlusion, scale variation, and dense foliage. Overall, the proposed architectural improvements effectively strengthened feature representation capability while maintaining lightweight characteristics, thereby demonstrating practical applicability in real-time agricultural environments. [Conclusions] The proposed CM-DETR model provides an efficient and scalable solution for automated cotton maturity detection. By enhancing multi-stage feature recognition, improving small-target sensitivity, and reducing the demand on computational resources, CM-DETR serves as a reliable tool for intelligent decision-making in precision agriculture. Its practical deployment can support more accurate timing for irrigation, fertilization, and harvesting, thereby contributing to improved crop management and yield optimization.

cotton maturity  /  RT-DETR  /  object detection  /  RGCSPELAN  /  DRFD  /  Focaler-CIoU loss function
史绮梦, 汪军, 徐晓峰, 张玮逸. 基于改进RT-DETR的棉花成熟度检测算法. 智慧农业(中英文), 2026 , 8 (4) : 100 -113 . DOI: 10.12133/j.smartag.SA202512013
Qimeng SHI, Jun WANG, Xiaofeng XU, Weiyi ZHANG. Cotton Maturity Detection Algorithm Based on Improved RT-DETR[J]. Smart Agriculture, 2026 , 8 (4) : 100 -113 . DOI: 10.12133/j.smartag.SA202512013
  • National Natural Science Foundation of China(62406004)
  • Collaborative Innovation Project of Anhui Higher Education Institutions(GXXT-2019-020)
Year 2026 volume 8 Issue 4
118
45
Cite this Article
BibTeX
Article Info
doi: 10.12133/j.smartag.SA202512013
  • Receive Date:2025-12-12
  • Online Date:2026-10-16
  • Published:2026-07-30
Article Data
Affiliations
History
  • Received:2025-12-12
Funding
National Natural Science Foundation of China(62406004)
Collaborative Innovation Project of Anhui Higher Education Institutions(GXXT-2019-020)
Affiliations
    School of Computer and Information Science, Anhui Polytechnic University, Wuhu 241000, China

Corresponding:

WANG Jun, E-mail:
References
Share
https://castjournals.cast.org.cn/joweb/zhny/EN/10.12133/j.smartag.SA202512013
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT