Full-surface detection of apple fruits using enhanced YOLOv5

Accurate detection of apple surfaces under various orientations in a sorting machine is crucial for applications in precision agriculture, particularly for tasks such as automated quality control. Traditional image processing methods often struggle with complexities introduced by varying fruit orientations. In this study, an enhanced version of the You Only Look Once (YOLOv5) model for full-surface detection of apples is proposed, with a key modification in which the original backbone network is replaced with a more robust architecture. Additionally, the model integrates Convolutional Block Attention Modules (CBAM) for improved feature extraction, which enhances its ability to handle occlusions and complex backgrounds. This innovation optimizes automated sorting and quality control systems, reducing losses and ensuring consistent apple quality. Results show that the enhanced YOLOv5 model performed better than traditional methods, achieving precision rates of 76.80%, 88.40%, 88.20%, and 88.20%, recall rates of 82.30%, 83.20%, 93.10%, and 93.10%, as well as mean average precision (mAP) of 86.00%, 91.70%, 95.00%, and 95.00% respectively for stem up, stem down, sideways, and diagonal orientations. The highest F1-score (90.58) and mAP (95.00) were achieved in the sideways orientation, demonstrating superior performance in this orientation. The model’s enhanced accuracy makes it highly suitable for applications in smart agriculture, particularly in automated apples quality control, where reliable and consistent surface detection is essential.

Authors

Institutions

Publication Details

Journal
Agricultural Products Processing and Storage
Published
2025-08-18
DOI
https://doi.org/10.1007/s44462-025-00020-w
Citations
3
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
5.25
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Full-surface detection of apple fruits using enhanced YOLOv5

Bo Han, Jiangfan Yu, Liling Yang, Afshin Azizi et al.
3 citations
Agricultural Products Processing and Storage
Smart Agriculture and AI
5.25
article

Full-surface detection of apple fruits using enhanced YOLOv5

Bo Han, Jiangfan Yu, Liling Yang, Afshin Azizi, Wenwen Kong, Oladimeji Idowu Oladele, Li Xu, Mustafa Mhamed, Muhammad Hilal Kabir, Xiaolong Li, Zhao Zhang, Man Zhang, Simphiwe Mngomezulu
article en
3 citations

Abstract

Accurate detection of apple surfaces under various orientations in a sorting machine is crucial for applications in precision agriculture, particularly for tasks such as automated quality control. Traditional image processing methods often struggle with complexities introduced by varying fruit orientations. In this study, an enhanced version of the You Only Look Once (YOLOv5) model for full-surface detection of apples is proposed, with a key modification in which the original backbone network is replaced with a more robust architecture. Additionally, the model integrates Convolutional Block Attention Modules (CBAM) for improved feature extraction, which enhances its ability to handle occlusions and complex backgrounds. This innovation optimizes automated sorting and quality control systems, reducing losses and ensuring consistent apple quality. Results show that the enhanced YOLOv5 model performed better than traditional methods, achieving precision rates of 76.80%, 88.40%, 88.20%, and 88.20%, recall rates of 82.30%, 83.20%, 93.10%, and 93.10%, as well as mean average precision (mAP) of 86.00%, 91.70%, 95.00%, and 95.00% respectively for stem up, stem down, sideways, and diagonal orientations. The highest F1-score (90.58) and mAP (95.00) were achieved in the sideways orientation, demonstrating superior performance in this orientation. The model’s enhanced accuracy makes it highly suitable for applications in smart agriculture, particularly in automated apples quality control, where reliable and consistent surface detection is essential.

Agricultural Products Processing and StorageVol. 1(1)
Tarim University (CN), Ningxia Academy of Agriculture and Forestry Sciences (CN), Xinjiang Academy of Agricultural Sciences (CN), Inspur (China) (CN), Ministry of Agriculture and Rural Affairs (CN), Umkhuseli Innovation and Research Management (ZA), China Agricultural University (CN), University of KwaZulu-Natal (ZA)
Zero hunger
Openalex Percentile: Top 5%
Smart Agriculture and AI
5.25
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.