SORTA: A YOLO-Based Computer Vision System for Automatic Identification and Grading of Chicken Egg Quality Using ESP32-CAM
Keywords:
Computer Vision, Egg Quality Grading, ESP32-CAM, YOLO, CNN, IoT, Automated SortingAbstract
This paper presents SORTA (Sorting of Chicken Eggs via Real-Time Vision and Automation), an automated egg quality identification and sorting system that integrates YOLOv8-based object detection, Convolutional Neural Network (CNN) classification, and IoT hardware components. The system employs an ESP32-CAM module to capture real-time egg images, which are transmitted via WiFi to a Python-based inference server running YOLOv8n and a TFLite CNN model. A fusion strategy selects the prediction with the higher confidence score, while a load cell sensor provides weight data to finalize the egg grade according to the SNI 3926:2023 standard. The grading outcome (Grade A, B, C, or Unfit) controls a servo-driven robotic arm that physically sorts the eggs on a mini conveyor. Training on 4,005 augmented images over 15 epochs achieved a validation mAP@50 of 98.8%. In real-world tests at a commercial poultry farm using 100 eggs, the combined CNN+YOLO system achieved 70.0% overall accuracy, outperforming standalone YOLO (44.0%) by 26 percentage points. Weight sensing showed an error margin below 2.2%, and the monitoring website displayed all results in real time. The results demonstrate that the multi-modal fusion approach substantially improves sorting reliability compared to single-model baselines, offering a practical and low-cost solution for small-to-medium-scale poultry operations.
Downloads
References
S. A. Ningsih, R. A. Sutiani, N. M. S. Ulandari, & R. A. Saputra, "Penerapan Algoritma Yolo Untuk Mendeteksi Kualitas Telur Ayam Berdasarkan Warna Cangkang," METHODIKA: Jurnal Teknik Informatika dan Sistem Informasi, vol. 10, no. 2, pp. 35–39, 2024. https://doi.org/10.46880/mtk.v10i2.3062
I. M. D. Maleh, R. Teguh, A. S. Sahay, S. Okta, & M. P. Pratama, "Implementasi Algoritma You Only Look Once (YOLO) Untuk Object Detection," Jurnal Informatika, vol. 10, no. 1, pp. 19–27, 2023. https://doi.org/10.31294/inf.v10i1.13922
M. Mujiono, A. K. Nalendra, & E. H. Candrapuspa, "Penerapan Logika Fuzzy pada Alat Pendeteksi Kualitas Telur Berbasis Mikrokontroler Arduino," Generation Journal, vol. 7, no. 1, pp. 8–13, 2023. https://doi.org/10.29407/gj.v7i1.17239
S. A. Ningsih, R. A. Sutiani, N. M. S. Ulandari, & R. A. Saputra, "Penerapan Algoritma Yolo Untuk Mendeteksi Kualitas Telur Ayam Berdasarkan Warna Cangkang," METHODIKA, vol. 10, no. 2, pp. 35–39, 2024.
H. K. Putri, B. H. Iswanto, & H. Suhendar, "Klasifikasi Kualitas Cangkang Telur Ayam Menggunakan EfficientNet Berbasis Citra Digital," Jurnal Teknologi, vol. XIII, pp. 93–101, 2024.
M. R. Daulima, Syahrial, M. I. Abas, W. E. Pranata, & I. Ibrahim, "Klasifikasi kualitas telur berdasarkan kerabang menggunakan Convolutional Neural Network," Jurnal Ilmu Komputer, vol. 5, no. 1, pp. 36–43, February 2025. http://dx.doi.org/10.31314/juik.v5i1.3953
X. Yang, R. B. Bist, S. Subedi, & L. Chai, "A Computer Vision-Based Automatic System for Egg Grading and Defect Detection," Animals, vol. 13, no. 14, 2023. https://doi.org/10.3390/ani13142354
Roboflow, Inc., "Roboflow: Give your software the power to see objects in images and video," [Online]. Available: https://roboflow.com
A. Widiyatmoko & I. Suharjo, "Smart Temperature and Humidity Monitoring pada Data Center Dinas Komunikasi dan Informatika Daerah Istimewa Yogyakarta Berbasis Raspberry Pi 5 dan Notifikasi Discord," Jurnal Kridatama Sains dan Teknologi, vol. 7, no. 2, pp. 613–634, 2025.
R. D. D. Alwie, A. B. Prasetio, & R. Andespa, "Sistem Pengelolaan Otomatis Berbasis IoT pada Budikdamber untuk Monitoring dan Kontrol Melalui Aplikasi Blynk," Jurnal Ekonomi, vol. 2, no. 1, pp. 41–49, 2025.
I. M. D. Maleh, R. Teguh, A. S. Sahay, S. Okta, & M. P. Pratama, "Implementasi Algoritma You Only Look Once (YOLO) untuk Object Detection Sarang Orang Utan di Taman Nasional Sebangau," Jurnal Informatika, vol. 10, no. 1, pp. 19–27, 2023. https://doi.org/10.31294/inf.v10i1.13922
K. M. Azhar, I. Santoso, & Y. A. A. Soetrisno, "Implementasi Deep Learning Menggunakan Metode Convolutional Neural Network dan Algoritma YOLO dalam Sistem Pendeteksi Uang Kertas Rupiah bagi Penyandang Low Vision," Transient: Jurnal Ilmiah Teknik Elektro, vol. 10, no. 3, pp. 502–509, 2021. https://doi.org/10.14710/transient.v10i3.502-509
Downloads
Published
Issue
Section
License
Copyright (c) 2026 J-MAGIC Journal of Multimedia, Animation, Game, Interaction, and Creative

This work is licensed under a Creative Commons Attribution 4.0 International License.


