본문 바로가기
  • Home

Comparative Analysis of RT-DETR and YOLOv8 for Real-Time Egg Defect Detection under Computational Constraints

  • Journal of The Korea Society of Computer and Information
  • Abbr : JKSCI
  • 2024, 29(12), pp.1-11
  • Publisher : The Korean Society Of Computer And Information
  • Research Area : Engineering > Computer Science
  • Received : October 18, 2024
  • Accepted : November 27, 2024
  • Published : December 31, 2024

Namil Kang 1 Yechan Cha 2 Bo-Young Kim 2 Jihoon Moon 1

1순천향대학교
2아산중학교

Accredited

ABSTRACT

In this study, we present a comparative analysis of two state-of-the-art object detection models, RT-DETR and YOLOv8, for real-time egg defect detection. As the global demand for eggs continues to rise, ensuring their quality and safety is paramount for mitigating health risks and addressing food safety concerns. The models were employed to analyze transillumination images of eggs and classify them into six distinct categories: Normal, Crack, Blood Spot, Discoloration, Foreign Body, and Deformation. A dataset comprising 11,000 egg images provided by AI-Hub was utilized, with a train-validation-test split ratio of 9:1:1 to conduct the experiments. The performance of the models was assessed based on two key metrics: detection accuracy and inference speed. For RT-DETR, two variants (r18 and r50) were trained, while YOLOv8 involved the training of three variants (nano, medium, and large). The evaluation results indicated that the RT-DETR-r50 model demonstrated superior accuracy, achieving a mean Average Precision (mAP) of 0.852 (mAP@0.5) at an IoU threshold of 0.5 and 0.851 (mAP@0.5:0.95) across multiple IoU thresholds. Conversely, the YOLOv8n model exhibited exceptional speed, with an average inference time of 0.0021 seconds per image. These findings emphasize the trade-off between accuracy and inference speed, providing critical insights into the development of efficient quality control systems for egg production facilities.

Citation status

* References for papers published after 2023 are currently being built.

This paper was written with support from the National Research Foundation of Korea.