Abstract
Early and accurate detection of infectious diseases in cattle is essential for effective animal health management, sustainable livestock production, and global food security. This study develops and validates a deep learning–based diagnostic framework for the automated visual classification of Foot-and-Mouth Disease (FMD) and Lumpy Skin Disease (LSD) in cattle. A custom Convolutional Neural Network (CNN) was designed and trained on a three-class image dataset comprising FMD, LSD, and healthy cattle. To address challenges of class imbalance and field-image variability, the architecture incorporated batch normalization, dropout regularization, and an extensive data augmentation pipeline. The model achieved an overall test accuracy of 74.77% with a macro-averaged F1-score of 0.75, demonstrating robust performance particularly in the recall of LSD (0.92) and FMD (0.77). While its accuracy is lower than some computationally intensive state-of-the-art models, the proposed CNN offers a practical, lightweight, and deployable alternative suitable for resource-limited settings. The results underscore the potential of accessible computer vision tools to serve as preliminary decision-support systems in veterinary diagnostics, enabling timely disease identification, enhanced surveillance, and early intervention in precision livestock farming systems.