Next Article in Journal
Labile Carbon Additions Reduce Soil Nitrate but Can Increase Maize Fertilizer N Needs
Previous Article in Journal
Metagenomic Study on the Association Between Rhizosphere Soil Microbial Communities and Cold Tolerance in Maize
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Tomato Ripeness Detection Model Based on Improved RT-DETR Lightweight Model

School of Electrical Engineering and Automation, Jiangxi University of Science and Technology, Ganzhou 341000, China
*
Author to whom correspondence should be addressed.
Agronomy 2026, 16(9), 932; https://doi.org/10.3390/agronomy16090932
Submission received: 10 April 2026 / Revised: 30 April 2026 / Accepted: 1 May 2026 / Published: 4 May 2026
(This article belongs to the Topic Digital Agriculture, Smart Farming and Crop Monitoring)

Abstract

Accurate tomato ripeness detection is crucial for automated harvesting; however, complex greenhouse environments—characterized by dynamic light interference, foliage occlusion, and dense fruit overlapping—severely hinder detection performance and lead to frequent misdetections. This study aims to develop a high-precision, lightweight detection model that simultaneously addresses these three core challenges, thereby providing a technically deployable algorithmic foundation for resource-constrained agricultural edge devices. To this end, we propose CFD-DETR, a lightweight tomato ripeness detection model based on the RT-DETR architecture. The model incorporates a CAEfficientViT backbone for the lightweight extraction of multi-scale color and texture features. Furthermore, a Focused Efficient Additive Attention (FEAA) mechanism is integrated to capture fine-grained local ripening traits with minimal computational overhead. During feature reconstruction, a Deep Dynamic Upsampling (DwDySample) operator is utilized to preserve semantic integrity. Additionally, we designed the Wise-SIoU loss function, which dynamically penalizes low-quality samples to enhance boundary fitting and robustness against background noise. Experimental evaluations demonstrate that CFD-DETR achieves 90.2% mAP@0.5, outperforming the baseline model by 2.1 percentage points while significantly reducing the parameter count and computational complexity by 47.2% and 52.5%, respectively. Cross-dataset validation on the publicly available Laboro Tomato and RaUTD datasets confirms the model’s superior generalization capabilities. Overall, CFD-DETR provides a highly efficient and robust solution for real-time agricultural robotics.
Keywords: tomato maturity detection; lightweight backbone; attention mechanism; upsampling operator; loss function tomato maturity detection; lightweight backbone; attention mechanism; upsampling operator; loss function

Share and Cite

MDPI and ACS Style

Yang, G.; Weng, D.; Li, Z.; Wu, Y. Tomato Ripeness Detection Model Based on Improved RT-DETR Lightweight Model. Agronomy 2026, 16, 932. https://doi.org/10.3390/agronomy16090932

AMA Style

Yang G, Weng D, Li Z, Wu Y. Tomato Ripeness Detection Model Based on Improved RT-DETR Lightweight Model. Agronomy. 2026; 16(9):932. https://doi.org/10.3390/agronomy16090932

Chicago/Turabian Style

Yang, Guoliang, Dali Weng, Zhiteng Li, and Yonggan Wu. 2026. "Tomato Ripeness Detection Model Based on Improved RT-DETR Lightweight Model" Agronomy 16, no. 9: 932. https://doi.org/10.3390/agronomy16090932

APA Style

Yang, G., Weng, D., Li, Z., & Wu, Y. (2026). Tomato Ripeness Detection Model Based on Improved RT-DETR Lightweight Model. Agronomy, 16(9), 932. https://doi.org/10.3390/agronomy16090932

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop