Logo PTI Logo FedCSIS

Proceedings of the 17th Conference on Computer Science and Intelligence Systems

Annals of Computer Science and Information Systems, Volume 30

Canine age classification using Deep Learning as a step towards preventive medicine in animals

, , , , , , , , , , , , ,

DOI: http://dx.doi.org/10.15439/2022F226

Citation: Proceedings of the 17th Conference on Computer Science and Intelligence Systems, M. Ganzha, L. Maciaszek, M. Paprzycki, D. Ślęzak (eds). ACSIS, Vol. 30, pages 169172 ()

Full text

Abstract. The main goal of this work was to implement a reliable machine learning algorithm that can classify the age of a dog, given only a photograph of its face. The problem, which seems simple for humans, presents itself as very difficult for the machine learning algorithms due to differences of facial features among the dogs population. As convolutional neural networks (CNNs) performed poorly in this problem, authors took other approach of creating novel architecture consisting of combination of CNN and vision transformer (ViT) and examining the age of the dogs separately for every breed. Authors were able to achieve better results than those in initial works covering the problem.


  1. Abood S. Estimating Age in Dogs and Cats Using Ocular Lens Examination. Compendium on Continuing Education for the Practising Veterinarian - North American Edition. (2000).
  2. Roccaro, M. & Peli, A. A determination in dog puppies by teeth examination: legal, health and welfare implications, review of the literature and practical considerations. Veterinaria Italiana 56. pp. 149-162 (2020). http://dx.doi.org/10.12834/VetIt.1876.9968.2
  3. Sutton, L., Byrd, J. & Brooks, J. Age Determination in Dogs and Cats. Veterinary Forensic Pathology, Volume 2. pp.151-163 (2018). https://doi.org/10.1007/978-3-319-67175-8
  4. Petfinder.com, a website for pet adoption. https://www.petfinder.com/, date accessed 30.06.2021
  5. Tech4Animals, DogAge Challenge,, date accessed: 30.06.2021
  6. Redmon, J., Divvala, S., Girshick, R. & Farhadi, A. You Only Look Once: Unified, Real-Time Object Detection. 2016 IEEE Conference on Computer Vision and Pattern Recognition. (2016). DOI :10.1109/CVPR.2016.91
  7. Tan, M. & Le, Q.V. EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. Proceedings of the 36th International Conference on Machine Learning, ICML 2019. pp. 6105-6114 (2019).
  8. Loshchilov I. & Hutter F. Decoupled Weight Decay Regularization. International Conference on Learning Representations 2017. (2017).
  9. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J. & Houlsby, N. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. (2020). https://doi.org/10.48550/arXiv.2010.11929
  10. Zamansky, A., Sinitca, A., Kaplun, D., Dutra, L. & Young, R., Automatic Estimation of Dog Age: The DogAge Dataset and Challenge. Artificial Neural Networks And Machine Learning – ICANN 2019: Image Processing. pp. 421-426 (2019). http://dx.doi.org/10.1007/978-3-030-30508-6
  11. Caputa, J., Łukasik, D., Wielgosz, M., Karwatowski, M., Frączek, R., Russek, P. & Wiatr, K. Fast Pre-Diagnosis of Neoplastic Changes in Cytology Images Using Machine Learning. Applied Sciences. 11 (2021). https://doi.org/10.3390/app11167181