arrow
Return

Explainable YOLO architectures for egg size measurement and classification

delete2026-04-24
delete0
delete
OA
AI
E
Elsayed M. Atwa
I
Ibrahim Gad
Q
Qiong Liu
Y
Yunxiao Jiang
M
M. M. Abd El-Raouf
S
Shupeng He
H
Hongjian Lin
J
Jinming Pan *
DOI:10.1038/s41598-026-49155-1delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
The poultry industry faces growing demands for automated, high-precision egg grading systems to ensure quality control and meet market standards. Traditional methods relying on manual inspection are time-consuming, subjective, and prone to human error. Although state-of-the-art YOLO architectures have achieved high accuracy in object detection, their limited interpretability constrains adoption in agricultural contexts where transparency and biological relevance are critical. This study presents an interpretable deep learning framework based on YOLOv12 architecture for real-time egg size detection and classification. Using a dataset of 844 egg images, the performance of YOLO models (v7–v12) is compared, with YOLOv12-X achieving a mean Average Precision (mAP) of 99.4%. To enhance transparency in automated decision-making, Explainable AI (XAI) techniques, including Grad-CAM and EigenCAM, are integrated to visualize the model’s focus regions during classification. This approach not only validates the model’s alignment with biologically relevant features, such as egg contours, but also provides actionable insights for stakeholders in agriculture and food processing. This work bridges the gap between high-accuracy detection and interpretability, paving the way for smarter, more trustworthy automation in the poultry supply chain.
Keywords:
YOLOv12
egg size detection
explainable AI
poultry industry
real-time classification
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Scientific Reports cover
Scientific Reports
IF:
3.9
Papers:
27.4W
Citations:
83.5W

Organization

Z
Zhejiang University
Scholars:
1.5W
Papers: 5.2K
Citations: 17.8W
T
Tanta University
Scholars:
3.9K
Papers: 3.4K
Citations: 7.7K
researcher View more organizations