Body condition scoring is a simple method to estimate the energy supply of dairy cattle. Our study aims to investigate the accuracy with which supervised machine learning, specifically a deep convolutional neural network (CNN), can be used to retrieve body condition score (BCS) classes estimated by an expert. We recorded images of animals’ rumps in three large-scale farms using a simple action camera. The images were annotated with classes and three different-sized bounding boxes by an expert. A CNN pretrained model was fine-tuned on 12 and 3 BCS classes. Training in 12 classes with a 0 error range, the Cohen’s kappa value yielded minimal agreement between the model predictions and ground truth. Allowing an error range of 0.25, we obtained minimum or weak agreement. With an error range of 0.5, we had strong or almost perfect agreement. The kappa values for the approach trained on three classes show that we can classify all animals into BCS categories with at least moderate agreement. Furthermore, CNNs trained on 3 BCS classes showed a remarkably higher proportion of strong agreement than those trained in 12 classes. The prediction precision when training with various annotation region sizes showed no meaningful differences. The weights of our trained CNNs are freely available, supporting similar works.
Double ovulation occurs more frequently in multiparous cows with high milk production than in primiparous cows and the rate of twin pregnancy/calving is increasing worldwide. Diagnosis of twin pregnancy is possible by ultrasound at the time of early pregnancy examination [28-34 days after artificial insemination (AI)]. Pregnancy proteins are also well-known indicators of gestation. The risk of pregnancy loss during the first trimester of gestation for cows carrying twins is three to nine times higher than for cows carrying singletons. Pregnancy-specific protein B (PSPB) is a good indicator not only of pregnancy but also of pregnancy loss. The aims of this study were (a) to collect calving data in some Hungarian Holstein-Friesian herds (n = 7,300) to compare PSPB serum concentrations (measured 29-35 days post insemination) in twin-and singleton-calving cows (Trial 1), and (b) to check the predictive value of PSPB serum concentration for twin pregnancy and pregnancy loss in high-producing Spanish Holstein-Friesian cows (n = 98; Trial 2). Our results showed almost 7% twin calving rate. Although hormonal treatments are commonly believed to be major causes of twin pregnancies, our data do not support this hypothesis. The only exception is the single PGF injection, which significantly increased twin calving. No effect of milk production on the risk of twin pregnancy was found, and twin pregnancy increased with parity. The AI bull, the bull's sire, the bull's grandfather and the cow's father also affected twin calving (P = 0.02). We found much higher frequency of twin calving in cows diagnosed pregnant with higher than 3 ng/ml serum PSPB concentrations at 29-35 days after insemination. In Trial 2, non-significant but well-marked differences were found in PSPB serum concentration between singleton-and twin-pregnant cow samples (2.1 and 2.9 ng/ml) at different bleeding times. Probably the small size of the study population and the effects of milk production on PSPB values may explain this lack of significance.
Subclinical mastitis (SM) is the most economically damaging yet often visually undetectable disease of dairy cows. Early detection and treatment can reduce the loss caused by the disease; thus, the continuous improvement of SM diagnostic methods is necessary. Although milk’s somatic cell count (SCC) is commonly measured for diagnostic purposes, its direct determination is not widely used in everyday practice. The primary objective of our work was to investigate whether the predictive value of SM diagnostics can be improved by training artificial neural networks (ANNs) on data generated using typical conventional milking systems. The best ANN classifier had a sensitivity of 0.54 and a specificity of 0.77, which is comparable to performances of various California Mastitis Tests (CMT) found in the literature. Combining two diagnostic tests, ANN and CMT, we concluded that the positive predictive value could be up to 50% higher than the value provided by the individual CMT. While implementing CMT is a labor-intensive process on herd-level, in milking machines where milk properties or milk yield data can be measured automatically, similar to our work, SCC-increase predictions for all individuals could be obtained daily basis.
The early detection of pregnancy and the determination of fetal numbers have economic benefits in sheep production because of the seasonal breeding patterns where missing a breeding opportunity means the loss of one productive year. The purpose of this study was to evaluate the efficacy of the B6-HRP ELISA for ovine pregnancy-specific protein B (oPSPB) measurement in the detection of pregnancy and estimation of fetal numbers in different sheep breeds. BioPRYN (R) ELISA assay kit was used for the detection of pregnancy in the experimental animals. Ninety-three ewes of three breeds (British Milksheep - BM, Lacaune - L and Transylvanian Racka - TR), each from three farms in Hungary, were included in the study. BM and L ewes were artificially inseminated (AI). Thirty-five days after AI, all ewes were examined by transabdominal ultrasound. The TR flock was mated naturally over a six-week period. At the end of the mating period, the ewes were similarly examined by ultrasound. Blood samples were taken from all pregnant ewes twice (35 and 65 days after AI), and serum samples were assayed by the BioPRYN test. It can be concluded that the detection of serum PSPB by ELISA is a much easier, safer, less expensive and highly accurate method for the detection of ovine pregnancy. Although some breed-related differences were detectable at 35 and 65 days post breeding, no differences in oPSPB levels were found in pregnant ewes carrying different numbers of fetuses.