EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Real-Time Accurate Apple Detection Based on Improved YOLOv8n in Complex Natural Environments

Mingjie Wang, Fuzhong Li

Plants · 25.01.2025 · 14 (3) · 365

DOI: 10.3390/plants14030365 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Plants, online erschienen am 25.01.2025. Verfasst von Mingjie Wang und 1 weiteren Autor:innen. Beteiligte Einrichtung: College of Agricultural Engineering, Shanxi Agricultural University, Jinzhong 030801, China. Die Arbeit wurde bisher 24-mal zitiert (Crossref) und nennt 43 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: the Key R&D Projects in Shanxi Province, and the Scientific and Technological Innovation Programs of Higher Education Institutions in Shanxi, Key R&D Projects in Shanxi Province, Scientific and Technological Innovation Programs of Higher Education Institutions in Shanxi.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Efficient and accurate apple detection is crucial for the operation of apple-picking robots. To improve detection accuracy and speed, we propose a lightweight apple-detection model based on the YOLOv8n framework. The proposed model introduces a novel Self-Calibrated Coordinate (SCC) attention module, which enhances feature extraction, especially for partially occluded apples, by effectively capturing spatial and channel information. Additionally, we replace the C2f module within the YOLOv8n neck with a Partial Convolution Module improved with Reparameterization (PCMR), which accelerates detection, reduces redundant computations, and minimizes both parameter count and memory access during inference. To further optimize the model, we fuse multi-scale features from the second and third pyramid levels of the backbone architecture, achieving a lightweight design suitable for real-time detection. To address missed detections and misclassifications, Polynomial Loss (PolyLoss) is integrated, enhancing class discrimination for different apple subcategories. Compared to the original YOLOv8n, the improved model increases the mAP by 2.90% to 88.90% and improves the detection speed to 220 FPS, which is 30.55% faster. Additionally, it reduces the parameter count by 89.36% and the FLOPs by 2.47%. Experimental results demonstrate that the proposed model outperforms mainstream object-detection algorithms, including Faster R-CNN, RetinaNet, SSD, RT-DETR-R18, RT-DETR-R34, YOLOv5n, YOLOv6-N, YOLOv7-tiny, YOLOv8n, YOLOv9-T and YOLOv11n, in both mAP and detection speed. Notably, the improved model has been used to develop an Android application deployed on the iQOO Neo6 SE smartphone, achieving a 40 FPS detection speed, a 26.93% improvement over the corresponding deployment of YOLOv8n, enabling real-time apple detection. This study provides a valuable reference for designing efficient and lightweight detection models for resource-constrained apple-picking robots.

Schlagwörter

Stichwörter der Autor:innen

Android deploymentYOLOv8applelightweight architecturereal-time detection

Autor:innen und Institutionen

  • College of Agricultural Engineering, Shanxi Agricultural University, Jinzhong 030801, China.
  • College of Information Science and Engineering, Shanxi Agricultural University, Jinzhong 030801, China.
  • College of Software, Shanxi Agricultural University, Jinzhong 030801, China.

Förderung

  • the Key R&D Projects in Shanxi Province, and the Scientific and Technological Innovation Programs of Higher Education Institutions in Shanxi
  • Key R&D Projects in Shanxi Province
  • Scientific and Technological Innovation Programs of Higher Education Institutions in Shanxi

Zitieren

APA

Wang, M., & Li, F. (2025). Real-Time Accurate Apple Detection Based on Improved YOLOv8n in Complex Natural Environments. Plants, 14(3), 365. https://doi.org/10.3390/plants14030365

Vancouver

Wang M, Li F. Real-Time Accurate Apple Detection Based on Improved YOLOv8n in Complex Natural Environments. Plants. 2025;14(3):365. doi:10.3390/plants14030365

BibTeX
@article{Wang2025,
  author = {Wang, Mingjie and Li, Fuzhong},
  title = {Real-Time Accurate Apple Detection Based on Improved YOLOv8n in Complex Natural Environments},
  journal = {Plants},
  year = {2025},
  volume = {14},
  number = {3},
  pages = {365},
  doi = {10.3390/plants14030365}
}
Kostenlos starten →