281 research outputs found

    Body condition estimation on cows from depth images using Convolutional Neural Networks

    Get PDF
    BCS (“Body Condition Score”) is a method used to estimate body fat reserves and accumulated energy balance of cows. BCS heavily influences milk production, reproduction, and health of cows. Therefore, it is important to monitor BCS to achieve better animal response, but this is a time-consuming and subjective task performed visually by expert scorers. Several studies have tried to automate BCS of dairy cows by applying image analysis and machine learning techniques. This work analyzes these studies and proposes a system based on Convolutional Neural Networks (CNNs) to improve overall automatic BCS estimation, whose use might be extended beyond dairy production. The developed system has achieved good estimation results in comparison with other systems in the area. Overall accuracy of BCS estimations within 0.25 units of difference from true values was 78%, while overall accuracy within 0.50 units was 94%. Similarly, weighted precision and recall, which took into account imbalance BCS distribution in the built dataset, show similar values considering those error ranges.Fil: Rodríguez Alvarez, Juan Maximiliano. Consejo Nacional de Investigaciones Científicas y Técnicas. Centro Científico Tecnológico Conicet - Tandil. Centro de Investigación Veterinaria de Tandil. Universidad Nacional del Centro de la Provincia de Buenos Aires. Centro de Investigación Veterinaria de Tandil. Provincia de Buenos Aires. Gobernación. Comision de Investigaciones Científicas. Centro de Investigación Veterinaria de Tandil; ArgentinaFil: Arroqui, Mauricio. Consejo Nacional de Investigaciones Científicas y Técnicas. Centro Científico Tecnológico Conicet - Tandil. Centro de Investigación Veterinaria de Tandil. Universidad Nacional del Centro de la Provincia de Buenos Aires. Centro de Investigación Veterinaria de Tandil. Provincia de Buenos Aires. Gobernación. Comision de Investigaciones Científicas. Centro de Investigación Veterinaria de Tandil; ArgentinaFil: Mangudo, Pablo. Universidad Nacional del Centro de la Provincia de Buenos Aires; ArgentinaFil: Toloza, Juan Manuel. Universidad Nacional del Centro de la Provincia de Buenos Aires; Argentina. Consejo Nacional de Investigaciones Científicas y Técnicas; ArgentinaFil: Jatip, Daniel Esteban. Universidad Nacional del Centro de la Provincia de Buenos Aires; ArgentinaFil: Rodriguez, Juan Manuel. Consejo Nacional de Investigaciones Científicas y Técnicas. Centro Científico Tecnológico Conicet - Tandil. Instituto Superior de Ingeniería del Software. Universidad Nacional del Centro de la Provincia de Buenos Aires. Instituto Superior de Ingeniería del Software; ArgentinaFil: Teyseyre, Alfredo Raul. Consejo Nacional de Investigaciones Científicas y Técnicas. Centro Científico Tecnológico Conicet - Tandil. Instituto Superior de Ingeniería del Software. Universidad Nacional del Centro de la Provincia de Buenos Aires. Instituto Superior de Ingeniería del Software; ArgentinaFil: Sanz, Carlos. Consejo Nacional de Investigaciones Científicas y Técnicas. Centro Científico Tecnológico Conicet - Tandil. Centro de Investigación Veterinaria de Tandil. Universidad Nacional del Centro de la Provincia de Buenos Aires. Centro de Investigación Veterinaria de Tandil. Provincia de Buenos Aires. Gobernación. Comision de Investigaciones Científicas. Centro de Investigación Veterinaria de Tandil; ArgentinaFil: Zunino Suarez, Alejandro Octavio. Consejo Nacional de Investigaciones Científicas y Técnicas. Centro Científico Tecnológico Conicet - Tandil. Instituto Superior de Ingeniería del Software. Universidad Nacional del Centro de la Provincia de Buenos Aires. Instituto Superior de Ingeniería del Software; ArgentinaFil: Machado, Claudio. Consejo Nacional de Investigaciones Científicas y Técnicas. Centro Científico Tecnológico Conicet - Tandil. Centro de Investigación Veterinaria de Tandil. Universidad Nacional del Centro de la Provincia de Buenos Aires. Centro de Investigación Veterinaria de Tandil. Provincia de Buenos Aires. Gobernación. Comision de Investigaciones Científicas. Centro de Investigación Veterinaria de Tandil; ArgentinaFil: Mateos Diaz, Cristian Maximiliano. Consejo Nacional de Investigaciones Científicas y Técnicas. Centro Científico Tecnológico Conicet - Tandil. Instituto Superior de Ingeniería del Software. Universidad Nacional del Centro de la Provincia de Buenos Aires. Instituto Superior de Ingeniería del Software; Argentin

    Instance Segmentation with Mask R-CNN Applied to Loose-Housed Dairy Cows in a Multi-Camera Setting

    Get PDF
    With increasing herd sizes came an enhanced requirement for automated systems to support the farmers in the monitoring of the health and welfare status of their livestock. Cattle are a highly sociable species, and the herd structure has important impact on the animal welfare. As the behaviour of the animals and their social interactions can be influenced by the presence of a human observer, a camera based system that automatically detects the animals would be beneficial to analyse dairy cattle herd activity. In the present study, eight surveillance cameras were mounted above the barn area of a group of thirty-six lactating Holstein Friesian dairy cows at the Chamber of Agriculture in Futterkamp in Northern Germany. With Mask R-CNN, a state-of-the-art model of convolutional neural networks was trained to determine pixel level segmentation masks for the cows in the video material. The model was pre-trained on the Microsoft common objects in the context data set, and transfer learning was carried out on annotated image material from the recordings as training data set. In addition, the relationship between the size of the used training data set and the performance on the model after transfer learning was analysed. The trained model achieved averaged precision (Intersection over union, IOU = 0.5) 91% and 85% for the detection of bounding boxes and segmentation masks of the cows, respectively, thereby laying a solid technical basis for an automated analysis of herd activity and the use of resources in loose-housing

    Depth video data-enabled predictions of longitudinal dairy cow body weight using thresholding and Mask R-CNN algorithms

    Full text link
    Monitoring cow body weight is crucial to support farm management decisions due to its direct relationship with the growth, nutritional status, and health of dairy cows. Cow body weight is a repeated trait, however, the majority of previous body weight prediction research only used data collected at a single point in time. Furthermore, the utility of deep learning-based segmentation for body weight prediction using videos remains unanswered. Therefore, the objectives of this study were to predict cow body weight from repeatedly measured video data, to compare the performance of the thresholding and Mask R-CNN deep learning approaches, to evaluate the predictive ability of body weight regression models, and to promote open science in the animal science community by releasing the source code for video-based body weight prediction. A total of 40,405 depth images and depth map files were obtained from 10 lactating Holstein cows and 2 non-lactating Jersey cows. Three approaches were investigated to segment the cow's body from the background, including single thresholding, adaptive thresholding, and Mask R-CNN. Four image-derived biometric features, such as dorsal length, abdominal width, height, and volume, were estimated from the segmented images. On average, the Mask-RCNN approach combined with a linear mixed model resulted in the best prediction coefficient of determination and mean absolute percentage error of 0.98 and 2.03%, respectively, in the forecasting cross-validation. The Mask-RCNN approach was also the best in the leave-three-cows-out cross-validation. The prediction coefficients of determination and mean absolute percentage error of the Mask-RCNN coupled with the linear mixed model were 0.90 and 4.70%, respectively. Our results suggest that deep learning-based segmentation improves the prediction performance of cow body weight from longitudinal depth video data

    Advances in Sensors, Big Data and Machine Learning in Intelligent Animal Farming

    Get PDF
    Animal production (e.g., milk, meat, and eggs) provides valuable protein production for human beings and animals. However, animal production is facing several challenges worldwide such as environmental impacts and animal welfare/health concerns. In animal farming operations, accurate and efficient monitoring of animal information and behavior can help analyze the health and welfare status of animals and identify sick or abnormal individuals at an early stage to reduce economic losses and protect animal welfare. In recent years, there has been growing interest in animal welfare. At present, sensors, big data, machine learning, and artificial intelligence are used to improve management efficiency, reduce production costs, and enhance animal welfare. Although these technologies still have challenges and limitations, the application and exploration of these technologies in animal farms will greatly promote the intelligent management of farms. Therefore, this Special Issue will collect original papers with novel contributions based on technologies such as sensors, big data, machine learning, and artificial intelligence to study animal behavior monitoring and recognition, environmental monitoring, health evaluation, etc., to promote intelligent and accurate animal farm management

    A review of deep learning algorithms for computer vision systems in livestock.

    Get PDF
    In livestock operations, systematically monitoring animal body weight, bio-metric body measurements, animal behavior, feed bunk, and other difficult-to-measure phenotypes is manually unfeasible due to labor, costs, and animal stress. Applications of computer vision are growing in importance in livestock systems due to their ability to generate real-time, non-invasive, and accurate animal-level information. However, the development of a computer vision system requires sophisticated statistical and computational approaches for efficient data management and appropriate data mining, as it involves mas-sive datasets. This article aims to provide an overview of how deep learning has been implemented in computer vision systems used in livestock, and how such implementation can be an effective tool to predict animal phe-notypes and to accelerate the development of predictive modeling for precise management decisions. First, we reviewed the most recent milestones achieved with computer vision systems and its respective deep learning algorithms implemented in Animal Science studies. Second, we reviewed the published research studies in Animal Science, which used deep learning algorithms as the primary analytical strategy for image classification, object detection, object segmentation, and feature extraction. The great number of reviewed articles published in the last few years demonstrates the high interest and rapid development of deep learning algorithms in computer vision systems across livestock species. Deep learning algorithms for computer vision systems, such as Mask R-CNN, Faster R-CNN, YOLO (v3 and v4), DeepLab v3, U-Net and others have been used in Animal Science research studies. Additionally, network architectures such as ResNet, Inception, Xception, and VGG16 have been implemented in several studies across livestock species. The great performance of these deep learning algorithms suggests an33improved predictive ability in livestock applications and a faster inference.34However, only a few articles fully described the deep learning algorithms and its implementation. Thus, information regarding hyperparameter tuning, pre-trained weights, deep learning backbone, and hierarchical data structure were missed. We summarized peer-reviewed articles by computer vision tasks38(image classification, object detection, and object segmentation), deep learn-39ing algorithms, species, and phenotypes including animal identification and behavior, feed intake, animal body weight, and many others. Understanding the principles of computer vision and the algorithms used for each application is crucial to develop efficient systems in livestock operations. Such development will potentially have a major impact on the livestock industry by predicting real-time and accurate phenotypes, which could be used in the future to improve farm management decisions, breeding programs through high-throughput phenotyping, and optimized data-driven interventions

    Prediction of milk yield using visual images of cows through deep learning.

    Get PDF
    Masters Degree. University of KwaZulu-Natal, Pietermaritzburg.The broad objective of the study was to determine, through deep learning, the predictability of milk yield from a cow's image data. The data size of 1238 image pairs (the side-view images and the rear-view images) from 743 Holstein cows within their first or second parity and the cows’ corresponding first lactation 305-day milk yield values were used to train a deep learning model. The data was first split into the training and testing data at the ratio of 80:20, respectively. The training data was then augmented four times more, then again split into training and validation data at the ratio of 80:20, respectively. Three principal analyses were done, i.e. the prediction of milk yield using rear-view images only, the prediction of milk yield using the side-view images only and the prediction of milk yield using a merge of the side-view and rear-view images (the combined-view images). In all three analyses, poor predictions were observed, i.e. R2 values of 0.32 for the model using the side-view image, 0.30 for the model using the rear-view images and 0.38 for the model using combined side and rear images. The mean absolute errors were 1146.4 kg, 1148.3 kg and 1112.9 kg for the side-view, the rear-view and the combined-view models, respectively. The root mean square error values were 1460.7 kg, 1480.5 kg and 1401.2 kg and the mean absolute error percentages were 17.6, 17.3 and 17.0 % for the side-view, rear-view and combined-view models, respectively. Hypotheses tests were also done to check whether there was any difference between these three prediction models. There was no significant difference in performance between all the prediction models (p>0.05), i.e. the side-view model, the rear-view model and the combinedview model. It was concluded that predicting 305-day milk yield of Holstein cows using either view has the same level of accuracy and no additional benefits are derived from using both the rear and the side views. Keywords: Computer vision; deep learning; linear conformation traits; 305-day milk yield; side-view images; rear-view images; combined-view images; Holstein cows

    Precision technologies to address dairy cattle welfare: focus on lameness, mastitis and body condition

    Get PDF
    Specific animal-based indicators that can be used to predict animal welfare have been the core of protocols for assessing the welfare of farm animals, such as those produced by the Welfare Quality project. At the same time, the contribution of technological tools for the accurate and realtime assessment of farm animal welfare is also evident. The solutions based on technological tools fit into the precision livestock farming (PLF) concept, which has improved productivity, economic sustainability, and animal welfare in dairy farms. PLF has been adopted recently; nevertheless, the need for technological support on farms is getting more and more attention and has translated into significant scientific contributions in various fields of the dairy industry, but with an emphasis on the health and welfare of the cows. This review aims to present the recent advances of PLF in dairy cow welfare, particularly in the assessment of lameness, mastitis, and body condition, which are among the most relevant animal-based indications for the welfare of cows. Finally, a discussion is presented on the possibility of integrating the information obtained by PLF into a welfare assessment framework.FE1B-06B2-126F | Jos? Pedro Pinto de Ara?joN/

    Estimation of lamb weight using transfer learning and regression

    Get PDF
    Meat production needs of accurate measurement of livestock weight. In lambs, traditional scales are still used to weigh live animals, which is a tedious process for the operators and stressful for the animal. In this paper, we propose a method to estimate the weight of live lambs automatically, fast, non-invasive and affordably. The system only requires a camera like those that can be found in mobile phones. Our approach is based on the use of a known Convolutional Neural Network architecture (Xception) pre-trained on the ImageNet dataset. The acquired knowledge during training is used to estimate the weight, which is known as transfer learning. The best results are achieved with a model that receives the image, the sex of the lamb and the height from where the image is taken. A mean absolute error (MAE) of 0.58 kg and an R2 of 0.96 were obtained, improving on current techniques. Only one image and two values specified by the user (sex and height) allow to estimate with a minimum error the optimal weight of a lamb, maximising the economic profit

    Sperm quality, semen production, and fertility in young Norwegian Red bulls

    Get PDF
    Ved bruk av genomisk seleksjon i storfeavlen blir eliteokser selektert basert på deres estimerte genomiske avlsverdier i stedet for ved avkomsgransking. Oksene er derfor yngre når de blir tatt i bruk i sædproduksjon enn tidligere. Hovedmålet med denne avhandlingen var å identifisere nye indikatorer for når sædproduksjonen er i gang hos unge Norsk Rødt Fe okser, og som kan måles i løpet av testperioden og gi informasjon om oksenes potensielle fremtidige sædproduksjon, aksept for semin-stasjonen samt fruktbarhet i felt. I Artikkel 1 ble flowcytometri og Computer-Aided Sperm Analysis brukt til å analysere ulike spermiekvalitetsparametere i ejakulater fra 65 okser i alderen 9-13 måneder. Sædprøver ble utsatt for stresstester og kryokonservering. Oksene ble klassifisert i tre grupper med ulik respons på spermie-stresstester. Ved å benytte spermie-stresstester, kryokonservering og morfologianalyse tidlig i testperioden, kan en få verdifull innsikt i når oksene er tilstrekkelig utviklet for sædproduksjon. Med denne tilnærmingen vil en kunne ta i bruk yngre okser i sæduttak og -produksjon, og dermed bidra til redusert generasjonsintervall og økt genetisk framgang. I Artikkel 2 ble det fokusert på å undersøke potensialet til insulin-like factor 3 som en biomarkør for å predikere når sædproduksjonen starter hos unge Norsk Rødt Fe okser. Det ble tatt blodprøver og samtidig utført målinger av skrotumomkrets på 142 okser på fire tidspunkt mellom 2 og 12 måneders alder. Studien hadde som mål å belyse sammenhenger mellom nivået av insulin-like factor 3, skrotumomkrets og ulike sædparametere. Det ble funnet en positiv korrelasjon mellom insulin-like factor 3 og skrotumomkretsen, men det ble ikke funnet signifikante sammenhenger mellom skrotumomkretsen og sædparametere. På grunn av betydelige individuelle variasjoner i den undersøkte norske okse-populasjonen, er insulin-like factor 3 foreløpig ikke en egnet biomarkør til å kunne predikere når sædproduksjonen starter hos denne rasen. I Artikkel 3 presenteres en automatisert metode for å måle skrotumomkretsen hos Norsk Rødt Fe okser ved hjelp av 3D-bilder og konvolusjonelle nevrale nettverk. 3D-bilder ble tatt samtidig som manuelle målinger av skrotumomkretsen ble utført på oksene, noe som ble gjentatt ved ulike aldere. Studien sammenlignet de manuelle og automatiserte målingene oppnådd ved semantisk segmentering. Det ble vist at de automatiserte målingene av skrotumomkretsen ga tilsvarende resultater som de manuelle målingene. Gjennomsnittlig prediksjonsfeil varierte med oksenes alder og kvaliteten på 3D-bildene. Denne nye målemetoden har potensiale til å kunne implementeres i breeding soundness evaluation ved testings- og seminstasjoner, og kan gi en rask og effektiv vurdering av skrotumomkretsen.Abstract. With the application of genomic selection in dairy cattle breeding, the choice of elite sires is based on their estimated genomic breeding values instead of progeny testing. Consequently, bulls are introduced into semen production at a younger age than previously. The main aim of this thesis was to identify novel early indicators of sperm production onset and maturity status of young Norwegian Red bulls during their performance test period, to provide insight into their potential future semen production, acceptance for the AI station, and field fertility. In Paper 1, flow cytometry and computer-aided sperm analysis were used to analyse various sperm quality parameters in ejaculates collected from 65 bulls aged 9-13 months. Semen samples were subjected to stress tests and cryopreservation. The bulls were classified into three clusters with different responses to sperm stress tests. By incorporating sperm stress tests, cryopreservation, and early morphology analysis, valuable insights into the maturity of bulls for sperm production could be gained. This approach would allow for the integration of younger bulls into semen collection, facilitating reduced generation interval and increased genetic gain. The focus in Paper 2 is on investigating the potential of insulin-like factor 3 as a biomarker for predicting the onset of sperm production in young Norwegian Red bulls. Blood samples and scrotal circumference measurements were collected from 142 bulls at four time-points between 2 and 12 months of age. The aim of the study was to determine the relationship between insulin-like factor 3, scrotal circumference, and semen characteristics. While a positive correlation was found between insulin-like factor 3 and scrotal circumference, no significant correlations were observed between scrotal circumference and semen characteristics. Due to the substantial interindividual variability in the Norwegian Red bull population, insulin-like factor 3 is currently not a reliable biomarker for predicting the onset of sperm production in this breed. In Paper 3 an automated method for measuring scrotal circumference of Norwegian Red bulls using 3D images and convolutional neural networks is presented. 3D images were captured, and manual scrotal circumference measurements made of bulls at different ages. The study compared the manual and automated measurements obtained through semantic segmentation. The results showed that the automated scrotal circumference measurements were similar to manual measurements. Mean prediction error varied depending on bull age and image quality. This novel measurement method has the potential to be implemented in bull breeding soundness evaluations at performance test stations and semen collection centers, providing a fast and efficient approach for assessing scrotal circumference.publishedVersio
    corecore