Development Of Detection Model For Skin Diseases In Pets Using Image Processing And Deep Learning Techniques
DOI:
https://doi.org/10.62146/ijecbe.v3i2.114Keywords:
Deep Learning, Pets, Image Processing, CNNAbstract
Early detection of skin diseases in pets is essential but often hindered by the cost and complexity of clinical diagnosis. This study introduces a deep learning–based system for identifying three common pet skin diseases—Ringworm, Scabies, and Earmite—using images captured with mobile phone cameras. The system integrates classical image preprocessing techniques, including Contrast Limited Adaptive Histogram Equalization (CLAHE) and Hue-Saturation-Value (HSV) segmentation, with a custom convolutional neural network (CNN) designed for disease-specific classification tasks.
Two separate models were developed: a multi-class CNN model for classifying Ringworm, Scabies, and Undetected conditions, which achieved a test accuracy of 83%, and a binary CNN model for classifying Earmite versus Undetected, which achieved 100% accuracy, precision, and recall on both test and unseen validation sets. Compared to transfer learning models such as ResNet-50 and VGG16, the proposed CNN models demonstrated superior performance under limited-data conditions (72 images total), emphasizing the advantage of domain-specific model design and preprocessing.
These findings suggest that disease-adapted CNN architectures, combined with targeted preprocessing, can support accurate and accessible veterinary screening using mobile devices. Future work will focus on expanding the dataset and deploying the model in a real-time mobile diagnostic application.
References
E. S. A. Melman, "Mycology," in Skin diseases of dogs and cats: a guide for pet owners and professionals, Potomac, Md. : DermaPet, 1994, pp. 73-82.
P. Sue, Manual of Skin Diseases of the Dog and Cat. 2nd ed Manual of Skin Diseases of the Dog and Cat. 2nd ed, Chichester, West Sussex, United Kingdom: Blackwell, 2008.
R. G. H. a. P. J. McKeever, Colour handbook of skin diseases of the dog and cat: a problem-oriented approach to diagnosis and management, London: Manson, 1998.
S. W. J. L. a. C. T. X. Zhang, "Towards improving diagnosis of skin diseases by combining deep neural network and human knowledge," BMC Medical Informatics and Decision Making, vol. 18, no. 59, 2018.
S. S. H. P. J. e. a. Hwang, "Classification of dog skin diseases using Deep Learning with images captured from multispectral imaging device," Mol. Cell. Toxicol, vol. 18, p. 299–309, 2022.
"What is Ringworm and how do I know if my companion animal has it?," RSPCA Knowledgebase, 7 February 2023. [Online]. Available: https://kb.rspca.org.au/knowledge-base/what-is-Ringworm-and-how-do-i-know-if-my-companion-animal-has-it/. [Accessed 20 June 2024].
K. H. R. a. A. H. Werner, Blackwell's five-minute veterinary consult clinical companion. Small animal dermatology, Third edition, Hoboken: Wiley, 2018.
J. W. B. BVS, "Cat Mange & Scabies: Our Vet Explains Causes, Symptoms & Treatments," catster, 4 April 2024. [Online]. Available: https://www.catster.com/ask-the-vet/cat-mange-and-Scabies-vet-answer/. [Accessed 6 June 2024].
"Ear Mites In Cats – Decoding The Itch And How to Stop It," thecatsite, 8 June 2023. [Online]. Available: https://thecatsite.com/c/ear-mites-in-cats/. [Accessed 06 June 2024].
R. E. W. R.C. Gonzalez, "Introduction," in Digital Image processing Third Edition, New Jersey, Pearson Education, Inc, 2008, pp. 1-3.
R. C. G. a. R. E. Woods, "Color Image processing," in Digital Image processing, 4th ed., New York, Pearson Education, Inc, 2018.
R. C. G. a. R. E. Woods, "Using Histogram Statistics for Image Enhancement," in Digital Image processing, 3rd ed., New Jersey, Pearson Education, 2008, pp. 139-144.
R. C. G. a. R. E. Woods, "Image Interpolation," in Digital Image processing, 3rd ed., New Jersey, Pearson Education, 2008, pp. 65-67.
R. C. G. a. R. E. Woods, Digital Image processing, 4th ed., New York: Pearson, 2018.
R. C. G. a. R. E. Woods, "Generating Spatial Filter Masks," in Digital Image processing, 3rd ed., New Jersey, Pearson Education, 2008, p. 151.
R. C. G. a. R. E. Woods, "Thresholding," in Digital Image processing, 3rd ed., New Jersey, Pearson Education, 2008, pp. 738-741.
K. Kar, "Defining the train and validation generators," in Mastering Computer Vision with TensorFlow 2.x, Birmingham, Packt Publishing Ltd., 2020, p. 105.
J. Brownlee, "How to Configure Image Data Augmentation in Keras," Machine Learning Mastery, 5 July 2019. [Online]. Available: https://machinelearningmastery.com/how-to-configure-image-data-augmentation-when-training -deep-learning-neural-networks/. [Accessed 04 February 2024].
"Introduction to Deep Learning ," GeeksforGeeks, [Online]. Available: https://www.geeksforgeeks.org/introduction-deep-learning/. [Accessed 27 December 2023].
"What are neural networks?," IBM, [Online]. Available: https://www.ibm.com/topics/neural-networks. [Accessed 27 December 2023].
I. &. A. A. Alnaib, "Advance Artificial Neural Networks," 2022.
A. Kosasih, "Lecture 12 ELEC 5508 AI Signal Processing in PHY," The University of Sydney.
"Artificial Neural Networks and its Applications," GeeksforGeeks, [Online]. Available: https://www.geeksforgeeks.org/artificial-neuralnetworks-and-its-applications/?ref=lbp. [Accessed 27 December 2023].
"What Deep Learning Is And Isn't," TheDataScientist, [Online]. Available: https://thedatascientist.com/wpcontent/uploads/2018/03/simple_neural_network_vs_deep_learning.jpg. [Accessed 27 December 2023].
I. S. a. G. E. H. A. Krizhevsky, "Imagenet classification with Deep Convolutional Neural Networks," Proc. Adv. Neural Inf. Process. Syst., vol. 25, pp. 1097-1105, 2012.
"Convolutional Neural Network," java T point, 2021. [Online]. Available: https://www.javatpoint.com/keras-convolutional-neural-network. [Accessed 27 December 2023].
"What are Convolutional Neural Networks?," IBM, [Online]. Available: https://www.ibm.com/topics/convolutional-neural-networks. [Accessed 27 December 2023].
G. H. A. K. I. S. a. R. S. N. Srivastava, "Dropout: A Simple Way to Prevent Neural Networks from Overfitting," Journal of Machine learning Research, vol. 15, no. 56, pp. 1929-1958, 2014.
S. Ruder, "An overview of gradient descent optimization algorithms," 2016.
A. Yadav, "All about Gradient descent and its variants," Medium, 30 August 2019. [Online]. Available: https://medium.com/analyticsvidhya/all-about-gradient-descent-and-its-variants-d095be1a833b. [Accessed 21 June 2024].
J. L. B. Diederik P. Kingma, "ADAM: A METHOD FOR STOCHASTIC OPTIMIZATION," in ICLR, 2015.
Sanghvirajit, "A Complete Guide to Adam and RMSprop Optimizer," Medium, 20 February 2021. [Online]. Available: https://medium.com/analytics-vidhya/a-complete-guide-to-adam-and-rmsprop-Optimizer-75f4502d83be. [Accessed 21 June 2024].
Y. B. a. A. C. I. Goodfellow, Deep Learning , Cambridge: MIT Press, 2016.
I. M. A. K. S. S. V. T. N. Thoutam, "Detection and Classification of Dog Skin Disease using Deep Learning ," International Journal of Scientific Research in Engineering and Management (IJSREM), vol. 07, no. 03, 2023.
N. M. &. M. M. Sudhriti Sengupta, "Improved skin lesions detection using color space and artificial intelligence techniques," Journal of Dermatological Treatment, vol. 31, no. 5, pp. 511-518, 2020.
K. S. J. T. D. W. D.M.A. Dissanayaka, "Skin Disease Detection of Pet Dogs and Identifying Home Remedies Using Machine learning (SVM, NLP) and AI," in 3rd International Informatics and Software Engineering Conference (IISEC), 2022.
S. Narkhede, "Understanding Confusion matrix," Medium, 9 May 2018. [Online]. Available: https://towardsdatascience.com/understandingconfusion-matrix-a9ad42dcfd62. [Accessed 21 June 2024].
"Introduction to Deep Learning ," GeeksforGeeks, [Online]. Available: https://www.geeksforgeeks.org/introduction-deep-learning/. [Accessed 27 December 2023].
"What are neural networks?," IBM, [Online]. Available: https://www.ibm.com/topics/neural-networks. [Accessed 27 December 2023].
I. &. A. A. Alnaib, "Advance Artificial Neural Networks," September 2022. [Online]. Available: https://www.researchgate.net/publication/363833676_Advance_Artificial_Neural_Networks. [Accessed 27 12 2023].
"What Deep Learning Is And Isn't," TheDataScientist, [Online]. Available: https://thedatascientist.com/what-deep-learning-is-and-isnt/. [Accessed December 2024]
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 International Journal of Electrical, Computer, and Biomedical Engineering

This work is licensed under a Creative Commons Attribution 4.0 International License.