An Improved YOLOv8-Based Method for Citrus Detection in Hilly and Mountainous Environments

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.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-11-30
DOI
https://doi.org/10.3390/electronics15235619
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

An Improved YOLOv8-Based Method for Citrus Detection in Hilly and Mountainous Environments

董琳璐, Zuojin Li, Luogeng Xu, Qingxia Xie et al.
Electronics
Smart Agriculture and AI
article

An Improved YOLOv8-Based Method for Citrus Detection in Hilly and Mountainous Environments

董琳璐, Zuojin Li, Luogeng Xu, Qingxia Xie, Xianfeng Zhang, Rui Zhou, Zhiwei Jin, Zili Li
article en

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.

ElectronicsVol. 15(23)
Chongqing University of Science and Technology (CN), Chongqing Academy of Agricultural Sciences (CN)
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon