journal article·2025-10-30Open access

LDW-DETR: An Efficient Tomato Leaf Disease Detection Algorithm Based on Enhanced RT-DETR

Hua Yang, Hao Xue, Yanjie Lyu, Mingzhi Mu, Tianwei Tang, Zhongke Huang

Applied Sciences· Volume 15· Issue 21

Abstract

Tomato is one of the most important economic crops in the world, but it is prone to diseases during the growth process, so the detection of tomato diseases is very important. However, when detecting tomato diseases in natural environments, existing models are easily affected by environmental factors such as occlusion and illumination, as well as the small size of lesions. In response to these challenges, this paper proposes a tomato leaf disease detection framework LDW-DETR based on multi-scale fusion. First, the local-global feature fusion (LGFF) module is designed by referring to the idea of the PPA module, which can effectively capture local and global features, thereby enhancing the detection ability of small lesions in complex backgrounds. Second, the CSPDarknet architecture is introduced as the backbone network of LDW-DETR to improve the efficiency of feature extraction. In addition, the bottleneck layer of the C2f component is improved by integrating Strip Block and Contextualized Gated Linear Unit (CGLU) to enhance the perception ability of lesion edges and textures. Finally, the WIoU v3 loss function is used to optimize the bounding box regression process. The experimental results show that compared with RT-DETR, the LDW-DETR model improves mAP@0.5 and mAP@0.5–0.95 by 2.6% and 3.7%, respectively, while the number of parameters is reduced by 17.9%. In addition, it still maintains high robustness and generalization ability in cross-dataset experiments. These results show that LDW-DETR has good detection performance and generalization ability in the tomato leaf disease detection task.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Smart Agriculture and AI · Scientific and Engineering Research Topics · Advanced Neural Network Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Mathematics and Computer Science, Wuhan Polytechnic University, Wuhan 430040, China

Funding

Hubei Provincial Natural Science Foundation · the Ministry of Education Industry-University Cooperation Education Project · 2025 ESI · the School Enterprise Cooperation Project · University Graduate Teaching and Research Project, Research on Interdisciplinary Collaborative Innovation and Joint Training Mechanism in Artificial Intelligence

References (42)

