An Improved YOLOv8-Based Method for Citrus Detection in Hilly and Mountainous Environments
Year: 2026
Type: article
Abstract: To improve citrus detection accuracy under complex conditions, including branch and leaf occlusion, fruit overlap, and variable illumination in natural hilly and mountainous orchards, this study proposes an improved YOLOv8-based method for citrus detection in complex environments. To address the limitations of the original YOLOv8 in complex scenarios, including insufficient multi-scale feature fusion capability, limited target feature representation, and low bounding box localization accuracy, the feature fusion structure, feature representation strategy, and bounding box regression mechanism were jointly optimized. First, a BiFPN-based bidirectional feature fusion structure was introduced to enhance information interaction among multi-scale features, thereby improving the detection performance of small and occluded targets. Second, a Coordinate Attention (CA) mechanism was incorporated to strengthen the modeling of spatial positional information and improve target feature representation under complex backgrounds. Finally, the Inner-PIoU loss function was adopted to optimize the bounding box regression process, improving localization accuracy and training stability. Experimental results demonstrated that, with only 8.8% and 13.6% increases in the number of parameters and floating-point operations, respectively, the improved model achieved increases of 3.6, 4.4, and 3.7 percentage points in precision, recall, and [email protected] compared with the original YOLOv8. Meanwhile, the inference time was only 3.9 ms, achieving a favorable balance between detection accuracy and real-time performance. Hyperparameter optimization further increased the model’s [email protected] to 94.1%, the highest value observed among the configurations evaluated. Compared with mainstream object detection models, including Faster R-CNN, YOLOv5, YOLOv9, YOLOv10, and RT-DETR, the proposed method exhibited superior overall detection performance in complex orchard environments, meaning that the proposed model can provide a reliable fruit detection component for citrus orchard monitoring systems in hilly and mountainous regions. Future implementations could integrate a tracking and counting module to estimate the number of fruits.
Source: Electronics
Language: English
Topic: Smart Agriculture and AI
Subfield: Plant Science
Domain: Life Sciences
Open Access status: gold
Estimated APC paid: $2,896
OpenAlex ID: W7242017299
