IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v14y2023i1p40-d1306907.html
   My bibliography  Save this article

A Non-Contact and Fast Estimating Method for Respiration Rate of Cows Using Machine Vision

Author

Listed:
  • Xiaoshuai Wang

    (College of Biosystems Engineering and Food Science, Zhejiang University, Hangzhou 310058, China)

  • Binghong Chen

    (College of Biosystems Engineering and Food Science, Zhejiang University, Hangzhou 310058, China)

  • Ruimin Yang

    (College of Biosystems Engineering and Food Science, Zhejiang University, Hangzhou 310058, China)

  • Kai Liu

    (Jockey Club College of Veterinary Medicine and Life Sciences, City University of Hong Kong, Hong Kong SAR, China)

  • Kaixuan Cuan

    (College of Biosystems Engineering and Food Science, Zhejiang University, Hangzhou 310058, China)

  • Mengbing Cao

    (Key Laboratory of Intelligent Equipment and Robotics for Agriculture of Zhejiang Province, Hangzhou 310058, China)

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%.

Suggested Citation

  • Xiaoshuai Wang & Binghong Chen & Ruimin Yang & Kai Liu & Kaixuan Cuan & Mengbing Cao, 2023. "A Non-Contact and Fast Estimating Method for Respiration Rate of Cows Using Machine Vision," Agriculture, MDPI, vol. 14(1), pages 1-15, December.
  • Handle: RePEc:gam:jagris:v:14:y:2023:i:1:p:40-:d:1306907
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/14/1/40/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/14/1/40/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Christopher Davison & Craig Michie & Andrew Hamilton & Christos Tachtatzis & Ivan Andonovic & Michael Gilroy, 2020. "Detecting Heat Stress in Dairy Cattle Using Neck-Mounted Activity Collars," Agriculture, MDPI, vol. 10(6), pages 1-11, June.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:14:y:2023:i:1:p:40-:d:1306907. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.