Full text

Turn on search term navigation

© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.

Abstract

Simple Summary

Mastitis is one of the most serious diseases in dairy husbandry, and its timely detection is critical for improving the efficiency of treatment and reducing breeding risks. However, the traditional “contact-based” manual detection method is complex and unsuitable for large-scale production practices. In recent years, the rapid development of deep learning technology has brought new possibilities. We present a novel approach for cow mastitis detection based on thermal infrared image segmentation technology. By automatically segmenting the key parts of the cow’s eyes and udders in the thermal infrared image, it becomes possible to determine mastitis based on temperature. The results show that this method can meet the requirements of the timely and accurate detection of cow mastitis in large-scale dairy farms.

Abstract

Thermal infrared technology is utilized for detecting mastitis in cows owing to its non-invasive and efficient characteristics. However, the presence of surrounding regions and obstacles can impede accurate temperature measurement, thereby compromising the effectiveness of dairy mastitis detection. To address these problems, we proposed the CLE-UNet (Centroid Loss Ellipticization UNet) semantic segmentation algorithm. The algorithm consists of three main parts. Firstly, we introduced the efficient channel attention (ECA) mechanism in the feature extraction layer of UNet to improve the segmentation accuracy by focusing on more useful channel features. Secondly, we proposed a new centroid loss function to facilitate the network’s output to be closer to the position of the real label during the training process. Finally, we used a cow’s eye ellipse fitting operation based on the similarity between the shape of the cow’s eye and the ellipse. The results indicated that the CLE-UNet model obtained a mean intersection over union (MIoU) of 89.32% and an average segmentation speed of 0.049 s per frame. Compared to somatic cell count (SCC), this method achieved an accuracy, sensitivity, and F1 value of 86.67%, 82.35%, and 87.5%, respectively, for detecting mastitis in dairy cows. In conclusion, the innovative use of the CLE-UNet algorithm has significantly improved the segmentation accuracy and has proven to be an effective tool for accurately detecting cow mastitis.

Details

Title
Dairy Cow Mastitis Detection by Thermal Infrared Images Based on CLE-UNet
Author
Zhang, Qian 1 ; Yang, Ying 1   VIAFID ORCID Logo  ; Liu, Gang 2 ; Ning, Yuanlin 1 ; Li, Jianquan 1 

 College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China; [email protected] (Q.Z.); [email protected] (G.L.); [email protected] (J.L.) 
 College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China; [email protected] (Q.Z.); [email protected] (G.L.); [email protected] (J.L.); Key Laboratory of Modern Precision Agriculture System Integration Research, Ministry of Education, Beijing 100083, China; Key Laboratory of Agricultural Information Acquisition Technology, Ministry of Agriculture, College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China 
First page
2211
Publication year
2023
Publication date
2023
Publisher
MDPI AG
e-ISSN
20762615
Source type
Scholarly Journal
Language of publication
English
ProQuest document ID
2836283774
Copyright
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.