Convolutional Neural Network-Based Approach For In-Ovo Embryo Classification

Authors

  • Khoironi Khoironi Politeknik Elektronika Negeri Surabaya
  • Ibram Maulana Akhsanul Qasasi Politeknik Elektronika Negeri Surabaya
  • Ahmad Khairul Umam Politeknik Elektronika Negeri Surabaya
  • Much Chafid Politeknik Elektronika Negeri Surabaya
  • Ahmad Walid Hujairi Politeknik Elektronika Negeri Surabaya
  • I Wayan Rangga Pinastawa University Pembangunan Nasional Veteran Jakarta
  • Musthofa Galih Pradana Politeknik Elektronika Negeri Surabaya

DOI:

https://doi.org/10.30871/jaic.v10i4.13752

Keywords:

Candling, Convolutional Neural Network, Chicken Embryo, Non-Invasive Incubation

Abstract

The egg hatching process is a crucial stage in chicken breeding, as the quality of the resulting embryos will greatly determine the productivity and success of the cultivation. However, monitoring the internal condition of eggs during incubation is still limited and is generally done manually using the candling method. Therefore, a non-invasive approach is needed to support the process of monitoring embryo development. This study aims to develop a chicken embryo classification system based on in-ovo images using a Convolutional Neural Network (CNN). This system utilizes internal egg images taken with a camera integrated in the incubator, so that the condition of the eggs can be automatically classified into categories of fertile, infertile, and developmental failure. The research stages include collecting in-ovo image data, preprocessing in the form of removing the background using the rembg library, and resizing the images to 224 × 224 pixels. The dataset was then divided into training data and test data with a ratio of 90%:10%. The CNN model was built with several layers, namely convolution, max pooling, dropout, flattening, and fully connected, then trained for 28 epochs with a batch size of 32. The results showed that the developed CNN model was able to achieve an accuracy of 90.5% in the 24th epoch and experienced a decrease in the 26th to 28th epochs. Testing also used images from different incubators than those used from the dataset showed that the model could classify egg conditions well.

Downloads

Download data is not yet available.

References

[1] G. Irwan Ragut and I. Wayan Sujana, “Jurnal Mesin Material Manufaktur dan Energi Karateristik Perpindahan Panas pada Penetas Telur dengan Menggunakan Inkubator Kapasitas 30 Butir Telur,” 2026.

[2] M. Hidayat, “JIP (Jurnal Informatika Polinema) Sistem Inkubator Penetasan Telur Cerdas Berbasis Iot Menggunakan Flutter Mutiplatform,” 2026.

[3] M. Ghummah and M. Amrullah, “Implementasi Internet of Things (IoT) pada Sistem Penetasan Telur Otomatis untuk Meningkatkan Tingkat Keberhasilan Penetasan di Pamekasan,” Karapan Network Journal, vol. 02, no. 02, 2026, doi: 10.20473/KNJ.X.X.pp-pp.

[4] W. Bilyaro, D. Lestari, and dan Ayu Sri Endayani, “Identifikasi Kualitas Internal Telur Dan Faktor Penurunan Kualitas Selama Penyimpanan Identification Of The Internal Quality Of Eggs And Factors Of Decreasing Quality During Storage,” 2021.

[5] I. R. Juliarti, M. Latif, S. Wahyuni, A. I. Sudianto, Ach. Dafid, and H. Budiarto, “Deteksi Fertilitas Telur Ayam Menggunakan Metode YOLO untuk Sistem Sortir Otomatis,” Jurnal Informatika: Jurnal Pengembangan IT, vol. 11, no. 2, pp. 305–314, Apr. 2026, doi: 10.30591/jpit.v11i2.10166.

[6] F. Noviani, I. Salamah, and L. Lindawati, “Rancang Bangun Sistem Pemisah Telur Fertil Dan In-Fertil Otomatis Dengan Metode Convolutional Neural Network (CNN),” JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika), vol. 9, no. 3, pp. 1547–1555, Aug. 2024, doi: 10.29100/jipi.v9i3.6101.

[7] Rafly Hadi Pangestu, S. Ch, and Supriono, “Rancang Bangun Purwarupa Alat Penyortir Kualitas Telur Ayam Berbasis Arduino Uno,” Bulletin of Computer Science Research, vol. 5, no. 1, pp. 52–60, Dec. 2024, doi: 10.47065/bulletincsr.v5i1.428.

