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

Detection of Respiratory Rate of Dairy Cows Based on Infrared Thermography and Deep Learning

Author

Listed:
  • Kaixuan Zhao

    (College of Agricultural Equipment Engineering, Henan University of Science and Technology, Luoyang 471023, China
    Science & Technology Innovation Center for Completed Set Equipment, Longmen Laboratory, Luoyang 471023, China)

  • Yijie Duan

    (College of Agricultural Equipment Engineering, Henan University of Science and Technology, Luoyang 471023, China
    Science & Technology Innovation Center for Completed Set Equipment, Longmen Laboratory, Luoyang 471023, China)

  • Junliang Chen

    (College of Food & Bioengineering, Henan University of Science and Technology, Luoyang 471023, China)

  • Qianwen Li

    (College of Agricultural Equipment Engineering, Henan University of Science and Technology, Luoyang 471023, China)

  • Xing Hong

    (College of Agricultural Equipment Engineering, Henan University of Science and Technology, Luoyang 471023, China
    Science & Technology Innovation Center for Completed Set Equipment, Longmen Laboratory, Luoyang 471023, China)

  • Ruihong Zhang

    (College of Agricultural Equipment Engineering, Henan University of Science and Technology, Luoyang 471023, China
    Science & Technology Innovation Center for Completed Set Equipment, Longmen Laboratory, Luoyang 471023, China)

  • Meijia Wang

    (School of Electronic Information and Artificial Intelligence, Shaanxi University of Science & Technology, Xi’an 710021, China)

Abstract

The respiratory status of dairy cows can reflect their heat stress and health conditions. It is widely used in the precision farming of dairy cows. To realize intelligent monitoring of cow respiratory status, a system based on infrared thermography was constructed. First, the YOLO v8 model was used to detect and track the nose of cows in thermal images. Three instance segmentation models, Mask2Former, Mask R-CNN and SOLOv2, were used to segment the nostrils from the nose area. Second, the hash algorithm was used to extract the temperature of each pixel in the nostril area of a cow to obtain the temperature change curve. Finally, the sliding window approach was used to detect the peaks of the filtered temperature curve to obtain the respiratory rate of cows. Totally 81 infrared thermography videos were used to test the system, and the results showed that the AP 50 of nose detection reached 98.6%, and the AP 50 of nostril segmentation reached 75.71%. The accuracy of the respiratory rate was 94.58%, and the correlation coefficient R was 0.95. Combining infrared thermography technology with deep learning models can improve the accuracy and usability of the respiratory monitoring system for dairy cows.

Suggested Citation

  • Kaixuan Zhao & Yijie Duan & Junliang Chen & Qianwen Li & Xing Hong & Ruihong Zhang & Meijia Wang, 2023. "Detection of Respiratory Rate of Dairy Cows Based on Infrared Thermography and Deep Learning," Agriculture, MDPI, vol. 13(10), pages 1-15, October.
  • Handle: RePEc:gam:jagris:v:13:y:2023:i:10:p:1939-:d:1253465
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/13/10/1939/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/13/10/1939/
    Download Restriction: no
    ---><---

    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:13:y:2023:i:10:p:1939-:d:1253465. 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.

    We have no bibliographic references for this item. You can help adding them by using 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.