Deteksi Fertilitas Telur Ayam Menggunakan Metode YOLO untuk Sistem Sortir Otomatis

irni ri'khah juliarti, Muhammad Latif, Sri Wahyuni, Achmad Imam Sudianto, Ach. Dafid, Hairil Budiarto

Abstract


Early detection of egg fertility is crucial for improving incubation efficiency and reducing energy waste in small-scale poultry farms. This study developed an automated sorting system using the YOLOv8n algorithm to detect and classify eggs into two classes: fertile and infertile. The dataset was collected through a candling process using images of 3- to 7-day-old chicken eggs taken under controlled lighting conditions. Data collection included acquiring original images, which were then manually annotated using a bounding box format in the collab platform to train the model to recognize embryo features. The YOLOv8n architecture was chosen for its superiority in fast feature extraction using an efficient backbone structure and neck system for real-time small object detection. Model performance was comprehensively evaluated using confusion matrix and mean average precision (mAP) metrics. The mAP value reached 0.995, precision 0.9, and recall 100% in the training phase. In live system testing using a webcam, the model produced stable confidence values in the range of 85% to 94% with an inference time of only 1.4 ms. The integration of intelligent models and servo actuators in the sorting system has been proven to be able to separate fertile and infertile eggs automatically with a high success rate.


Keywords


Confusion Matrix; Classification; Fertility; Real-Time; YOLO.

Full Text:

References


M. Y. Birhanu, R. Osei-Amponsah, F. Yeboah Obese, and T. Dessie, “Smallholder poultry production in the context of increasing global food prices: roles in poverty reduction and food security,” Anim. Front., vol. 13, no. 1, pp. 17–25, 2023, doi: 10.1093/af/vfac069.

M. W. Ahmed, S. J. Hossainy, A. Khaliduzzaman, J. L. Emmert, and M. Kamruzzaman, “Non-destructive optical sensing technologies for advancing the egg industry toward Industry 4.0: A review,” Compr. Rev. Food Sci. Food Saf., vol. 22, no. 6, pp. 4378–4403, 2023, doi: 10.1111/1541-4337.13227.

M. Ghaderi, S. A. Mireei, A. Masoumi, M. Sedghi, and M. Nazeri, “Fertility detection of unincubated chicken eggs by hyperspectral transmission imaging in the Vis-SWNIR region,” Sci. Rep., vol. 14, no. 1, p. 1289, 2024.

J. Cai et al., “Detection of Hatching Information of Meat Duck Eggs Based on Deep Learning,” Animals, vol. 15, no. 23, pp. 1–15, 2025, doi: 10.3390/ani15233400.

D. Musara, B. Sarema, D. Mashava, K. Chinguwo, and T. M. Muhla, “Design of an AI-based egg fertility detection system for incubators,” Open Access Res. J. Sci. Technol., vol. 12, no. 1, pp. 001–009, 2024, doi: 10.53022/oarjst.2024.12.1.0109.

C. A. Hall, D. A. Potvin, and G. C. Conroy, “A new candling procedure for thick and opaque eggs and its application to avian conservation management,” Zoo Biol., vol. 42, no. 2, pp. 296–307, 2023, doi: 10.1002/zoo.21730.

J. H. So, S. Y. Joe, S. H. Hwang, S. J. Hong, and S. H. Lee, “Current advances in detection of abnormal egg: a review,” J. Anim. Sci. Technol., vol. 64, no. 5, pp. 813–829, 2022, doi: 10.5187/jast.2022.e56.

I. Ramadhan, M. Rahul Isbar, Z. Abidin, and F. Pangerang, “Rancang Bangun Pendeteksi dan Penyortir Telur Ayam Infentril dan Fertil,” Pros. 5th Semin. Nas. Penelit. Pengabdi. Kpd. Masy., pp. 134–138, 2021.

M. R. Daulima et al., “Klasifikasi Kualitas Telur Berdasarkan Kerabang Menggunakan Convolutional Neural Network,” J. Ilmu Komput., vol. 5, pp. 36–43, 2025.

M. K. Sinabang and P. Aditya, “Evaluasi Fertilitas, Daya Tetas, Dan Karakteristik Perilaku Mengeram Induk Ayam Kampung Dalam Sistem Penetasan Alami,” JIPENA, vol. 02, pp. 40–48, 2025.

S. A. Ningsih, R. A. Sutiani, N. M. S. Ulandari, and R. A. Saputra, “Penerapan Algoritma Yolo Untuk Mendeteksi Kualitas Telur Ayam Berdasarkan Warna Cangkang,” Method. J. Tek. Inform. dan Sist. Inf., vol. 10, no. 2, pp. 35–39, 2024, doi: 10.46880/mtk.v10i2.3062.

