Optimization of Litchi Fruit Detection Based on Defoliation and UAV

Jing Wang, Mingyue Zhang, Zhenhui Zheng, Zhaoshen Yao, Benwu Nie, Dongliang Guo, Ling Chen, Jianguang Li, Juntao XiongAgronomy 2025

TL;DR

This paper tackles the challenge of accurately detecting litchi fruit from UAV imagery, which is often hindered by dense foliage and fruit occlusion. They propose a novel approach combining moderate leaf thinning (an agronomic technique) with the YOLOv8 deep learning model, significantly improving fruit detection performance and paving the way for more intelligent agricultural systems.

What Problem Does This Paper Address?

Automated fruit detection using Unmanned Aerial Vehicles (UAVs) is crucial for modernizing agriculture, enabling precise yield estimation and automated harvesting. However, a major bottleneck for litchi, a crop with dense and complex canopy structures, is the occlusion of fruits by leaves and branches. This makes it difficult for even advanced computer vision models to accurately identify and count fruits. Existing solutions often focus solely on improving detection algorithms, neglecting the potential of manipulating the environment itself to aid perception. This study aims to bridge this gap by investigating how an agronomic intervention – defoliation – can proactively improve the visual conditions for UAV-based fruit detection.

Methods

The core of this research lies in a synergistic approach combining agronomic intervention with deep learning.

  • Agronomic Intervention: The researchers applied three levels of leaf thinning to litchi trees at the early fruit development stage:
  • Control (no defoliation)
    • Moderate defoliation (T1): thinning of 6 compound leaves.
  • Intensive defoliation (T2): thinning of 12 compound leaves. They systematically evaluated the impact of these treatments on fruit growth, yield, quality, and canopy structure, including shoot angle and light penetration (LAI and PAR).

  • Deep Learning Model: The YOLOv8 object detection framework was chosen for its advanced architecture, which includes improvements in its backbone network, feature enhancement network (Neck), and detection head. This model was selected for its ability to handle small targets and complex scenes.

  • Data Acquisition and Processing: UAV imagery was collected from control and moderately defoliated (T1) trees. The collected videos were processed to extract high-resolution images. These images were then annotated for fruit targets, with bounding boxes delineating even occluded fruits. The dataset was split into training, validation, and testing sets.
  • Comparative Analysis: The study compared the performance of YOLOv8 against YOLOv5 and YOLOv7 on the control dataset to establish a baseline. Crucially, they then compared the YOLOv8 model's performance on both the control (no defoliation) and T1 (moderate defoliation) datasets to quantify the impact of the agronomic intervention.

Datasets

The study utilized a custom dataset collected from litchi trees at the Guangdong Academy of Agricultural Sciences. This dataset consisted of high-resolution images derived from UAV aerial videos. The dataset was divided into training, validation, and testing subsets, with a focus on balanced representation across control and defoliation treatments. No pre-existing public benchmarks were explicitly mentioned for this specific litchi fruit detection task.

Key Insights and Ideas

  • Agronomy as a Precursor to AI: The most significant insight is that manipulating the physical environment (through defoliation) can be a powerful strategy to enhance AI perception, rather than solely relying on algorithmic improvements. This opens up new avenues for "co-adaptive" agricultural systems.
  • Moderate Defoliation is Key: Intensive defoliation, while increasing light penetration, negatively impacted fruit quality and shoot architecture, leading to increased occlusion. Moderate defoliation struck a balance, improving visibility without detrimental effects.
  • YOLOv8's Efficacy: The YOLOv8 model demonstrated strong performance, outperforming YOLOv5 and YOLOv7 in terms of mAP and inference speed on the control dataset. Its ability to handle complex scenes was further validated when applied to the defoliated dataset.
  • Synergistic Improvement: The combination of moderate defoliation and YOLOv8 led to substantial gains in detection accuracy, precision, recall, and F1-score, highlighting the synergistic benefits of this integrated approach.

Key Results

  • Agronomic Impact: Moderate defoliation (T1) significantly improved fruit quality metrics (e.g., individual fruit weight, yield) and canopy light distribution (increased PAR, reduced LAI) without compromising fruit setting. Intensive defoliation (T2) led to negative impacts on fruit quality.
  • Detection Performance Gains:
    • Compared to controls, the YOLOv8 model achieved a significant increase in mAP from 0.818 to 0.884 and an improvement in F1-score from 0.796 to 0.842 when applied to moderately defoliated trees.
  • Precision increased by 5.9% and recall by 3.4% with moderate defoliation.
  • Missed detection rates were reduced by 37% in defoliated canopies.
  • Model Comparison: YOLOv8 achieved a higher mAP (0.868) and faster inference time (160.3 ms) compared to YOLOv5 (0.813 mAP, 172.5 ms) and YOLOv7 (0.826 mAP, 178.6 ms) on the control dataset.

Limitations and Future Work

  • Manual Defoliation Labor: The authors acknowledge that manual defoliation is labor-intensive and not scalable for commercial operations.
  • Future Directions:
    • Develop automated or chemically induced defoliation protocols.
  • Integrate architectural optimization with adversarial training for enhanced model robustness.
  • Establish optimal defoliation intensity thresholds that balance detection gains with physiological sustainability.
  • Extend this strategy to other tree crops and integrate it with multi-source remote sensing and autonomous platforms.

Summary updated

Abstract

The use of UAVs to detect litchi in natural environments is imperative for rapid litchi yield estimation and automated harvesting systems. However, UAV-based lychee fruit detection bottlenecks arise from complex canopy architecture and leaf occlusion. This study proposed a collaborative optimization strategy integrating agronomic technique with deep learning. Three leaf thinning intensities (0, 6, and 12 compound leaves) were applied at the early stage of fruit to systematically evaluate their effects on fruit growth, canopy structure, and detection performance. Results indicated that moderate defoliation (six leaves) significantly enhanced canopy openness and light penetration without adversely impacting on yield and fruit quality. Subsequent UAV-based detection under moderate versus no defoliation treatment revealed that the YOLOv8-based model achieved significant performance gains: mean average precision (mAP) increased from 0.818 to 0.884, and the F1-score improved from 0.796 to 0.842. The study contributes a novel collaborative optimization strategy that effectively mitigates occlusion issues in fruit detection. This approach demonstrates that agronomic techniques can be strategically used to enhance AI perception, offering a significant step forward in the integration of agricultural machinery and agronomy for intelligent orchard systems.
BibTeX
@inproceedings{wang2025optimization,
  author = {Jing Wang and Mingyue Zhang and Zhenhui Zheng and Zhaoshen Yao and Benwu Nie and Dongliang Guo and Ling Chen and Jianguang Li and Juntao Xiong},
  title = {{Optimization of Litchi Fruit Detection Based on Defoliation and UAV}},
  booktitle = {Agronomy},
  year = {2025},
  doi = {10.3390/agronomy15102421},
}
Figure