“…Several technical solutions have been used to monitor animal welfare, including the use of digital video cameras (Porto et al 2015, Ardo et al 2017, Ter-Sarkisov et al 2017, depth sensor cameras (Nasirahmadi et al 2017), sound (Schirmann et al 2009);three-dimensional accelerometers (Müller et al 2003, Steeneveld and Hogeveen 2015, Gardenier et al 2018, Shen et al 2020; and infrared thermography (de Sousa et al 2018, Cuthbertson et al 2019, Xudong et al 2020, Anagnostopoulos et al 2021. Computer vision approaches employing video cameras are scalable and low-cost solutions (Banhazi and Tscharke 2016) and have been successfully used to monitor physiological and behavioral parameters related to pre-slaughter stress (Jorquera-Chavez et al 2019); to detect hoof disease (Gu et al 2017); to track gait and identify lameness (Gardenier et al 2018, Jiang et al 2019a, Kang et al 2022, to analyze health problems through calculating body condition scores (Zin et al 2018b, body structure b, Liu et al 2020) and faecal monitoring (Atkinson et al 2020); and to detect aggressive behaviors (Chen et al 2019). One often used computer vision method is to segment instances to recognize and track individual cows (Guzhva et al 2018, Ter-Sarkisov et al 2018, Zin et al 2018a, Qiao et al 2019, Shao et al 2019, Li et al 2021.…”