Skip to main navigation Skip to search Skip to main content

A non-contact and fasting estimating method for respiration rate of cows using machine vision

  • Xiaoshuai Wang
  • , Binghong Chen
  • , Ruimin Yang
  • , Kai Liu
  • , Kaixuan Cuan*
  • , Mengbing Cao*
  • *Corresponding author for this work

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

78 Downloads (CityUHK Scholars)

Abstract

Detecting respiration rate (RR) is a promising and practical heat stress diagnostic method for cows, with significant potential benefits for dairy operations in monitoring thermal conditions and managing cooling treatments. Currently, the optical flow method is widely employed for automatic video-based RR estimation. However, the optical flow-based approach for RR estimation can be time-consuming and susceptible to interference from various unrelated cow movements, such as rising, lying down, and body shaking. The aim of this study was to propose a novel optical flow-based algorithm for remotely and rapidly detecting the respiration rate of cows in free stalls. To accomplish this, we initially collected 250 sixty-second video episodes from a commercial dairy farm, which included some episodes with interfering motions. We manually observed the respiration rate for each episode, considering it as the ground truth RR. The analysis revealed that certain cow movements, including posture changes and body shaking, introduced noise that compromises the precision of RR detection. To address this issue, we implemented noise filters, with the Butterworth filter proving highly effective in mitigating noise resulting from cow movements. The selection of the region of interest was found to have a substantial impact on the accuracy of RR detection. Opting for the central region was recommended for optimal results. The comparison between the RR estimated by the modified cow respiration rate (MCRR) algorithm and the ground truth RR showed a good agreement with a mean absolute relative error of 7.6 ± 8.9% and a Pearson correlation coefficient of 0.86. Additionally, the results also indicated that reducing the original frame rate from 25 to 5 frames per second and adjusting the image pixel size from 630 × 450 to 79 × 57 pixels notably reduced computational time from 39.8 to 2.8 s, albeit with a slight increase in mean absolute relative error to 8.0 ± 9.0%.

© 2023 by the authors.
Original languageEnglish
Article number40
JournalAgriculture (Switzerland)
Volume14
Issue number1
Online published25 Dec 2023
DOIs
Publication statusPublished - Jan 2024

Research Keywords

  • body shake
  • dairy cows
  • heat stress
  • nearly real-time estimation
  • optical flow method
  • posture change

Publisher's Copyright Statement

  • This full text is made available under CC-BY 4.0. https://creativecommons.org/licenses/by/4.0/

Fingerprint

Dive into the research topics of 'A non-contact and fasting estimating method for respiration rate of cows using machine vision'. Together they form a unique fingerprint.

Cite this