Research Article

Deep Learning based Individual Cattle Face Recognition using Data Augmentation and Transfer Learning

Volume: 31 Number: 1 January 14, 2025
EN

Deep Learning based Individual Cattle Face Recognition using Data Augmentation and Transfer Learning

Abstract

Accurate identification of cattle is essential for monitoring ownership, controlling production supply, preventing disease, and ensuring animal welfare. Despite the widespread use of ear tag-based techniques in livestock farm management, large-scale farms encounter challenges in identifying individual cattle. The process of identifying individual animals can be hindered by ear tags that fall off, and the ability to identify them over a long period of time becomes impossible when tags are missing. A dataset was generated by capturing images of cattle in their native environment to tackle this issue. The dataset was divided into three segments: training, validation, and testing. The dataset consisted of 15 000 records, each pertaining to a distinct bovine specimen from a total of 30 different cattle. To identify specific cattle faces in this study, deep learning algorithms such as InceptionResNetV2, MobileNetV2, DenseNet201, Xception, and NasNetLarge were utilized. The DenseNet201 algorithm attained a peak test accuracy of 99.53% and a validation accuracy of 99.83%. Additionally, this study introduces a novel approach that integrates advanced image processing techniques with deep learning, providing a robust framework that can potentially be applied to other domains of animal identification, thus enhancing overall farm management and biosecurity.

Keywords

References

  1. Allen A, Golden B, Taylor M, Patterson D, Henriksen D & Skuce R (2008). Evaluation of retinal imaging technology for the biometric identification of bovine animals in Northern Ireland. Livestock science 116(1-3): 42-52. DOI: https://doi.org/10.1016/j.livsci.2007.08.018
  2. Andrew W, Greatwood C & Burghardt T (2017). Visual localisation and individual identification of holstein friesian cattle via deep learning. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2017, pp. 2850-2859. Available from https://openaccess.thecvf.com/content_ICCV_2017_workshops/w41/html/Andrew_Visual_Localisation_and_ICCV_2017_paper.html
  3. Awad A I (2016). From classical methods to animal biometrics: A review on cattle identification and tracking. Computers and Electronics in Agriculture, 123(2016): 423-435, https://doi.org/10.1016/j.compag.2016.03.014
  4. Bhatia Y, Bajpayee A, Raghuvanshi D & Mittal H (2019). Image captioning using Google’s inception-resnet-v2 and recurrent neural network. In 2019 Twelfth International Conference on Contemporary Computing (IC3), IEEE Publish-ing, pp. 1-6. DOI: https://doi.org/10.1109/IC3.2019.8844921
  5. Cai C & Li J (2013). Cattle face recognition using local binary pattern descriptor. In 2013 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference, IEEE Publishing pp. 1-4. DOI: https://doi.org/10.1109/APSIPA.2013.6694369
  6. Caron M, Touvron H, Misra I, Jégou H, Mairal J, Bojanowski P & Joulin A (2021). Emerging properties in self-supervised vision transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 9650-9660. DOI: https://doi.org/10.48550/arXiv.2104.14294
  7. Chen X, Yang T, Mai K, Liu C, Xiong J, Kuan Y & Gao Y (2022). Holstein Cattle Face Re-Identification Unifying Glob-al and Part Feature Deep Network with Attention Mechanism. Animals, 12(8), DOI: https://doi.org/10.3390/ani12081047 DeVries T & Taylor G W (2017). Improved regularization of convolutional neural networks with cutout. arXiv preprint arXiv:1708.04552. DOI: https://doi.org/10.48550/arXiv.1708.04552
  8. Doersch C, Gupta A & Efros A A (2015). Unsupervised visual representation learning by context prediction. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2015, pp. 1422-1430. Available from https://www.cv-foundation.org/openaccess/content_iccv_2015/html/Doersch_Unsupervised_Visual_Representation_ICCV_2015_paper.html Džermeikaitė K, Bačėninaitė D & Antanaitis R (2023). Innovations in Cattle Farming: Application of Innovative Technologies and Sensors in the Diagnosis of Diseases. Animals, 13(5): 780

Details

Primary Language

English

Subjects

Precision Agriculture Technologies, Animal Welfare

Journal Section

Research Article

Publication Date

January 14, 2025

Submission Date

July 3, 2024

Acceptance Date

August 23, 2024

Published in Issue

Year 2025 Volume: 31 Number: 1

APA
Polat, H. E., Gerdan Koc, D., Ertuğrul, Ö., Koç, C., & Ekinci, K. (2025). Deep Learning based Individual Cattle Face Recognition using Data Augmentation and Transfer Learning. Journal of Agricultural Sciences, 31(1), 137-150. https://doi.org/10.15832/ankutbd.1509798
AMA
1.Polat HE, Gerdan Koc D, Ertuğrul Ö, Koç C, Ekinci K. Deep Learning based Individual Cattle Face Recognition using Data Augmentation and Transfer Learning. J Agr Sci-Tarim Bili. 2025;31(1):137-150. doi:10.15832/ankutbd.1509798
Chicago
Polat, Havva Eylem, Dilara Gerdan Koc, Ömer Ertuğrul, Caner Koç, and Kamil Ekinci. 2025. “Deep Learning Based Individual Cattle Face Recognition Using Data Augmentation and Transfer Learning”. Journal of Agricultural Sciences 31 (1): 137-50. https://doi.org/10.15832/ankutbd.1509798.
EndNote
Polat HE, Gerdan Koc D, Ertuğrul Ö, Koç C, Ekinci K (January 1, 2025) Deep Learning based Individual Cattle Face Recognition using Data Augmentation and Transfer Learning. Journal of Agricultural Sciences 31 1 137–150.
IEEE
[1]H. E. Polat, D. Gerdan Koc, Ö. Ertuğrul, C. Koç, and K. Ekinci, “Deep Learning based Individual Cattle Face Recognition using Data Augmentation and Transfer Learning”, J Agr Sci-Tarim Bili, vol. 31, no. 1, pp. 137–150, Jan. 2025, doi: 10.15832/ankutbd.1509798.
ISNAD
Polat, Havva Eylem - Gerdan Koc, Dilara - Ertuğrul, Ömer - Koç, Caner - Ekinci, Kamil. “Deep Learning Based Individual Cattle Face Recognition Using Data Augmentation and Transfer Learning”. Journal of Agricultural Sciences 31/1 (January 1, 2025): 137-150. https://doi.org/10.15832/ankutbd.1509798.
JAMA
1.Polat HE, Gerdan Koc D, Ertuğrul Ö, Koç C, Ekinci K. Deep Learning based Individual Cattle Face Recognition using Data Augmentation and Transfer Learning. J Agr Sci-Tarim Bili. 2025;31:137–150.
MLA
Polat, Havva Eylem, et al. “Deep Learning Based Individual Cattle Face Recognition Using Data Augmentation and Transfer Learning”. Journal of Agricultural Sciences, vol. 31, no. 1, Jan. 2025, pp. 137-50, doi:10.15832/ankutbd.1509798.
Vancouver
1.Havva Eylem Polat, Dilara Gerdan Koc, Ömer Ertuğrul, Caner Koç, Kamil Ekinci. Deep Learning based Individual Cattle Face Recognition using Data Augmentation and Transfer Learning. J Agr Sci-Tarim Bili. 2025 Jan. 1;31(1):137-50. doi:10.15832/ankutbd.1509798

Cited By

Journal of Agricultural Sciences is published as open access journal. All articles are published under the terms of the Creative Commons Attribution License (CC BY).