Smart farming with AI: Enhancing anemia detection in small ruminants

  • 1Department of Agricultural Sciences, Fort Valley State University, 1005 State University Drive, Fort Valley, GA 31030, USA. Electronic address: Aftab.siddique@fvsu.edu.
  • 2Department of Agricultural Sciences, Fort Valley State University, 1005 State University Drive, Fort Valley, GA 31030, USA. Electronic address: skhan1@wildcat.fvsu.edu.
  • 3Department of Agricultural Sciences, Fort Valley State University, 1005 State University Drive, Fort Valley, GA 31030, USA. Electronic address: terrillt@fvsu.edu.
  • 4Department of Agricultural Sciences, Fort Valley State University, 1005 State University Drive, Fort Valley, GA 31030, USA. Electronic address: mahapatra@fvsu.edu.
  • 5Institute for Environmental Spatial Analysis, University of North Georgia, 3820 Mundy Mill Road, Oakwood, GA 30566, USA. Electronic address: Sudhanshu.Panda@ung.edu.
  • 6Institute for Global Food Security, Queen's University, University Road, Belfast BT7 1NN, UK. Electronic address: eric.morgan@qub.ac.uk.
  • 7College of Agriculture and Human Sciences, Prairie View A & M University, 100 University Dr, Prairie View, TX 77446, USA. Electronic address: aapechcervantes@pvamu.edu.
  • 8Department of Agricultural Sciences, Fort Valley State University, 1005 State University Drive, Fort Valley, GA 31030, USA. Electronic address: rrandal4@wildcat.fvsu.edu.
  • 9Department of Agricultural Sciences, Fort Valley State University, 1005 State University Drive, Fort Valley, GA 31030, USA. Electronic address: anurag.singh@fvsu.edu.
  • 10Department of Agricultural Sciences, Fort Valley State University, 1005 State University Drive, Fort Valley, GA 31030, USA. Electronic address: phaneendra.batchu@fvsu.edu.
  • 11Department of Agricultural Sciences, Fort Valley State University, 1005 State University Drive, Fort Valley, GA 31030, USA. Electronic address: Priyanka.gurrapu@fvsu.edu.
  • 12Department of Veterinary Tropical Diseases, Faculty of Veterinary Science, University of Pretoria, Private Bag x04, Onderstepoort 0110, South Africa. Electronic address: jan.vanwyk@up.ac.za.

|

Abstract

Accurate classification of FAMACHA© scores is essential for assessing anemia in small ruminants and optimizing parasite management strategies in livestock agriculture. The FAMACHA© system categorizes anemia severity on a scale from 1 to 5, where scores 1 and 2 indicate healthy animals, score 3 represents a borderline condition, and scores 4 and 5 indicate severe anemia. In this study, a dataset of 4700 images of the lower eye conjunctiva of young male goats was collected weekly over six months using a Samsung A54 smartphone. Traditional FAMACHA© assessment methods rely on subjective visual examination, which is labor-intensive and susceptible to observer bias. To address this limitation, this study implemented machine learning algorithms to automate FAMACHA© classification, leveraging Support Vector Machine (SVM), Backpropagation Neural Network (BPNN), and Convolutional Neural Network (CNN) models. A comparative analysis of these models was conducted using precision, recall, F1-score, and accuracy metrics. The CNN model demonstrated the highest classification accuracy (97.8 %), outperforming both BPNN and SVM. The SVM model achieved a mean accuracy of 84.6 %, with strong performance in severe anemia detection, but limitations in intermediate classes. The overall accuracy of 84 % attained by the BPNN model provided a balanced tradeoff between precision and recall. The CNN model's superior performance was attributed to its ability to learn spatial and contextual patterns from images, ensuring robust classification across all FAMACHA© categories. These findings underscore CNN's potential as a reliable, scalable solution for automated anemia detection in livestock, facilitating early intervention and improving herd health management. The study also highlights the need for future research to explore ensemble learning approaches and integration with mobile applications for real-time deployment for both commercial and resource-limited livestock producers.