[8] N. F. Arini, A. Ubaidillah, K. A. Wibisono, and M. Ulum, “Identifikasi embrio dalam telur berbasis image processing,” Jurnal Teknik Elektro dan Komputasi (ELKOM), vol. 2, no. 1, pp. 11–19, Mar. 2020, doi: 10.32528/elkom.v2i1.3137.

[9] A. Diantoro and I. B. Santoso, “Eggs Fertilities Detection System on the Image of Kampung Chicken Egg Using Naive Bayes Classifier Algorithm,” MATICS, vol. 9, no. 2, p. 53, Dec. 2017, doi: 10.18860/mat.v9i2.4198.

[10] Vincent, H. H. S. Pasaribu, W. Audrey, Jefanya Alexander Meidi Bangun, and Deryck Ethan Hong, “Detection of Chicken Egg Quality with Digital Image using EfficientNet-B7,” Journal Of Informatics And Telecommunication Engineering, vol. 9, no. 1, pp. 176–188, Jul. 2025, doi: 10.31289/jite.v9i1.15233.

[11] B. Botta, S. S. R. Gattam, and A. K. Datta, “Eggshell crack detection using deep convolutional neural networks,” J. Food Eng., vol. 315, p. 110798, Feb. 2022, doi: 10.1016/J.JFOODENG.2021.110798.

[12] B. Guanjun, J. Mimi, X. Yi, C. Shibo, and Y. Qinghua, “Cracked egg recognition based on machine vision,” Comput. Electron. Agric., vol. 158, pp. 159–166, Mar. 2019, doi: 10.1016/J.COMPAG.2019.01.005.

[13] L. Mohammadpour, T. C. Ling, C. S. Liew, and A. Aryanfar, “A Survey of CNN-Based Network Intrusion Detection,” Aug. 01, 2022, MDPI. doi: 10.3390/app12168162.

[14] Khoironi and I. W. R. Pinastawa, “Classification of Hybrid and Peking Duck DOD Varieties Based on Feather Images Using CNN,” Teknika, vol. 14, no. 2, pp. 290–296, Jul. 2025, doi: 10.34148/teknika.v14i2.1270.

[15] K. A. Prasetia, Y. Sumaryana, and A. Sudiarjo, “Sistem Monitoring Temperatur Pada Inkubator Penetas Telur Bebek Menggunakan Modul Nodemcu 8266 Yang Terintegrasi Dengan Aplikasi BLYNK,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 12, no. 2, Apr. 2024, doi: 10.23960/jitet.v12i2.4146.

[16] K. Yao et al., “Non-destructive detection of egg qualities based on hyperspectral imaging,” J. Food Eng., vol. 325, Jul. 2022, doi: 10.1016/j.jfoodeng.2022.111024.

[17] S. Saifullah et al., “Nondestructive Chicken Egg Fertility Detection Using CNN-Transfer Learning Algorithms,” Jurnal Ilmiah Teknik Elektro Komputer dan Informatika, vol. 9, no. 3, pp. 854–871, Sep. 2023, doi: 10.26555/jiteki.v9i3.26722.

[18] E. Sehirli and K. Arslan, “An application for the classification of egg quality and haugh unit based on characteristic egg features using machine learning models,” Expert Syst. Appl., vol. 205, p. 117692, Nov. 2022, doi: 10.1016/J.ESWA.2022.117692.

[19] W. Zhang, L. Pan, S. Tu, G. Zhan, and K. Tu, “Non-destructive internal quality assessment of eggs using a synthesis of hyperspectral imaging and multivariate analysis,” J. Food Eng., vol. 157, pp. 41–48, Jul. 2015, doi: 10.1016/J.JFOODENG.2015.02.013.

[20] S. Saifullah et al., “Nondestructive Chicken Egg Fertility Detection Using CNN-Transfer Learning Algorithms,” Jurnal Ilmiah Teknik Elektro Komputer dan Informatika, vol. 9, no. 3, pp. 854–871, Sep. 2023, doi: 10.26555/jiteki.v9i3.26722.

[21] H. Babaei, M. Zamani, and S. Mohammadi, “The impact of data splitting methods on machine learning models: A case study for predicting concrete workability,” Machine Learning for Computational Science and Engineering, vol. 1, no. 1, p. 21, 2025, doi: 10.1007/s44379-025-00021-3.

[22] J. J. Salazar, L. Garland, J. Ochoa, and M. J. Pyrcz, “Fair train-test split in machine learning: Mitigating spatial autocorrelation for improved prediction accuracy,” J. Pet. Sci. Eng., vol. 209, p. 109885, Feb. 2022, doi: 10.1016/J.PETROL.2021.109885.

