Deep Learning Based Egg Fertility Detection

Creative Commons License

Çevik K. K., Kocer H. E., Boga M.

VETERINARY SCIENCES, vol.9, no.10, pp.574, 2022 (SCI-Expanded) identifier

  • Publication Type: Article / Article
  • Volume: 9 Issue: 10
  • Publication Date: 2022
  • Doi Number: 10.3390/vetsci9100574
  • Journal Indexes: Science Citation Index Expanded (SCI-EXPANDED), Scopus, CAB Abstracts, EMBASE, Veterinary Science Database, Directory of Open Access Journals
  • Page Numbers: pp.574
  • Akdeniz University Affiliated: Yes


This study investigates the implementation of deep learning (DL) approaches to the fertile egg-recognition problem, based on incubator images. In this study, we aimed to classify chicken eggs according to both segmentation and fertility status with a Mask R-CNN-based approach. In this manner, images can be handled by a single DL model to successfully perform detection, classification and segmentation of fertile and infertile eggs. Two different test processes were used in this study. In the first test application, a data set containing five fertile eggs was used. In the second, testing was carried out on the data set containing 18 fertile eggs. For evaluating this study, we used AP, one of the most important metrics for evaluating object detection and segmentation models in computer vision. When the results obtained were examined, the optimum threshold value (IoU) value was determined as 0.7. According to the IoU of 0.7, it was observed that all fertile eggs in the incubator were determined correctly on the third day of both test periods. Considering the methods used and the ease of the designed system, it can be said that a very successful system has been designed according to the studies in the literature. In order to increase the segmentation performance, it is necessary to carry out an experimental study to improve the camera and lighting setup prepared for taking the images.