Application of the Improved YOLOv8-DeepSORT Framework in Motion Tracking of Pepper Leaves Under Droplet Occlusion
Abstract
1. Introduction
2. Materials and Methods
2.1. Method Implementation Process
2.2. Data Collection
2.2.1. Crop Cultivation and Target Production
2.2.2. Spraying System
2.2.3. Leaf Motion Data Collection Under Spraying Operations
2.3. Detection and Tracking Methods
2.3.1. Improved YOLOv8
2.3.2. DeepSORT
3. Results
3.1. Target Occlusion Evolution
3.2. Target Detection Results of Improved YOLOv8
3.2.1. Comparison of Detection Performance Under Different Occlusion Ratios and Types
3.2.2. Ablation Experiment of SAM
3.2.3. Consistency Verification Between Detection Indicators and Practical Application Effects
3.3. Leaf Tracking Results
3.3.1. Verification of Tracking Stability in Long Sequences and Multi-Scenes
3.3.2. Occlusion Recovery Capability
3.4. Analysis of Leaf Motion Results
3.4.1. Quantification of Motion Parameters at Each Point of the Leaf Midrib
3.4.2. Analysis of Dynamic Characteristics of Leaf Motion
4. Discussion
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Meder, F.; Naselli, G.A.; Mazzolai, B. Wind Dynamics and Leaf Motion: Approaching the Design of High-Tech Devices for Energy Harvesting for Operation on Plant Leaves. Front. Plant Sci. 2022, 13, 994429. [Google Scholar] [CrossRef] [PubMed]
- Sun, Z.; Cui, T.; Zhu, Y.; Zhang, W.; Shi, S.; Tang, S.; Du, Z.; Liu, C.; Cui, R.; Chen, H.; et al. The Mechanical Principles behind the Golden Ratio Distribution of Veins in Plant Leaves. Sci. Rep. 2018, 8, 13859. [Google Scholar] [CrossRef] [PubMed]
- Ma, J.; Liu, K.; Dong, X.; Huang, X.; Ahmad, F.; Qiu, B. Force and Motion Behaviour of Crop Leaves during Spraying. Biosyst. Eng. 2023, 235, 83–99. [Google Scholar] [CrossRef]
- Wang, Z.; Zheng, C.; Li, T.; He, X. Analysing the Preference for Pesticide Spray to Be Deposited at Leaf-Tips. Biosyst. Eng. 2021, 204, 247–256. [Google Scholar] [CrossRef]
- Holder, C.D.; Gibbes, C. Influence of Leaf and Canopy Characteristics on Rainfall Interception and Urban Hydrology. Hydrol. Sci. J. 2017, 62, 182–190. [Google Scholar] [CrossRef]
- Zhang, X.; Li, A.; Fei, Y.; Sun, M.; Zhu, L.; Huang, Z. Design of Biomimetic Leaf-like Flow Fields Using Three-Dimensional Numerical Simulation for Co-Electrolysis in Solid Oxide Electrolysis Cell. Int. J. Hydrogen Energy 2024, 72, 326–337. [Google Scholar] [CrossRef]
- Wang, Q.; Ren, Y.; Wang, H.; Wang, J.; Zhou, G.; Yang, Y.; Xie, Z.; Bai, X. Research on UAV Downwash Airflow and Wind-Induced Response Characteristics of Rapeseed Seedling Stage Based on Computational Fluid Dynamics Simulation. Agriculture 2024, 14, 1326. [Google Scholar] [CrossRef]
- Mai, Y.; Wen, S.; Zhang, J.; Lan, Y.; Huang, G. Analysis of the Two-Way Fluid-Structure Interaction between the Rice Canopy and the Downwash Airflow of a Quadcopter UAV. Biosyst. Eng. 2025, 250, 343–364. [Google Scholar] [CrossRef]
- Dorr, G.J.; Kempthorne, D.M.; Mayo, L.C.; Forster, W.A.; Zabkiewicz, J.A.; McCue, S.W.; Belward, J.A.; Turner, I.W.; Hanan, J. Towards a Model of Spray–Canopy Interactions: Interception, Shatter, Bounce and Retention of Droplets on Horizontal Leaves. Ecol. Modell. 2014, 290, 94–101. [Google Scholar] [CrossRef]
- Massinon, M.; De Cock, N.; Forster, W.A.; Nairn, J.J.; McCue, S.W.; Zabkiewicz, J.A.; Lebeau, F. Spray Droplet Impaction Outcomes for Different Plant Species and Spray Formulations. Crop Prot. 2017, 99, 65–75. [Google Scholar] [CrossRef]
- Dorr, G.J.; Forster, W.A.; Mayo, L.C.; McCue, S.W.; Kempthorne, D.M.; Hanan, J.; Turner, I.W.; Belward, J.A.; Young, J.; Zabkiewicz, J.A. Spray Retention on Whole Plants: Modelling, Simulations and Experiments. Crop Prot. 2016, 88, 118–130. [Google Scholar] [CrossRef]
- Tsugawa, S.; Asakawa, H.; Hirata, M.; Nonoyama, T.; Kang, Z.; Toyota, M.; Suda, H. Inference of Mechanical Forces through 3D Reconstruction of the Closing Motion in Venus Flytrap Leaves. Sci. Rep. 2025, 15, 24860. [Google Scholar] [CrossRef] [PubMed]
- Li, Z.; Liu, Y.; Hossain, O.; Paul, R.; Yao, S.; Wu, S.; Ristaino, J.B.; Zhu, Y.; Wei, Q. Real-Time Monitoring of Plant Stresses via Chemiresistive Profiling of Leaf Volatiles by a Wearable Sensor. Matter 2021, 4, 2553–2570. [Google Scholar] [CrossRef]
- Jaeger, D.M.; Looze, A.C.M.; Raleigh, M.S.; Miller, B.W.; Friedman, J.M.; Wessman, C.A. From Flowering to Foliage: Accelerometers Track Tree Sway to Provide High-Resolution Insights into Tree Phenology. Agric. For. Meteorol. 2022, 318, 108900. [Google Scholar] [CrossRef]
- Gray, R.E.J.; Ewers, R.M. Monitoring Forest Phenology in a Changing World. Forests 2021, 12, 297. [Google Scholar] [CrossRef]
- de Langre, E. Plant Vibrations at All Scales: A Review. J. Exp. Bot. 2019, 70, 3521–3531. [Google Scholar] [CrossRef]
- Sano, M.; Nakagawa, Y.; Sugimoto, T.; Shirakawa, T.; Yamagishi, K.; Sugihara, T.; Ohaba, M.; Shibusawa, S. Estimation of Water Stress of Plant by Vibration Measurement of Leaf Using Acoustic Radiation Force. Acoust. Sci. Technol. 2015, 36, 248–253. [Google Scholar] [CrossRef]
- Fan, J.; Guo, X.; Wang, C.; Lu, X.; Wu, S. The State of Motion Stereo about Plant Leaves Monitoring System Design and Simulation. In Proceedings of the IFIP Advances in Information and Communication Technology; Li, D., Zhao, C., Eds.; Springer International Publishing: Jilin, China, 2017; Volume AICT-546, pp. 419–431. [Google Scholar]
- Paturkar, A.; Sen Gupta, G.; Bailey, D. Plant Trait Measurement in 3D for Growth Monitoring. Plant Methods 2022, 18, 59. [Google Scholar] [CrossRef]
- Zhao, D.-J.; Chen, Y.; Wang, Z.-Y.; Xue, L.; Mao, T.-L.; Liu, Y.-M.; Wang, Z.-Y.; Huang, L. High-Resolution Non-Contact Measurement of the Electrical Activity of Plants in Situ Using Optical Recording. Sci. Rep. 2015, 5, 13425. [Google Scholar] [CrossRef]
- Ariza-Sentís, M.; Vélez, S.; Martínez-Peña, R.; Baja, H.; Valente, J. Object Detection and Tracking in Precision Farming: A Systematic Review. Comput. Electron. Agric. 2024, 219, 108757. [Google Scholar] [CrossRef]
- Gibbs, J.A.; Burgess, A.J.; Pound, M.P.; Pridmore, T.P.; Murchie, E.H. Recovering Wind-Induced Plant Motion in Dense Field Environments via Deep Learning and Multiple Object Tracking. Plant Physiol. 2019, 181, 28–42. [Google Scholar] [CrossRef]
- Cai, Z.; Vasconcelos, N. Cascade R-CNN: Delving into High Quality Object Detection. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 6154–6162. [Google Scholar] [CrossRef]
- Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. In Proceedings of the 29th International Conference on Neural Information Processing Systems, Virtual, 22–26 November 2022; MIT Press: Cambridge, MA, USA, 2015; Volume 1, pp. 91–99. [Google Scholar]
- Wang, C.-Y.; Bochkovskiy, A.; Liao, H.-Y.M. YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors. In Proceedings of the 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 18–22 June 2023; pp. 7464–7475. [Google Scholar]
- Tian, Z.; Shen, C.; Chen, H.; He, T. FCOS: Fully Convolutional One-Stage Object Detection. In Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea, 27 October–2 November 2019; pp. 9626–9635. [Google Scholar]
- Zhao, Y.; Lv, W.; Xu, S.; Wei, J.; Wang, G.; Dang, Q.; Liu, Y.; Chen, J. DETRs Beat YOLOs on Real-Time Object Detection. In Proceedings of the 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 19–21 June 2024; pp. 16965–16974. [Google Scholar]
- Carion, N.; Massa, F.; Synnaeve, G.; Usunier, N.; Kirillov, A.; Zagoruyko, S. End-to-End Object Detection with Transformers. In Proceedings of the Computer Vision—ECCV 2020, Glasgow, UK, 23–28 August 2020; Vedaldi, A., Bischof, H., Brox, T., Frahm, J.-M., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 213–229. [Google Scholar]
- Dalal, M.; Mittal, P. A systematic review of deep learning-based object detection in agriculture: Methods, challenges, and future directions. Comput. Mater. Contin. 2025, 84, 57–91. [Google Scholar] [CrossRef]
- Khan, Z.; Shen, Y.; Liu, H. ObjectDetection in Agriculture: A Comprehensive Review of Methods, Applications, Challenges, and Future Directions. Agriculture 2025, 15, 1351. [Google Scholar] [CrossRef]
- Lin, C.; Jiang, W.; Zhao, W. Others DPD-YOLO: Dense Pineapple Fruit Target Detection Algorithm in Complex Environments Based on YOLOv8 Combined with Attention Mechanism. Front. Plant Sci. 2025, 16, 1523552. [Google Scholar] [CrossRef] [PubMed]
- Wojke, N.; Bewley, A.; Paulus, D. Simple Online and Realtime Tracking with a Deep Association Metric. In Proceedings of the 2017 IEEE International Conference on Image Processing (ICIP), Beijing, China, 17–20 September 2017; IEEE Press: Beijing, China, 2017; pp. 3645–3649. [Google Scholar]
- Duong-Trung, H.; Duong-Trung, N. Integrating YOLOv8-Agri and DeepSORT for Advanced Motion Detection in Agriculture and Fisheries. EAI Endorsed Trans. Ind. Netw. Intell. Syst. 2024, 11, e4. [Google Scholar] [CrossRef]
- Tu, S.; Zeng, Q.; Liang, Y. Others Automated Behavior Recognition and Tracking of Group-Housed Pigs with an Improved DeepSORT Method. Agriculture 2022, 12, 1907. [Google Scholar] [CrossRef]
- Acharya, P.; Burgers, T.; Nguyen, K.-D. A Deep-Learning Framework for Spray Pattern Segmentation and Estimation in Agricultural Spraying Systems. Sci. Rep. 2023, 13, 7545. [Google Scholar] [CrossRef] [PubMed]
- Yue, X.; Qi, K.; Yang, F.; Na, X.; Liu, Y.; Liu, C. RSR-YOLO: A Real-Time Method for Small Target Tomato Detection Based on Improved YOLOv8 Network. Discov. Appl. Sci. 2024, 6, 268. [Google Scholar] [CrossRef]
- Zhang, Z.; Yang, Y.; Xu, X.; Liu, L.; Yue, J.; Ding, R.; Lu, Y.; Liu, J.; Qiao, H. GVC-YOLO: A Lightweight Real-Time Detection Method for Cotton Aphid-Damaged Leaves Based on Edge Computing. Remote Sens. 2024, 16, 3046. [Google Scholar] [CrossRef]
- Luo, W.; Yuan, S. Enhanced YOLOv8 for Small-Object Detection in Multiscale UAV Imagery: Innovations in Detection Accuracy and Efficiency. Digit. Signal Process. 2025, 158, 104964. [Google Scholar] [CrossRef]
- Shengde, C.; Junyu, L.; Xiaojie, X.; Jianzhou, G.; Shiyun, H.; Zhiyan, Z.; Yubin, L. Detection and Tracking of Agricultural Spray Droplets Using GSConv-Enhanced YOLOv5s and DeepSORT. Comput. Electron. Agric. 2025, 235, 110353. [Google Scholar] [CrossRef]
- Rehman, T.U.; Zhang, L.; Wang, L.; Ma, D.; Maki, H.; Sánchez-Gallego, J.A.; Mickelbart, M.V.; Jin, J. Automated Leaf Movement Tracking in Time-Lapse Imaging for Plant Phenotyping. Comput. Electron. Agric. 2020, 175, 105623. [Google Scholar] [CrossRef]
- Badgujar, C.M.; Poulose, A.; Gan, H. Agricultural object detection with you only look once (YOLO) algorithm: A bibliometric and systematic literature review. Comput. Electron. Agric. 2024, 223, 109090. [Google Scholar] [CrossRef]
- Sapkota, M.; Virk, S.; Rains, G. Spray Deposition and Quality Assessment at Varying Ground Speeds for an Agricultural Sprayer with and without a Rate Controller. AgriEngineering 2023, 5, 506–519. [Google Scholar] [CrossRef]
- Li, L.; Hu, Z.; Liu, Q.; Yi, T.; Han, P.; Zhang, R.; Pan, L. Effect of Flight Velocity on Droplet Deposition and Drift of Combined Pesticides Sprayed Using an Unmanned Aerial Vehicle Sprayer in a Peach Orchard. Front. Plant Sci. 2022, 13, 981494. [Google Scholar] [CrossRef] [PubMed]
- Bhosale, Y.; Esmaili, E.; Bhar, K.; Jung, S. Bending, Twisting and Flapping Leaf upon Raindrop Impact. Bioinspiration Biomim. 2020, 15, 036007. [Google Scholar] [CrossRef] [PubMed]
- Gilet, T.; Tadrist, L. Leaf Oscillation and Upward Ejection of Droplets in Response to Drop Impact. Phys. Rev. Fluids 2025, 10, 053601. [Google Scholar] [CrossRef]
- Damak, M.; Hyder, M.N.; Varanasi, K.K. Enhancing Droplet Deposition through In-Situ Precipitation. Nat. Commun. 2016, 7, 12560. [Google Scholar] [CrossRef]
- Wang, C.; Cao, Y.; Chen, Y.; Xu, L.; Qiu, W. Understanding Dilution Effects on Particle-Containing Pesticide Droplets Deposition on Rice Leaf via Developing CFD-VOF-DPM Model. Pest Manag. Sci. 2024, 80, 4725–4735. [Google Scholar] [CrossRef]
- Xu, T.; Li, X.; Ding, L.; Qi, Y.; Lu, H.; Xiao, W.; Lv, X.; Li, J. Effects of Ambient Wind on Droplet Deposition Uniformity in Orchard Air-Assisted Sprayers. Sci. Rep. 2026, 16, 2250. [Google Scholar] [CrossRef]
