Show source-provided references
1. Tomato leaf disease classification by exploiting transfer learning and feature concatenation10.1049/ipr2.12397 ↗
2. Tomato and lycopene and multiple health outcomes: Umbrella review10.1016/j.foodchem.2020.128396 ↗
3. Panno, S., Davino, S., Caruso, A.G., Bertacca, S., Crnogorac, A., Mandić, A., Noris, E., and Matić, S. (2021). A review of the most common and economically important diseases that undermine the cultivation of tomato crop in the mediterranean basin. Agronomy, 11.10.3390/agronomy11112188 ↗
4. Batool, A., Hyder, S.B., Rahim, A., Waheed, N., and Asghar, M.A. (2020, January 22–23). Classification and identification of tomato leaf disease using deep neural network. Proceedings of the 2020 International Conference on Engineering and Emerging Technologies (ICEET), Lahore, Pakistan.10.1109/ICEET48479.2020.9048207 ↗
5. Improved convolutional neural network method for classificationof apple leaves
6. Wang, Y., Zhang, P., and Tian, S. (2024). Tomato leaf disease detection based on attention mechanism and multi-scale feature fusion. Front. Plant Sci., 15.10.3389/fpls.2024.1382802 ↗
7. Predicting the spread of postharvest disease in stored fruit, with application to apples10.1016/j.postharvbio.2013.04.003 ↗
8. Next-generation methods for early disease detection in crops10.1002/ps.7733 ↗
9. Yang, H., Shu, Z., and Li, Z. (2025). Enhanced Wind Power Forecasting Using a Hybrid Multi-Strategy Coati Optimization Algorithm and Backpropagation Neural Network. Sensors, 25.10.3390/s25082438 ↗
10. Spatiotemporal interactive learning dynamic adaptive graph convolutional network for traffic forecasting10.1016/j.knosys.2025.113115 ↗
11. MSDIPN: Multi-scale Deep Interval Prediction Network for Multivariate Time Series10.1109/TKDE.2025.3579406 ↗
12. Yang, H., Zhang, S., Shen, H., Zhang, G., Deng, X., Xiong, J., Feng, L., Wang, J., Zhang, H., and Sheng, S. (2023). A multi-layer feature fusion model based on convolution and attention mechanisms for text classification. Appl. Sci., 13.10.3390/app13148550 ↗
13. Yang, H., Lin, D., Zhang, G., Zhang, H., Wang, J., and Zhang, S. (2023). Research on detection of rice pests and diseases based on improved YOLOV5 algorithm. Appl. Sci., 13.10.3390/app131810188 ↗
14. Automation in agriculture by machine and deep learning techniques: A review of recent developments10.1007/s11119-021-09806-x ↗
15. Zhang, M., Liu, C., Li, Z., and Yin, B. (2025). From Convolutional Networks to Vision Transformers: Evolution of Deep Learning in Agricultural Pest and Disease Identification. Agronomy, 15.10.3390/agronomy15051079 ↗
16. Classification and adulteration degree of Maojian tea based on multi-scale and attention mechanism
17. A survey of modern deep learning based object detection models10.1016/j.dsp.2022.103514 ↗
18. Faster r-cnn: Towards real-time object detection with region proposal networks
19. He, K., Gkioxari, G., Dollár, P., and Girshick, R. (2017, January 22–29). Mask r-cnn. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.322 ↗
20. Gong, X., and Zhang, S. (2023). A high-precision detection method of apple leaf diseases using improved faster R-CNN. Agriculture, 13.10.3390/agriculture13020240 ↗
21. Khanam, R., and Hussain, M. (2024). Yolov11: An overview of the key architectural enhancements. arXiv.
22. Li, C., Li, L., Jiang, H., Weng, K., Geng, Y., Li, L., Ke, Z., Li, Q., Cheng, M., and Nie, W. (2022). YOLOv6: A single-stage object detection framework for industrial applications. arXiv.
23. Yolov10: Real-time end-to-end object detection
24. Wang, C.-Y., Bochkovskiy, A., and Liao, H.-Y.M. (2023, January 17–24). YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.00721 ↗
25. Wang, C.-Y., Yeh, I.-H., and Mark Liao, H.-Y. (October, January 29). Yolov9: Learning what you want to learn using programmable gradient information. Proceedings of the European Conference on Computer Vision, Milan, Italy.
26. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.-Y., and Berg, A.C. (2016, January 11–14). Ssd: Single shot multibox detector. Proceedings of the European Conference on Computer Vision, Amsterdam, The Netherlands.10.1007/978-3-319-46448-0_2 ↗
27. Tan, M., Pang, R., and Le, Q.V. (2020, January 13–19). Efficientdet: Scalable and efficient object detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.01079 ↗
28. Wang, Y., Wang, Y., and Zhao, J. (2022). MGA-YOLO: A lightweight one-stage network for apple leaf disease detection. Front. Plant Sci., 13.10.3389/fpls.2022.927424 ↗
29. Abulizi, A., Ye, J., Abudukelimu, H., and Guo, W. (2025). DM-YOLO: Improved YOLOv9 model for tomato leaf disease detection. Front. Plant Sci., 15.10.3389/fpls.2024.1473928 ↗
30. Yang, S.X., Yao, J.F., and Teng, G.F. (2024). Corn Leaf Spot Disease Recognition Based on Improved YOLOv8. Agriculture, 14.10.3390/agriculture14050666 ↗
31. Deep reconstruction for compressed sensing based on multi-resolution feature fusion with Transformer
32. Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A., and Zagoruyko, S. (2020, January 23–28). End-to-end object detection with transformers. Proceedings of the European Conference on Computer Vision, Glasgow, UK.10.1007/978-3-030-58452-8_13 ↗
33. Yang, H., Deng, X., Shen, H., Lei, Q., Zhang, S., and Liu, N. (2023). Disease detection and identification of rice leaf based on improved detection transformer. Agriculture, 13.10.3390/agriculture13071361 ↗
34. Zhao, Y., Lv, W., Xu, S., Wei, J., Wang, G., Dang, Q., Liu, Y., and Chen, J. (2024, January 16–22). Detrs beat yolos on real-time object detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR52733.2024.01605 ↗
35. Hughes, D., and Salathé, M. (2015). An open access repository of images on plant health to enable the development of mobile disease diagnostics. arXiv.
36. FieldPlant: A dataset of field plant images for plant disease detection and classification with deep learning10.1109/ACCESS.2023.3263042 ↗
37. Singh, D., Jain, N., Jain, P., Kayal, P., Kumawat, S., and Batra, N. (2020, January 5–7). PlantDoc: A dataset for visual plant disease detection. Proceedings of the 7th ACM IKDD CoDS and 25th COMAD, Hyderabad, India.10.1145/3371158.3371196 ↗
38. Xu, S., Zheng, S., Xu, W., Xu, R., Wang, C., Zhang, J., Teng, X., Li, A., and Guo, L. (2024, January 15–19). Hcf-net: Hierarchical context fusion network for infrared small object detection. Proceedings of the 2024 IEEE International Conference on Multimedia and Expo (ICME), Niagara Falls, ON, Canada.10.1109/ICME57554.2024.10687431 ↗
39. Yuan, X., Zheng, Z., Li, Y., Liu, X., Liu, L., Li, X., Hou, Q., and Cheng, M. (2025). Strip R-CNN: Large Strip Convolution for Remote Sensing Object Detection. arXiv.
40. Shi, D. (2024, January 16–22). Transnext: Robust foveal visual perception for vision transformers. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR52733.2024.01683 ↗
41. Tong, Z., Chen, Y., Xu, Z., and Yu, R. (2023). Wise-IoU: Bounding box regression loss with dynamic focusing mechanism. arXiv.
42. Selvaraju, R.R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., and Batra, D. (2017, January 22–29). Grad-cam: Visual explanations from deep networks via gradient-based localization. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.74 ↗