Erik Meijering PhD FIEEE

Early Risk Prediction of Sheep Facial Eczema Using Computer Vision: A Feasibility Study

X. Zhao, Q. Liao, D. Wang, E. Meijering, C. Brosnahan, J. Kang, M. Sutherland

Australian Association of Animal Sciences Biennial Conference (AAAS 2026)
Held in Adelaide, SA, Australia, July 13–17, 2026


Introduction: Facial eczema (FE) is an endemic disease caused by sporidesmin, a toxin produced by a fungus that grows on the leaf litter at the base of the pasture sward. It occurs predominantly in New Zealand, but also occurs in Australia, South Africa, and Europe. FE can reduce lifetime productivity by up to 25%, causing significant economic losses and animal welfare concerns. It induces liver damage that can manifest as subtle changes in animal facial characteristics and behavioral patterns, which are difficult to detect with the naked eye in the early stages. Gamma glutamyl transferase (GGT) levels are used to measure the severity of liver damage caused by FE, with a level greater than 70 IU/L indicating liver damage. We applied deep learning models to explore the correlation between early liver damage caused by FE (indicated by elevated GGT) and color (RGB) or infrared thermography (IRT) facial images.

Materials and Methods: Data were collected on 104 sheep across three different farms by Beef+Lamb New Zealand as part of an epidemiological study, which comprises 293 RGB images, 205 IRT images, and GGT results. All images were manually annotated with facial regions to exclude nonfeature regions. Several data augmentation techniques were employed, including rotation, horizontal flipping, noise injection, and mosaicking. The ResNet18 model was used as the feature extractor and implemented with PyTorch. Feature-level fusion was also explored to integrate the features from RGB and IRT images. After randomly partitioning the dataset into training and testing sets with a ratio of 80:20, all models were trained using the stochastic gradient descent (SGD) optimizer with a learning rate of 0.001 and batch size of 32 for 100 epochs on an A6000 Ada GPU. All experiments were repeated five times to calculate the mean and standard deviation of the performance metrics (accuracy and F1-score).

Results: Prediction using RGB images showed a weak correlation with GGT levels (0.1 ± 5.6%). Binary classification was defined using a GGT threshold (greater than 53 IU/L classified as high-risk, otherwise low-risk), ensuring a balanced number of positive and negative samples. The RGB-only model achieved an accuracy of 62.9 ± 5.3% and an F1-score of 74.5 ± 4.7%, while the IRT-only model yielded an accuracy of 55.4 ± 4.9% and an F1-score of 67.3 ± 5.9%. The combined RGB-IRT model showed intermediate performance with an accuracy of 61.6 ± 2.7% and an F1-score of 75.1 ± 0.7%.

Discussion: This feasibility study concluded with two primary findings. First, the regression model for predicting GGT levels from image data shows low correlation, primarily due to the confounding effects of individual metabolism and other diseases that affect facial features. Second, binary classification for FE risk prediction yielded encouraging results. The RGB-only model achieved promising performance with an F1-score of 74.5%. However, incorporating IRT images reduced the accuracy of the combined model, suggesting an increased risk of overfitting, likely due to the limited number of available IRT images. These findings suggest that while noninvasive RGB facial image analysis may hold promise for early FE risk prediction, additional data are needed to validate this hypothesis. Although current models cannot predict exact GGT values, they may be capturing subtle patterns indicative of a physiological state that crosses a clinically significant threshold. These preliminary results suggest that practical applications remain some way off. Future work will focus on three key directions: 1) expanding the dataset by collecting more images; 2) incorporating more robust biomarkers for FE, such as qPCR assays for fungal spores; and 3) adopting a wider array of FE-related behavioral features, including water intake and photophobia (light avoidance). Additionally, we propose to measure the concentration of sporidesmin in the pasture. Ultimately, we aim to develop a comprehensive multimodal animal health monitoring system for modern farms which can integrate environmental risk factors with animal behavior and physiological responses to improve production.


Copyright © 2026 the authors. Personal use of this material is permitted. However, permission to reprint or republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution to servers or lists, or to reuse any copyrighted component of this work in other works, must be obtained from the copyright holder.