Predicting Sheep Body Condition Scores via Explainable Deep Learning Model

Document Type

Conference Proceeding

Source of Publication

Lecture Notes in Computer Science

Publication Date

9-16-2025

Abstract

Body Condition Scoring (BCS) is essential for evaluating livestock health, nutrition, and reproduction. For sheep, especially those with long wool, manual scoring requires a level of expertise that many farmers do not possess. Despite its importance, to date, no automated approach has been proposed in the existing literature. In this context, we propose an innovative approach that automatically predicts the BCS of sheep from images, followed by an explainable AI (XAI). The pipeline follows a three-step process: (1) data collection, which was conducted under real-world farming conditions; (2) sheep detection using the Florence-2 object detection model and BCS classification via a Vision Transformer (ViT) trained on 5,848 images (11,000 images after the augmentation), and (3) visual explanation using multiple XAI methods. Our method achieved 72% accuracy using exact BCS class matches and 95% when allowing adjacent classes. This tolerance reflects the variability typically observed among expert scores.

ISBN

[9783032050595]

ISSN

0302-9743

Publisher

Springer Nature Switzerland

Volume

15622 LNCS

First Page

37

Last Page

48

Disciplines

Computer Sciences

Keywords

Body Condition Scoring, Computer vision, Deep learning, Sheep, XAI

Scopus ID

105024559071

Indexed in Scopus

yes

Open Access

no

Share

COinS