| Occlusion Ratio | Model | mAP@0.5 (%) | Precision (%) | Recall (%) |
|---|---|---|---|---|
| 0% | Baseline YOLOv8 | 95.1 ± 1.5 | 95.2 ± 1.1 | 94.8 ± 1.0 |
| 0% | Improved | 97.0 ± 1.2 | 96.4 ± 0.8 | 95.9 ± 0.9 |
| 2% | Baseline YOLOv8 | 88.2 ± 1.6 | - | - |
| 2% | Improved | 92.4 ± 1.3 | 92.1 ± 1.0 | 91.5 ± 1.2 |
| 5% | Baseline YOLOv8 | 61.8 ± 2.1 | 62.4 ± 2.3 | 61.1 ± 1.9 |
| 5% | Improved | 81.4 ± 1.8 | 84.3 ± 1.6 | 81.7 ± 1.5 |
| Occlusion Ratio | Model | MOTA | IDF1 | ID Switches | Average Trajectory Length |
|---|---|---|---|---|---|
| 0 | YOLOv8 | 96.8 | 97.2 | 2 | 1653 |
| 0 | Improved YOLOv8 | 97.5 | 98.0 | 1 | 1678 |
| 2 | YOLOv8 | 89.4 | 90.1 | 6 | 1578 |
| 2 | Improved YOLOv8 | 93.2 | 94.3 | 2 | 1621 |
| 5 | YOLOv8 | 68.2 | 66.7 | 15 | 1465 |
| 5 | Improved YOLOv8 | 87.5 | 89.1 | 5 | 1557 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Guo, F.; Liu, K.; Ma, J.; Qiu, B. Application of the Improved YOLOv8-DeepSORT Framework in Motion Tracking of Pepper Leaves Under Droplet Occlusion. Agronomy 2026, 16, 384. https://doi.org/10.3390/agronomy16030384
Guo F, Liu K, Ma J, Qiu B. Application of the Improved YOLOv8-DeepSORT Framework in Motion Tracking of Pepper Leaves Under Droplet Occlusion. Agronomy. 2026; 16(3):384. https://doi.org/10.3390/agronomy16030384
Chicago/Turabian StyleGuo, Fengfeng, Kuan Liu, Jing Ma, and Baijing Qiu. 2026. "Application of the Improved YOLOv8-DeepSORT Framework in Motion Tracking of Pepper Leaves Under Droplet Occlusion" Agronomy 16, no. 3: 384. https://doi.org/10.3390/agronomy16030384
APA StyleGuo, F., Liu, K., Ma, J., & Qiu, B. (2026). Application of the Improved YOLOv8-DeepSORT Framework in Motion Tracking of Pepper Leaves Under Droplet Occlusion. Agronomy, 16(3), 384. https://doi.org/10.3390/agronomy16030384

