journal article·2025-12-27Open access

Lightweight Transformer and Faster Convolution for Efficient Strawberry Detection

Jieyan Wu, Jinlai Zhang, Liuqi Tan, You Wu, Kai Gao

Applied Sciences· Volume 16· Issue 1

Abstract

The agricultural system faces the formidable challenge of efficiently harvesting strawberries, a labor-intensive process that has long relied on manual labor. The advent of autonomous harvesting robot systems offers a transformative solution, but their success hinges on the accuracy and efficiency of strawberry detection. In this paper, we present DPViT-YOLOV8, a novel approach that leverages advancements in computer vision and deep learning to significantly enhance strawberry detection. DPViT-YOLOV8 integrates the EfficientViT backbone for multi-scale linear attention, the Dynamic Head mechanism for unified object detection heads with attention, and the proposed C2f_Faster module for enhanced computational efficiency into the YOLOV8 architecture. We meticulously curate and annotate a diverse dataset of strawberry images on a farm. A rigorous evaluation demonstrates that DPViT-YOLOV8 outperforms baseline models, achieving superior Mean Average Precision (mAP), precision, and recall. Additionally, an ablation study highlights the individual contributions of each enhancement. Qualitative results showcase the model’s proficiency in locating ripe strawberries in real-world agricultural settings. Notably, DPViT-YOLOV8 maintains computational efficiency, reducing inference time and FLOPS compared to the baseline YOLOV8. Our research bridges the gap between computer vision and agriculture systems, offering a powerful tool to accelerate the adoption of autonomous strawberry harvesting, reduce labor costs, and ensure the sustainability of strawberry farming.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Smart Agriculture and AI · Plant Disease Management Techniques · Tree Root and Stability Studies

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

Affiliations

College of Information and Intelligent Science and Technology, Hunan Agricultural University, Changsha 410128, China

College of Mechanical and Vehicle Engineering, Changsha University of Science and Technology, Changsha 410114, China

Funding

National Natural Science Foundation of China

References (30)

Show source-provided references
1. Zunzunegui, I., Martín-García, J., Santamaría, Ó., and Poveda, J. (2025). Insect frass as an agricultural resource against abiotic and biotic crop stresses: Mechanisms of action and possible negative effects. Appl. Sci., 15.10.3390/app15073606 ↗
2. Mo, Y., Bai, S., and Chen, W. (2025). ASHM-YOLOv9: A Detection Model for Strawberry in Greenhouses at Multiple Stages. Appl. Sci., 15.10.3390/app15158244 ↗
3. Deep learning based computer vision approaches for smart agricultural applications
4. RGB-D datasets for robotic perception in site-specific agricultural operations—A survey10.1016/j.compag.2023.108035 ↗
5. Modelling wine grapevines for autonomous robotic cane pruning10.1016/j.biosystemseng.2023.09.006 ↗
6. An improved YOLO algorithm for detecting flowers and fruits on strawberry seedlings10.1016/j.biosystemseng.2023.11.008 ↗
7. Application of automated image colour analyses for the early-prediction of strawberry development and quality10.1016/j.scienta.2022.111316 ↗
8. Automated strawberry grading system based on image processing10.1016/j.compag.2009.09.013 ↗
9. Evaluation of the effect of nanocellulose edible coating on strawberries inoculated with Aspergillus flavus through image analysis
10. An improved YOLOv5-based method for multi-species tea shoot detection and picking point location in complex backgrounds10.1016/j.biosystemseng.2023.06.007 ↗
11. Evolutionary channel pruning for real-time object detection10.1016/j.knosys.2024.111432 ↗
12. Multi-view gripper internal sensing for the regression of strawberry ripeness using a mini-convolutional neural network for robotic harvesting10.1016/j.compag.2023.108474 ↗
13. DSW-YOLO: A detection method for ground-planted strawberry fruits under different occlusion levels10.1016/j.compag.2023.108304 ↗
14. Spatial convolutional self-attention-based transformer module for strawberry disease identification under complex background10.1016/j.compag.2023.108121 ↗
15. Strawberry ripeness detection based on YOLOv8 algorithm fused with LW-Swin Transformer10.1016/j.compag.2023.108360 ↗
16. Strawberry ripeness classification method in facility environment based on red color ratio of fruit rind10.1016/j.compag.2023.108313 ↗
17. Glenn, J. (2025, December 22). Ultralytics YOLOv8. Available online: https://github.com/ultralytics/ultralytics.
18. Deformable convolution and coordinate attention for fast cattle detection10.1016/j.compag.2023.108006 ↗
19. Cai, H., Li, J., Hu, M., Gan, C., and Han, S. (2023, January 1–6). EfficientViT: Lightweight Multi-Scale Attention for High-Resolution Dense Prediction. Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France.10.1109/ICCV51070.2023.01587 ↗
20. Maksimovich, K., Fedorov, D., and Kalichkin, V. (2022, January 6–8). Feed Forward Neural Network Modelling for Spring Wheat Crop Forecast. Proceedings of the Agriculture Digitalization and Organic Production: Proceedings of the Second International Conference, ADOP 2022, St. Petersburg, Russia.10.1007/978-981-19-7780-0_27 ↗
21. Real-time pixel-wise classification of agricultural images based on depth-wise separable convolution
22. Dai, X., Chen, Y., Xiao, B., Chen, D., Liu, M., Yuan, L., and Zhang, L. (2021, January 20–25). Dynamic head: Unifying object detection heads with attentions. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.00729 ↗
23. 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 Computer Vision–ECCV 2016: 14th European Conference, Proceedings, Part I 14, Amsterdam, The Netherlands.10.1007/978-3-319-46448-0_2 ↗
24. Zhang, H., Li, F., Liu, S., Zhang, L., Su, H., Zhu, J., Ni, L.M., and Shum, H.Y. (2022). DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection. arXiv.
25. Zhao, Y., Lv, W., Xu, S., Wei, J., Wang, G., Dang, Q., Liu, Y., and Chen, J. (2024). DETRs Beat YOLOs on Real-time Object Detection. arXiv.10.1109/CVPR52733.2024.01605 ↗
26. Matt Lucky (2025, December 22). Strawberry Dataset. Available online: https://universe.roboflow.com/matt-lucky-f7mch/strawberry-k4gtp.
27. Law, H., and Deng, J. (2018, January 8–14). Cornernet: Detecting objects as paired keypoints. Proceedings of the 15th European Conference on Computer Vision, ECCV 2018, Munich, Germany.10.1007/978-3-030-01264-9_45 ↗
28. Glenn, J. (2025, December 20). YOLOv5 Release v6.1. Available online: https://github.com/ultralytics/yolov5/releases/tag/v6.1.
29. 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 CVPR, Vancouver, BC, Canada.10.1109/CVPR52729.2023.00721 ↗
30. 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 ↗