Facial recognition of nelore cattle through computer vision
Keywords:
Machine Learning, Artificial Intelligence, Nelore, Precision Livestock Farming, Facial RecognitionAbstract
This article aims to develop a model for recognizing Nelore cattle based on images of their faces. The experiment employs a methodology involving the creation of a database of images containing 2,210 images of 47 Nelore cattle, along with identification annotations for each animal and facial segmentation information using the YoloV8 network. For recognition, the article utilizes feature extraction through embeddings with the Inception network. Finally, an analysis of the following machine learning algorithms is conducted: K Nearest Neighbors (KNN), Support Vector Machine (SVM), and Decision Tree (TREE), with precision values of 0.952, 0.987, and 0.635, respectively. This research is significant in the field of animal science as it proposes an innovative approach to Nelore cattle recognition using computer vision and machine learning technologies, contributing to more efficient and accurate monitoring and management of these animals.
References
Bakhshayeshi, I., Erfani, E., Taghikhah, F. R., Elbourn, S., Beheshti,
A., Asadnia, M., 2023. An intelligence cattle re-identification system
over transport by siamese neural networks and yolo. IEEE Internet of
Things Journal.
Bambil, D., Pistori, H., Bao, F., Weber, V., Alves, F. M., Gon¸calves,
E. G., de Alencar Figueiredo, L. F., Abreu, U. G., Arruda, R., Bor-
tolotto, I. M., 2020. Plant species identification using color learning re-
sources, shape, texture, through machine learning and artificial neural
networks. Environment Systems and Decisions 40 (4), 480–484.
Bateni, P., Goyal, R., Masrani, V., Wood, F., Sigal, L., 2020. Improved
few-shot visual classification. In: Proceedings of the IEEE/CVF Con-
ference on Computer Vision and Pattern Recognition. pp. 14493–14502.
Buller, H., Blokhuis, H., Jensen, P., Keeling, L., 2018. Towards farm
animal welfare and sustainability. Animals 8 (6), 81.
da Pecu´aria Municipal, P. P., 2021. Pesquisa
da pecu´aria municipal 2021. [Online]. Available:
https://biblioteca.ibge.gov.br/visualizacao/periodicos/84/.
das Ind´ustrias Exportadoras de Carne, A. A. B., 2019.
Sum´ario. [Online]. Available: https://abiec.com.br/wp-
content/uploads/sumario2019portugues.pdf.
das Ind´ustrias Exportadoras de Carne, A. A. B.,
2023. Beef report – chapter 3. [Online]. Available:
https://www.abiec.com.br/publicacoes/beef-report-2023-capitulo-03/.
das Ind´ustrias Exportadoras de Carne, A. A. B.,
2023. Beef report – chapter 6. [Online]. Available:
https://www.abiec.com.br/publicacoes/beef-report-2023-capitulo-
06-sustentabilidade/.
Demˇsar, J., Curk, T., Erjavec, A., ˇCrt Gorup, Hoˇcevar, T., Milutinoviˇc,
M., Moˇzina, M., Polajnar, M., Toplak, M., Stariˇc, A., ˇStajdohar, M.,
Umek, L., ˇZagar, L., ˇZbontar, J., ˇZitnik, M., Zupan, B., 2013. Orange:
Data mining toolbox in python. Journal of Machine Learning Research
14, 2349–2353.
URL http://jmlr.org/papers/v14/demsar13a.html
Gjergji, M., de Moraes Weber, V., Silva, L. O. C., da Costa Gomes, R.,
De Ara´ujo, T. L. A. C., Pistori, H., Alvarez, M., 2020. Deep learning
techniques for beef cattle body weight prediction. In: 2020 International
Joint Conference on Neural Networks (IJCNN). IEEE, pp. 1–8.
Gong, H., Pan, H., Chen, L., Hu, T., Li, S., Sun, Y., Mu, Y., Guo, Y.,
et al., 2022. Facial recognition of cattle based on sk-resnet. Scientific
Programming 2022.
Goodfellow, I., Bengio, Y., Courville, A., 2016. Deep learning. MIT
press.
Li, Z., Lei, X., Liu, S., 2022. A lightweight deep learning model for cattle
face recognition. Computers and Electronics in Agriculture 195, 106848.
Santos, C. A. S. d., 2017. Reconhecimento de imagens de marcas de
gado utilizando redes neurais convolucionais e m´aquinas de vetores de
suporte.
United States Department of Agriculture, September 01 2023. Livestock
and products annual. Required Report: Required - Public Distribution.
Weber, F. d. L., 2020. Sistema para reconhecimento de bovinos da ra¸ca
pantaneira baseado em rede neural convolucional. Thesis, Universidade
Estadual de Mato Grosso do Sul, Aquidauana, master’s in Animal Sci-
ence.
Weber, V. A. d. M., Weber, F. d. L., Gomes, R. d. C., Oliveira Junior,
A. d. S., Menezes, G. V., Abreu, U. G. P. d., Belete, N. A. d. S., Pis-
tori, H., 2020. Prediction of girolando cattle weight by means of body
measurements extracted from images. Revista Brasileira de Zootecnia
49, e20190110.
Weber, V. A. M., de Lima Weber, F., da Silva Oliveira, A., Astolfi, G.,
Menezes, G. V., de Andrade Porto, J. V., Rezende, F. P. C., de Moraes,
P. H., Matsubara, E. T., Mateus, R. G., et al., 2020. Cattle weight
estimation using active contour models and regression trees bagging.
Computers and electronics in agriculture 179, 105804.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 JOÃO VITOR DE ANDRADE PORTO

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who publish in the Annals of Data Analysis retain
the copyright of their work and agree to license it under a Creative Commons Attribution-
NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) license.