Author
Listed:
- Syed U. Yunas
(Centre for Machine Vision, University of the West of England (UWE), Bristol BS16 1QY, UK)
- Ajmal Shahbaz
(Centre for Machine Vision, University of the West of England (UWE), Bristol BS16 1QY, UK)
- Emma M. Baxter
(Scotland’s Rural College (SRUC), Edinburgh EH9 3JG, UK)
- Mark F. Hansen
(Centre for Machine Vision, University of the West of England (UWE), Bristol BS16 1QY, UK)
- Melvyn L. Smith
(Centre for Machine Vision, University of the West of England (UWE), Bristol BS16 1QY, UK)
- Lyndon N. Smith
(Centre for Machine Vision, University of the West of England (UWE), Bristol BS16 1QY, UK)
Abstract
Stress in pigs poses significant challenges to animal welfare and productivity in modern pig farming, contributing to increased antimicrobial use and the rise of antimicrobial resistance (AMR). This study involves stress classification in pregnant sows by exploring five deep learning models: ConvNeXt, EfficientNet_V2, MobileNet_V3, RegNet, and Vision Transformer (ViT). These models are used for stress detection from facial images, leveraging an expanded dataset. A facial image dataset of sows was collected at Scotland’s Rural College (SRUC) and the images were categorized into primiparous Low-Stressed (LS) and High-Stress (HS) groups based on expert behavioural assessments and cortisol level analysis. The selected deep learning models were then trained on this enriched dataset and their performance was evaluated using cross-validation on unseen data. The Vision Transformer (ViT) model outperformed the others across the dataset of annotated facial images, achieving an average accuracy of 0.75, an F1 score of 0.78 for high-stress detection, and consistent batch-level performance (up to 0.88 F1 score). These findings highlight the efficacy of transformer-based models for automated stress detection in sows, supporting early intervention strategies to enhance welfare, optimize productivity, and mitigate AMR risks in livestock production.
Suggested Citation
Syed U. Yunas & Ajmal Shahbaz & Emma M. Baxter & Mark F. Hansen & Melvyn L. Smith & Lyndon N. Smith, 2025.
"Enhanced Deep Learning for Robust Stress Classification in Sows from Facial Images,"
Agriculture, MDPI, vol. 15(15), pages 1-14, August.
Handle:
RePEc:gam:jagris:v:15:y:2025:i:15:p:1675-:d:1716220
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:15:y:2025:i:15:p:1675-:d:1716220. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.