Using Machine Vision to Realize Semi-Automatic Sex Recog-nition of Chicks
DOI:
https://doi.org/10.5433/1679-0359.2025v46n1p131Keywords:
Machine vision, Chick, Sex recognition, Cloaca.Abstract
Conventional image-based techniques for discerning the sex of chicks have inherent drawbacks, such as the subjectivity involved in image selection and limited applicability to industrial contexts. In order to tackle these challenges, we employ videos in this study as an alternative to images, and present a more pragmatic approach that is suited to industrial applications. By leveraging an optimized PicoDet model, this methodology identifies telltale reflective attributes within the cloacae region of chicks. This approach also suggests that the sex of the chicks can be determined by calculating the proportion of male chick identifications in the video relative to the total number of images. Experimental findings demonstrate the superior performance of the proposed approach over the YOLO algorithm in terms of both cloacae and chick sex recognition. Optimal recognition efficiency is achieved when the aforementioned proportion falls within the range 60-70%. The accuracy rates for identifying female and male chicks were recorded as 90.34%, 91.33%, and 90.83%, respectively. The scheme developed in this study also achieves a reduction of 5.01% in model parameters, while the running time is shortened to less than 1 s, while maintaining comparable recognition efficiency to that of the PicoDet model. In summary, the method proposed in this paper exhibits enhanced proficiency in regard to recognizing both chick cloacae and their respective sexes. It successfully overcomes the limitations encountered by traditional image-based methodologies, and minimizes model space requirements. Furthermore, by harnessing the power of video, this approach has increased recognition accuracy and operational efficiency, ultimately improving the practicality and dissemination potential of this cutting-edge technology.
Downloads
References
Alin, K., Fujitani, S., Kashimori, A., Suzuki, T., Ogawa, Y., & Kondo, N. (2019). Non-invasive broiler chick embryo sexing based on opacity value of incubated eggs. Computers Electronics in Agriculture, 158(1), 30-35. doi: 10.1016/j.compag.2019.01.029
Biederman, I., & Shiffrar, M. (1987). Sexing day-old chicks: A case study and expert systems analysis of a difficult perceptual-learning task. Journal of Experimental Psychology, 13(4), 640-645. doi: 10.1037/0278-7393.13.4.640
Buitenhuis, A. J., Rodenburg, T. B., Siwek, M., Cornelissen, S. J., Nieuwland, M. G., Crooijmans, R. P., Groenen, M. A., Koene, P., & Bovenhuis, H. (2003). Identification of quantitative trait loci for receiving pecks in young and adult laying hens. Poultry Science, 82(11), 1661-1667. doi: 10.1093/ps/82.11.1661
Clinton, M., Haines, L., Belloir, B., & McBride, D. (2001). Sexing chick embryos: a rapid and simple protocol. British Poultry Science, 42(1), 134-138. doi: 10.1080/713655025
Corion, M., Keresztes, J., Ketelaere, B., & Saeys, W. (2022). In ovo sexing of eggs from brown breeds with a gender-specific color using visible-near-infrared spectroscopy: effect of incubation day and measurement configuration. Poultry Science, 101(5), 101782. doi: 10.1016/j.psj.2022.101782
Escamilla-García, A., Soto-Zarazúa, G. M., Toledano-Ayala, M., & Gastélum-Barrios, A. (2022). A new application of morphometric variables and image processing to determine day-old chicken sex. Journal of Applied Research Technology, 20(5), 564-569. doi: 10.22201/icat.24486736e.2022.20.5.1390
Fu, L., Feng, Y., Wu, J., Liu, Z., Gao, F., Majeed, Y., Al-Mallahi, A., Zhang, Q., Li, R., & Cui, Y. (2021). Fast and accurate detection of kiwifruit in orchard using improved YOLOv3-tiny model. Precision Agriculture, 22(3), 754-776. doi: 10.1007/s11119-020-09754-y
Galli, R., Preusse, G., Uckermann, O., Bartels, T., Krautwald-Junghanns, M. E., Koch, E., & Steiner, G. (2016). In ovo sexing of domestic chicken eggs by Raman spectroscopy. Analytical Chemistry, 88(17), 8657-8663. doi: 10.1021/acs.analchem.6b01868
Göhler, D., Fischer, B., & Meissner, S. (2017). In-ovo sexing of 14-day-old chicken embryos by pattern analysis in hyperspectral images (VIS/NIR spectra): a non-destructive method for layer lines with gender-specific down feather color. Poultry Science, 96(1), 1-4. doi: 10.3382/ps/pew282
Harrisson, F., & Vakaet, L. (1989). The chicken blastoderm: in vitro methods of investigation of developmental processes. Biological Structures Morphogenesis, 2(1), 1-6.
Hu, J., Shen, L., & Sun, G. (2018). Squeeze-and-excitation networks. Proceedings of the Institute of Electrical and Electronics Engineers Computer Vision Foundation, Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, Utah, United States.
Jiang, Z., Zhao, L., Li, S., & Jia, Y. (2020). Real-time object detection method based on improved YOLOv4-tiny. arXiv, 1-11. doi: 10.48550/arXiv.2011.04244
Kaixuan, C., Zeying, L., Tiemin, Z., & Hao, Q. (2022). Gender determination of domestic chicks based on vocalization signals. Computers Electronics in Agriculture, 199(1). doi: 10.1016/j.compag.2022.107172
Liu, S., Qi, L., Qin, H., Shi, J., & Jia, J. (2018). Path aggregation network for instance segmentation. Proceedings of the Institute of Electrical and Electronics Engineers Conference on Computer Vision and Pattern Recognition, Salt Lake City, Utah, United States.
Preusse, G., Porstmann, V., Bartels, T., Schnabel, C., Galli, R., Koch, E., Oelschlägel, M., Uckermann, O., & Steiner, G. (2022). Highly sensitive and quick in ovo sexing of domestic chicken eggs by two-wavelength fluorescence spectroscopy. Analytical and Bioanalytical Chemistry, 415(4), 603-613. doi: 10.1007/s00216-022-04446-0
Rahman, A., Syduzzaman, M., Khaliduzzaman, A., Fujitani, S., Kashimori, A., Suzuki, T., Ogawa, Y., & Kondoa, N. (2021). Non-destructive sex-specific monitoring of early embryonic growth rate in light brown broiler eggs using light transmission and its correlation with hatching time and chick weight. British Poultry Science, 62(1), 147-155. doi: 10.1080/00071668.2020.
Robertson, J., Harkin, C., & Govan, J. (1984). The identification of bird feathers. Scheme for feather examination. Journal of the Forensic Science Society, 24(2), 85-98. doi: 10.1016/S0015-7368(84)72301-2
Salgado, P. J., Navas, F. J., González, A. A., Arando, A. A., Leon, J. J., Delgado, B. J., & Camacho, V. M. (2022). Traditional sexing methods and external egg characteristics combination allow highly accurate early sex determination in an endangered native turkey breed. Frontiers in Veterinary Science, 9(1), 948502. doi: 10.3389/fvets.2022.948502
Webster, B., Hayes, W., & Pike, T. W. (2015). Avian egg odour encodes information on embryo sex, fertility and development, PloS One, 10(1), e0116345. doi: 10.1371/journal.pone.0116345
Weissmann, A., Förster, A., Gottschalk, J., Reitemeier, S., & Einspanier, A. (2014). In ovo-gender identification in laying hen hybrids: Effects on hatching and production performance. Archiv fur Geflugelkunde, 78(1), 1-12. doi: 10.1399/eps.2014.25
Weissmann, A., Reitemeier, S., Hahn, A., Gottschalk, J., & Einspanier, A. (2013). Sexing domestic chicken before hatch: a new method for in ovo gender identification. Theriogenology, 80(3), 199-205. doi: 10.1016/j.theriogenology.2013.04.014
Xiang, X. L., Hu, G., Jin, Y. G., Jin, G. F., & Ma, M. H. (2021). Nondestructive characterization gender of chicken eggs by odor using SPME/GC-MS coupled with chemometrics. Poultry Science, 101(3), 101619. doi: 10.1016/j.psj.2021.101619
Yilmaz, D. B., & Dikmen, S. (2013). A morphometric method of sexing white layer eggs. Brazilian Journal of Poultry Science, 15(3), 203-210. doi: 10.1590/S1516-635X2013000300006
Yu, G., Chang, Q., Lv, W., Xu, C., Cui, C., Ji, W., Dang, Q., Deng, K., Wang, G., Du, Y., Lai, B., Liu, Q., Hu, X., Yu, D., & Ma, Y. (2021). PP-PicoDet: a better real-time object detector on mobile devices. arXiv, 1-9. doi: 10.48550/arXiv.2111.00902
Zhang, P., & Li, D. (2022). EPSA-YOLO-V5s: a novel method for detecting the survival rate of rapeseed in a plant factory based on multiple guarantee mechanisms. Computers Electronics in Agriculture, 193(1), 106714. doi: 10.1016/j.compag.2022.106714
Zhi, Z., Yong, T., Qi, H., Piao, H., Qiao, W., & Mei, M. (2018). Female and male identification of early chicken embryo based on blood line features of hatching egg image and deep belief networks. Transactions of the Chinese Society of Agricultural Engineering, 34(6), 197-203. doi: 10.5555/20183188013
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2024 Keqiang Li, Yuqing Wang, Jiannan Yu, Xianglong Li

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Semina: Ciências Agrárias adopts the CC-BY-NC license for its publications, the copyright being held by the author, in cases of republication we recommend that authors indicate first publication in this journal.
This license allows you to copy and redistribute the material in any medium or format, remix, transform and develop the material, as long as it is not for commercial purposes. And due credit must be given to the creator.
The opinions expressed by the authors of the articles are their sole responsibility.
The magazine reserves the right to make normative, orthographic and grammatical changes to the originals in order to maintain the cultured standard of the language and the credibility of the vehicle. However, it will respect the writing style of the authors. Changes, corrections or suggestions of a conceptual nature will be sent to the authors when necessary.











