Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

Infrared Thermography and Machine Learning for Mastitis Detection in Dairy Cows: A Pilot Case Study in Egyptian Farms

Domaine:

agriculture

Type de record:

paper
Créateur:
AyaEmaAliMar
Éditeur:
MDP
Hôte:
Mastitis is a major and costly dairy disease that reduces milk yield and quality and harms animal welfare. This study evaluated infrared thermography (IRT) combined with machine learning (ML) for non-invasive mastitis screening in dairy cows and explored links with biological and feeding-system variables in Egyptian farms. A total of 976 thermal udder images obtained from 488 Holstein cows were used, including 708 healthy and 268 mastitic images. Images were captured before milking, processed with CLAHE, resized to 224 × 224 pixels, and split using cow-level grouping before augmentation to prevent animal-level data leakage. The training set contained 780 original images and was augmented to a balanced 4708-image set (2354 per class), while the held-out test set remained unaugmented, with 196 original images (142 healthy and 54 mastitic). EfficientNetB3 with global average and max pooling extracted 3072 thermal features, and ten ML classifiers were evaluated. In the image-level hold-out evaluation, MLP achieved the best performance (accuracy = 86.22%, AUC = 0.9184, sensitivity = 74.07%, specificity = 90.85%), followed by SVM (accuracy = 83.67%, AUC = 0.8963). A separate group-based five-fold cross-validation yielded a more conservative AUC of 0.6812 ± 0.1323 and accuracy of 0.6244 ± 0.0642. Logistic regression analyses did not identify statistically significant associations between model predictions and somatic cell count (SCC), California Mastitis Test (CMT), blood biomarkers, or nutritional variables at p < 0.05. Ration A (Delta Misr) showed a higher observed mastitis incidence (20/40; 50.0%) than Ration B (Copenhagen; 16/45; 35.6%), but nutritional predictors were not statistically significant, indicating that farm-level confounding should be considered. Overall, IRT with ML remains a promising non-invasive screening approach, but broader multicenter datasets and independent external validation are needed before routine farm deployment.

Visit

doi.org

Tasks

computer visionimage classification

Licenses

https://creativecommons.org/licenses/by/4.0/

Similaires

Genetic Characterization of Staphylococcus aureus From Subclinical Mastitis Cases in Dairy Cows in RwandaComparison of cow-side diagnostic tests for subclinical mastitis of dairy cows in Musanze district, RwandaIn vitro utility of zinc oxide nanoparticles and antifungal drugs for the treatment of mycotic mastitis in dairy cows in EgyptDetection of brucellosis in dairy cows and humans in Wukro district, Tigray, EthiopiaIncidence and Associated Risk Actors of Heifer Mastitis in Dairy Farms at Mekelle Town, Northern EthiopiaMid-infrared spectral dataset and machine learning tools for defect detection in green and roasted coffee

Genetic Characterization of Staphylococcus aureus From Subclinical Mastitis Cases in Dairy Cows in Rwanda

Whole-genome sequencing was carried out on 30 Staphylococcus (S.) aureus isolates from dairy cows

Comparison of cow-side diagnostic tests for subclinical mastitis of dairy cows in Musanze district, Rwanda

Four subclinical mastitis diagnostic tests (the UdderCheck® test [a lactate dehydrogenasebased test]

In vitro utility of zinc oxide nanoparticles and antifungal drugs for the treatment of mycotic mastitis in dairy cows in Egypt

Abstract Bovine mastitis is an inflammation of mammary gland parenchyma in cows. It is cau

Detection of brucellosis in dairy cows and humans in Wukro district, Tigray, Ethiopia

Brucellosis, a zoonotic disease, is a world-wide problem of both public health and economic importan

Incidence and Associated Risk Actors of Heifer Mastitis in Dairy Farms at Mekelle Town, Northern Ethiopia

A longitudinal study was conducted from November 2013 to May 2014 in Mekelle town, Northern Ethiopia

Mid-infrared spectral dataset and machine learning tools for defect detection in green and roasted coffee

This repository provides a comprehensive mid-infrared (FTIR) spectral dataset of defect-free and def