Hybrid Deep Learning Approach for Early Mastitis Detection in Dairy Cattle Using Convolutional Neural Networks and Vision Transformers

Mastitis poses a major health challenge in dairy cattle, resulting in considerable economic losses due to reduced milk production and quality. Early detection is crucial for effective management and prevention of the disease. Traditional diagnostic methods, often relying on physical examination and laboratory tests, are insufficient for early-stage detection. This paper introduces a novel approach to mastitis detection by combining Convolutional Neural Networks (CNNs) with a Vision Transformer (ViT) model, leveraging the strengths of both architectures. In this study, a hybrid model is developed, where a pre-trained CNN such as ResNet50 is utilized to extract spatial features from udder images. These features are then processed by the Vision Transformer (ViT), which excels in capturing complex relationships and dependencies within the image data. The self-attention mechanism in ViT enables it to efficiently process extracted features, enhancing detection accuracy. The hybrid model is refined using a diverse dataset of udder images, including both healthy and mastitis cases. The results demonstrate that the integration of the Vision Transformer with a CNN significantly enhances the model's ability to detect mastitis at an early stage, offering a promising solution for automated and accurate diagnosis. This approach has the potential to revolutionize disease management practices in the dairy industry, leading to better outcomes for farmers and livestock.

Authors

Institutions

Publication Details

Published
2024-12-12
DOI
https://doi.org/10.1109/icercs63125.2024.10895431
Citations
2
Primary Topic
Milk Quality and Mastitis in Dairy Cows
Type
article
Field-Weighted Citation Impact
1.14
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hybrid Deep Learning Approach for Early Mastitis Detection in Dairy Cattle Using Convolutional Neural Networks and Vision Transformers

C.N. Vanitha, Ruth Ramya Kalangi, K S Sharvanthika
2 citations
Milk Quality and Mastitis in Dairy Cows
1.14
article

Hybrid Deep Learning Approach for Early Mastitis Detection in Dairy Cattle Using Convolutional Neural Networks and Vision Transformers

C.N. Vanitha, Ruth Ramya Kalangi, K S Sharvanthika
article en
2 citations

Abstract

Mastitis poses a major health challenge in dairy cattle, resulting in considerable economic losses due to reduced milk production and quality. Early detection is crucial for effective management and prevention of the disease. Traditional diagnostic methods, often relying on physical examination and laboratory tests, are insufficient for early-stage detection. This paper introduces a novel approach to mastitis detection by combining Convolutional Neural Networks (CNNs) with a Vision Transformer (ViT) model, leveraging the strengths of both architectures. In this study, a hybrid model is developed, where a pre-trained CNN such as ResNet50 is utilized to extract spatial features from udder images. These features are then processed by the Vision Transformer (ViT), which excels in capturing complex relationships and dependencies within the image data. The self-attention mechanism in ViT enables it to efficiently process extracted features, enhancing detection accuracy. The hybrid model is refined using a diverse dataset of udder images, including both healthy and mastitis cases. The results demonstrate that the integration of the Vision Transformer with a CNN significantly enhances the model's ability to detect mastitis at an early stage, offering a promising solution for automated and accurate diagnosis. This approach has the potential to revolutionize disease management practices in the dairy industry, leading to better outcomes for farmers and livestock.

Karpagam Academy of Higher Education (IN)
Zero hunger
Openalex Percentile: Top 19%
Milk Quality and Mastitis in Dairy Cows
1.14
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.