Intelligent Detection of Northern Shaanxi Red Fuji Apples based on Improved YOLOv8 Model

Authors

  • Lina Zhang
  • Jiale Zhang
  • Yachen Zhao
  • Jing Hong
  • Jingyuan He

DOI:

https://doi.org/10.6919/ICJE.202604_12(4).0038

Keywords:

Northern Shaanxi Red Fuji Apples; YOLOv8; Object Detection; EIoU; Smart Agriculture.

Abstract

Detection of Northern Shaanxi Red Fuji apples in natural orchards faces challenges such as branch-leaf occlusion, fruit overlapping, illumination variation, and scale differences, leading to decreased detection accuracy and localization stability of the model. To address these issues, YOLOv8s was employed as the baseline model, with improvements made from three aspects: small object detection layer, attention mechanism, and bounding box regression loss. Specifically, a P2 detection layer, Coordinate Attention, EIoU, and WIoU were introduced. Multiple ablation experiments were conducted under unified training conditions, and best.pt was adopted for re-validation to avoid deviations caused by early stopping. Experimental results demonstrate that among the improved schemes, YOLOv8s+EIoU achieved the optimal performance, with mAP50-95 increased to 69.73%, representing a 0.21 percentage point improvement over the baseline, which verifies the optimization effect of EIoU on bounding box regression. This study provides technical references for intelligent apple recognition, automated harvesting, and orchard management.

Downloads

Download data is not yet available.

References

[1] B. Yan, P. Fan, X. Lei, et al. A real-time apple targets detection method for picking robot based on improved YOLOv5. Remote Sensing. Vol. 13 (2021) No. 9, p. 1619.

[2] C. Zhang, F. Kang, Y. Wang. An improved apple object detection method based on lightweight YOLOv4 in complex backgrounds. Remote Sensing. Vol. 14 (2022) No. 17, p. 4150.

[3] X. Sun, Y. Zheng, D. Wu, et al. Detection of orchard apples using improved YOLOv5s-GBR model. Agronomy. Vol. 14 (2024) No. 4, p. 682.

[4] Z. Liu, R.M.R.D. Abeyrathna, R.M. Sampurno, et al. Faster-YOLO-AP: A lightweight apple detection algorithm based on improved YOLOv8 with a new efficient PDWConv in orchard. Computers and Electronics in Agriculture. Vol. 223 (2024), p. 109118.

[5] [B. Yan, Y. Liu, W. Yan. A novel fusion perception algorithm of tree branch/trunk and apple for harvesting robot based on improved YOLOv8s. Agronomy. Vol. 14 (2024) No. 9, p. 1895.

[6] T. Wu, Z. Miao, W. Huang, et al. SGW-YOLOv8n: An improved YOLOv8n-based model for apple detection and segmentation in complex orchard environments. Agriculture. Vol. 14 (2024) No. 11, p. 1958.

[7] M. Wang, F. Li. Real-time accurate apple detection based on improved YOLOv8n in complex natural environments. Plants. Vol. 14 (2025) No. 3, p. 365.

[8] H. Wu, X. Mo, S. Wen, et al. DNE-YOLO: A method for apple fruit detection in diverse natural environments. Journal of King Saud University-Computer and Information Sciences. Vol. 36 (2024), p. 102220.

[9] J. Zhao, A. Lipani, C. Schillaci. Fallen apple detection as an auxiliary task: Boosting robotic apple detection performance through multi-task learning. Smart Agricultural Technology. Vol. 8 (2024), p. 100436.

[10] J. Redmon, A. Farhadi. YOLOv3: An incremental improvement. arXiv preprint arXiv:1804.02767. (2018).

[11] T.Y. Lin, P. Dollar, R. Girshick, et al. Feature pyramid networks for object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR). (2017), p. 2117-2125.

[12] S. Liu, L. Qi, H. Qin, et al. Path aggregation network for instance segmentation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). (2018), p. 8759-8768.

[13] Q. Hou, D. Zhou, J. Feng. Coordinate attention for efficient mobile network design. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). (2021), p. 13713-13722.

[14] Y.F. Zhang, W. Ren, Z. Zhang, et al. Focal and efficient IoU loss for accurate bounding box regression. Neurocomputing. Vol. 506 (2022), p. 146-157.

[15] Z. Tong, Y. Chen, Z. Xu, et al. Wise-IoU: Bounding box regression loss with dynamic focusing mechanism. arXiv preprint arXiv:2301.10051. (2023).

Downloads

Published

2026-04-14

Issue

Section

Articles

How to Cite

Zhang, L., Zhang, J., Zhao, Y., Hong, J., & He, J. (2026). Intelligent Detection of Northern Shaanxi Red Fuji Apples based on Improved YOLOv8 Model. International Core Journal of Engineering, 12(4), 345-354. https://doi.org/10.6919/ICJE.202604_12(4).0038