Innovations in Animal Health: Artificial Intelligence-Enhanced Hematocrit Analysis for Rapid Anemia Detection in Small Ruminants
Authors: Siddique Aftab , Panda Sudhanshu , Khan Sofia , Dargan Seymone , Lewis Savanah , Carter India , Wyk Jan A. van , Mahapatra Ajit K. , Morgan Eric R. , Terrill Thomas H 
Published: July 2024

Abstract

Due to their value as a food source, fiber, and other products globally, there has been a growing focus on the well-being and health of small ruminants, particularly in relation to anemia induced by blood-feeding gastrointestinal parasites like Haemonchus contortus. The objective of this study was to assess the hematocrit (HCT) levels in blood samples from small ruminants, specifically goats, and create an efficient biosensor for more convenient, yet accurate detection of anemia for on-farm use in agricultural environments for animal production optimization. The study encompassed 75 adult male Spanish goats, which underwent HCT testing to ascertain their HCT ranges and their association with anemic conditions. Using Artificial Intelligence-powered machine learning algorithms, an advanced, easy-to-use sensor was developed for rapidly alerting farmers as to low red blood cell count of their animals, in this way to enable timely medical intervention. The developed sensor utilizes a semi-invasive technique that requires only a small blood sample. More precisely, a volume of 30 µL of blood was placed onto Whatman filter paper No. 1 previously soaked with anhydrous glycerol. The blood dispersion pattern on the glycerol-infused paper was then recorded using a smartphone after 180 seconds. Subsequently, these images were examined in correlation with established HCT values obtained from conventional HCT analysis. Four separate artificial intelligence-machine learning models (AI-ML)supported models, namely Support Vector Machine (SVM), K-Nearest Neighbors (KNN), Backpropagation Neural Network (BPNN), and image classification based Keras model, were created and assessed using the image dataset. The dataset consisted of 1,000 images that were divided into training and testing sets in an 80:20 ratio. Using the Adam optimizer with a learning rate of 0.001, the models were optimized and trained to reduce categorical cross-entropy loss to improve accuracy over several epochs. The initial findings indicated a detection accuracy of 76.06% after only 10 epochs for recognizing different levels of HCT in relation to anemia, ranging from healthy to severely anemic. This testing accuracy increased markedly, to 95.8% after 100 epochs and other model parameters optimization. Results for SVM learning algorithms had an overall F1-score of 74–100% in identifying the HCT range for blood pattern images representing healthy to severely anemic animals, KNN showed a range of 50%-97% accuracy in identifying the HCT range, and BPNN showed 91–100% accuracy in identifying the HCT range for anemia detection. This innovation not only greatly reduces the time and skill often needed for such evaluations, but also establishes the basis for a straightforward, efficient, and easy-to-use technique of screening for anemia. This has the potential to enhance the care and handling of livestock in agricultural environments.