Abstract
Ensuring the integrity of eggshells across poultry supply chains is vital to minimize economic losses and mitigate the risk of pathogen ingress. Manual visual inspection remains inconsistent, labor-intensive, and increasingly inadequate for modern production volumes. This study conducts a comprehensive comparative evaluation of lightweight deep-learning models for automated eggshell defect detection, assessing their suitability for deployment on resource-constrained augmented-reality (AR) smart glasses. A mixed dataset was assembled by combining 186 privately collected images of brown cage-free eggs with 794 publicly available images of primarily white eggs. Ten architectures, comprising nine lightweight detectors across the YOLOv5, YOLOv8, YOLOv9, and YOLOv10 families alongside a transformer RT-DETR-l baseline, were benchmarked. The YOLOv8n model achieved the highest detection accuracy with a 5-fold cross-validated mAP@0.5:0.95 of 91.2%, demonstrating no statistically significant difference relative to RT-DETR-l. However, YOLOv10n provided the optimal accuracy-efficiency balance for AR deployment as it delivered a mAP@0.5:0.95 of 89.5% and a proxy CPU inference time of 34.2 ms, while an INT8-quantized TFLite export reduced its memory footprint to 2.59 MB. By providing a mixed-egg dataset and a thorough benchmark of lightweight detectors, this comparative study identifies YOLOv10n as the most suitable architecture for real-time AR-based inspection. These findings advance precision agriculture by outlining an efficient, empirically validated pathway toward hands-free, AI-driven quality control.
Funding Information
  • King Abdulaziz University (KAU) Endowment (WAQF) at KAU, Jeddah, Saudi Arabia.

This publication has 52 references indexed in Scilit: