AN INTELLIGENT SYSTEM FOR DOG BREED RECOGNITION USING CONVOLUTIONAL NEURAL NETWORKS

Main Article Content

Nataliya KRASNOSHLYK
Anna BYLYMENKO

Abstract

Introduction. Convolutional neural networks (CNNs) have established themselves
as a powerful tool for image analysis. Inspired by biological visual processing, they automatically
detect complex patterns in data by sequentially extracting increasingly abstract features. The growing
demand for AI-powered interactive applications makes automated image recognition systems
particularly relevant across a wide range of domains, including veterinary practice, animal shelters,
and mobile applications.
The Purpose of the article is to theoretically justify and practically demonstrate the use of
convolutional neural networks for dog breed identification, and to describe the full development cycle
of a CNN-based web application – from dataset preparation to deployment.
Results. The article presents a review of image classification methods based on deep learning,
with a focus on the architecture and training principles of CNNs. The roles of convolutional layers,
pooling layers, the ReLU activation function, and the backpropagation algorithm are discussed. Three
Python libraries central to the project are reviewed: Pandas for data preprocessing, TensorFlow for
building and training the neural network model, and Streamlit for rapid development and deployment
of the web interface.
The practical implementation covers all stages of system development. A dataset of 1,888
images across 21 dog breeds was collected using the bing-image-downloader library and manually
filtered. The images were split into training (90%) and validation (10%) sets. The CNN architecture
follows a sequential structure consisting of four convolutional-pooling blocks with 16, 32, 64, and 128
filters respectively, followed by two fully connected layers (1,024 and 256 neurons) with Dropout
regularization (p = 0.2), and a Softmax output layer with 21 neurons. The model was trained for 30
epochs and achieved a classification accuracy of 93.64% on the test set. Practical testing confirmed
high accuracy for breeds present in the training data (e.g., Husky – 94.08%, Jack Russell Terrier –
99.98%) and predictable probabilistic distribution for breeds outside the dataset.
The web application was deployed via Streamlit Cloud integrated with a GitHub repository,
providing a user-friendly interface for uploading images and displaying the top five predicted breeds
with corresponding probabilities.
Conclusion. Convolutional neural networks are an effective tool for dog breed classification
tasks. The combination of TensorFlow for model development and Streamlit for interface deployment
provides an efficient and accessible pipeline for building machine learning–based web applications.
The proposed approach can be readily extended to other image recognition tasks and illustrates the
practical potential of deep learning in real-world automated recognition systems.

Article Details

How to Cite
KRASNOSHLYK, N., & BYLYMENKO , A. (2023). AN INTELLIGENT SYSTEM FOR DOG BREED RECOGNITION USING CONVOLUTIONAL NEURAL NETWORKS. Cherkasy University Bulletin: Applied Mathematics. Informatics, (1). https://doi.org/10.31651/2076-5886-2023-1-61-68
Section
Інформатика
Author Biographies

Nataliya KRASNOSHLYK, Bohdan Khmelnytsky National University of Cherkasy

Candidate of Technical Sciences, Associate Professor, Department of Applied Mathematics and
Informatics, The Bohdan Khmelnytsky National University of Cherkasy, Ukraine

Anna BYLYMENKO , Bohdan Khmelnytsky National University of Cherkasy

Student, Department of Informatics and Applied Mathematics, The Bohdan Khmelnytsky National University of Cherkasy, Ukraine

References

Convolutional neural network. Wikipedia. URL:

https://en.wikipedia.org/wiki/Convolutional_neural_network (accessed: 01.10.2023).

Patterson J., Gibson A. Deep Learning: A Practitioner's Approach. Sebastopol: O'Reilly Media, 2017. 520 p.

Streamlit Documentation. URL: https://docs.streamlit.io/ (accessed: 01.10.2023).

LeCun Y., Bottou L., Bengio Y., Haffner P. Gradient-based learning applied to document recognition.

Proceedings of the IEEE. 1998. Vol. 86, No. 11. P. 2278–2324. DOI: 10.1109/5.726791.

Krizhevsky A., Sutskever I., Hinton G. E. ImageNet Classification with Deep Convolutional Neural

Networks. Advances in Neural Information Processing Systems. 2012. Vol. 25. P. 1097-1105.

Simonyan K., Zisserman A. Very Deep Convolutional Networks for Large-Scale Image Recognition. arXiv

preprint arXiv:1409.1556. 2014. URL: https://arxiv.org/abs/1409.1556.

Khosla A., Jayadevaprakash N., Yao B., Fei-Fei L. Novel Dataset for Fine-Grained Image Categorization.

Proceedings of the 1st Workshop on Fine-Grained Visual Categorization (FGVC), CVPR. Colorado

Springs, 2011.

Parkhi O. M., Vedaldi A., Zisserman A., Jawahar C. V. Cats and Dogs. Proceedings of the IEEE Conference

on Computer Vision and Pattern Recognition (CVPR). Providence, 2012. P. 3498–3505. DOI:

1109/CVPR.2012.6248092.