E. M. Atwa et al., “Advances in Emerging Non-Destructive Technologies for Detecting Raw Egg Freshness: A Comprehensive Review,” Foods, vol. 13, no. 22, pp. 1–27, 2024, doi: 10.3390/foods13223563.

S. Saifullah, R. Drezewski, A. Yudhana, A. Pranolo, W. Kaswijanti, and A. Putro, “Nondestructive Chicken Egg Fertility Detection Using CNN- Transfer Learning Algorithms,” vol. 9, no. 3, pp. 854–871, 2023, doi: 10.26555/jiteki.v9i3.26722.

M. R. Fauzan, N. Nadhif, R. Iskandar, and R. Z. Fauzi, “Rethinking Efficiency : A Comparative Study of Lightweight CNN Architectures for Image Classification,” vol. 2, no. 1, pp. 13–21, 2026.

K. K. Çevik, H. E. Koçer, and M. Boğa, “Deep Learning Based Egg Fertility Detection,” Vet. Sci., vol. 9, no. 10, p. 574, 2022, doi: 10.3390/vetsci9100574.

M. R-cnn, “Detection of Fractured Endodontic Instruments in Periapical Radiographs : A Comparative Study of YOLOv8 and,” pp. 1–16, 2025.

L. Huang and W. Huang, “RD-YOLO: An Effective and Efficient Object Detector for Roadside Perception System,” Sensors, vol. 22, no. 21, p. 8097, 2022, doi: 10.3390/s22218097.

P. Mittal, “A comprehensive survey of deep learning-based lightweight object detection models for edge devices,” vol. 57, no. 9. Springer Netherlands, 2024. doi: 10.1007/s10462-024-10877-1.

J. Zhang, Z. Chen, G. Yan, Y. Wang, and B. Hu, “Faster and Lightweight: An Improved YOLOv5 Object Detector for Remote Sensing Images,” Remote Sens., vol. 15, no. 20, 2023, doi: 10.3390/rs15204974.

E. Malagoli and L. Di Persio, “2D Object Detection: A Survey,” Mathematics, vol. 13, no. 6, pp. 1–52, 2025, doi: 10.3390/math13060893.

G. Li, R. Jian, X. Jun, and G. Shi, “A Review of You Only Look Once Algorithms in Animal Phenotyping Applications,” Animals, vol. 15, no. 8, pp. 1–28, 2025, doi: 10.3390/ani15081126.

M. L. Ali and Z. Zhang, “The YOLO Framework: A Comprehensive Review of Evolution, Applications, and Benchmarks in Object Detection,” Computers, vol. 13, no. 12, p. 336, 2024, doi: 10.3390/computers13120336.

M. y. A. Thoriq, A. Thoriq, K. E. Permana, and I. A. Siradjuddin, “Deteksi Wajah Manusia Berbasis One Stage Detector Menggunakan Metode You Only Look Once (YOLO ),” J. Teknoinfo, vol. 17, pp. 66–73, 2023.

M. Yang and X. Fan, “YOLOv8-Lite: A Lightweight Object Detection Model for Real-time Autonomous Driving Systems,” IECE Trans. Emerg. Top. Artif. Intell., vol. 1, no. 1, pp. 1–16, 2024, doi: 10.62762/tetai.2024.894227.

Z. Liu, C. Chen, Z. Huang, Y. C. Chang, L. Liu, and Q. Pei, “A Low-Cost and Lightweight Real-Time Object-Detection Method Based on UAV Remote Sensing in Transportation Systems,” Remote Sens., vol. 16, no. 19, p. 3712, 2024, doi: 10.3390/rs16193712.

J. Terven, D. M. Córdova-Esparza, and J. A. Romero-González, “A Comprehensive Review of YOLO Architectures in Computer Vision: From YOLOv1 to YOLOv8 and YOLO-NAS,” Mach. Learn. Knowl. Extr., vol. 5, no. 4, pp. 1680–1716, 2023, doi: 10.3390/make5040083.

I. P. E. D. Nugraha and G. Sukadarmika, “Sistem Presensi Otomatis Menggunakan Pengenalan Wajah Berbasis Deep Learning dan Real-Time Database,” J. Inform. J. Pengemb. IT, vol. 10, no. 4, pp. 958–966, 2025, doi: 10.30591/jpit.v10i4.8792.

A. D. Febriani and M. D. Kartikasari, “Detecting Avocado Freshness In Real-Time: A Yolo-Based Deep Learning Approach,” J. Tek. Inform., vol. 6, no. 3, pp. 1485–1502, 2025, doi: 10.52436/1.jutif.2025.6.3.4626.




DOI: https://doi.org/10.30591/jpit.v11i2.10166

Refbacks

  • There are currently no refbacks.


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

JPIT INDEXED BY

  
  

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