[23] D. A. Varughese and S. Sridevi, “Optimization Strategies and Algorithms for Accelerating CNN on FPGA: A Comprehensive Review,” Archives of Computational Methods in Engineering, vol. 33, no. 1, pp. 1205–1226, 2026, doi: 10.1007/s11831-025-10348-y.

[24] Q. T. Lam, M. H. N. Le, F. Y. Fan, N. Q. K. Le, and I. T. Lee, “Deep Learning-Based Dental Caries Diagnosis: A Modality-Stratified Systematic Review and Meta-Analysis of Faster R-CNN and Mask R-CNN,” Mar. 01, 2026, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/diagnostics16050731.

[25] H. Yagnik, R. K. Gupta, and A. Pandya, “Deep Learning for Air Pollution Prediction: A Systematic Review of CNN, LSTM, GNN, and Transformer Architectures,” Archives of Computational Methods in Engineering, 2026, doi: 10.1007/s11831-026-10639-y.

[26] A. P. Sheppert, “Techniques for mitigating overfitting in machine learning: a comprehensive review, taxonomy, and practical guide,” 2026, Frontiers Media SA. doi: 10.3389/frai.2026.1794271.

[27] R. Diallo, C. Edalo, and O. O. Awe, “Machine Learning Evaluation of Imbalanced Health Data: A Comparative Analysis of Balanced Accuracy, MCC, and F1 Score,” in Practical Statistical Learning and Data Science Methods: Case Studies from LISA 2020 Global Network, USA, O. O. Awe and E. A. Vance, Eds., Cham: Springer Nature Switzerland, 2025, pp. 283–312. doi: 10.1007/978-3-031-72215-8_12.

[28] K. Takahashi, K. Yamamoto, A. Kuchiba, and T. Koyama, “Confidence interval for micro-averaged F1 and macro-averaged F1 scores,” Applied Intelligence, vol. 52, no. 5, pp. 4961–4972, 2022, doi: 10.1007/s10489-021-02635-5.

[29] K. Khoironi, J. Prasetyo, and A. W. Hujairi, “Penerapan Metode Dempster Shafer Pada Sistem Pakar Prediksi Jenis Kelamin,” Jurnal Teknik Elektro dan Komputasi (ELKOM), vol. 6, no. 1, pp. 77–85, May 2024, doi: 10.32528/elkom.v6i1.22404.

[30] M. Pan et al., “A Hybrid CNN-Transformer Model for Soil Texture Estimation from Microscopic Images,” Agronomy, vol. 16, no. 3, Feb. 2026, doi: 10.3390/agronomy16030333.

[31] S. Matharaarachchi, M. Turgeon, M. Domaratzki, and S. Muthukumarana, “Sequential Bayesian estimation of the F1 score using the Dirichlet-multinomial model,” Int. J. Data Sci. Anal., vol. 21, no. 1, p. 44, 2025, doi: 10.1007/s41060-025-00885-x.

[32] S. Rajvanshi, G. Kaur, A. Dhatwalia, Arunima, A. Singla, and A. Bhasin, “Research on Problems and Solutions of Overfitting in Machine Learning,” in Advances in Artificial-Business Analytics and Quantum Machine Learning, K. C. Santosh, S. K. Sood, H. M. Pandey, and C. Virmani, Eds., Singapore: Springer Nature Singapore, 2024, pp. 637–651.

[33] J. Opitz, “From Bias and Prevalence to Macro F1, Kappa, and MCC: A structured overview of metrics for multi-class evaluation,” 2022.

[34] N. Risse, “Detecting Overfitting of Machine Learning Techniques for Automatic Vulnerability Detection,” in ESEC/FSE 2023 - Proceedings of the 31st ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Association for Computing Machinery, Inc, Nov. 2023, pp. 2189–2191. doi: 10.1145/3611643.3617845.

[35] C. Aliferis and G. Simon, “Overfitting, Underfitting and General Model Overconfidence and Under-Performance Pitfalls and Best Practices in Machine Learning and AI,” in Artificial Intelligence and Machine Learning in Health Care and Medical Sciences: Best Practices and Pitfalls, G. J. Simon and C. Aliferis, Eds., Cham: Springer International Publishing, 2024, pp. 477–524. doi: 10.1007/978-3-031-39355-6_10.

Downloads

Published

2026-08-07

How to Cite

[1]
K. Khoironi, “Convolutional Neural Network-Based Approach For In-Ovo Embryo Classification”, JAIC, vol. 10, no. 4, pp. 3148–3155, Aug. 2026.

Similar Articles

1 2 3 4 5 > >> 

You may also start an advanced similarity search for this article.