Development and Validation of an Automated Video Tracking Model for Stabled Horses.
- Journal Article
Summary
The researchers have developed and tested a new automated system for tracking the movements of horses in their stalls using video, this system could help identify pain and improve the quality of life of horses.
Research Objective
The primary objective of this study was to develop and validate an automated tracking model for horses in a stable. The genesis of this innovation was the understanding that behavior changes in horses often stem from uncomfortable conditions. This model is intended to shed more light on how these behavioral changes can be identified and used to assess not only pain, but also the quality of life of these horses.
The Study Methodology
- Videos of horses in an animal hospital were recorded using an action camera and a time-lapse mode. The primary aim was to automate the detection of the horse’s movements and behavior while it was in a box stall.
- The videos were processed using a convolutional neural network named Loopy. Convolutional neural networks (CNN) are a class of deep-learning model most commonly applied to analyzing visual data.
- Development of the model happened in stages, first by annotating key points, which were presumably specific locations or reference points on the body of the horse. Next, the network was trained to generate a predictive model. Finally, the accuracy of the model was evaluated by analyzing its sensitivity and error rate in detecting the annotated key points.
Findings
- It was found that the model could detect key points – specifically, the nose, withers (the ridge between a horse’s shoulder blades), and tail – with over 80% sensitivity. The error rate varied between 2 and 7%, depending on the key point.
- A case study was conducted to explore possible further analysis with the acquired data. This suggests the researchers believe the model could be utilized in other related applications or studies.
Implications
The overall gain from this research is twofold. Firstly, the results are expected to dramatically improve the ability to recognize pain in horses. This can influence veterinary practices and enhance the welfare of horses. Secondly, this research will aid the development of algorithms for the automated recognition of behavior using machine learning, possibly expanding its uses beyond horse behavior analysis to wider applications.
Cite This Article
Publication
Researcher Affiliations
- Department of Anaesthesiology and Perioperative Intensive Care Medicine, Department for Companion Animals, Vetmeduni Vienna, 1210 Viena, Austria.
- Department of Anaesthesiology and Perioperative Intensive Care Medicine, Department for Companion Animals, Vetmeduni Vienna, 1210 Viena, Austria.
- Department of Anaesthesiology and Perioperative Intensive Care Medicine, Department for Companion Animals, Vetmeduni Vienna, 1210 Viena, Austria.
Conflict of Interest Statement
References
- Price J, Catriona S, Welsh EM, Waran NK. Preliminary evaluation of a behaviour-based system for assessment of post-operative pain in horses following arthroscopic surgery.. Vet Anaesth Analg 2003 Jul;30(3):124-37.
- Van Loon J.P.M., Back W., Hellebrekers L.J., Van Weeren P.R.. Application of a composite pain scale to objectively monitor horses with somatic and visceral pain under hospital conditions.. J. Equine Vet. Sci. 2010;30:641–649.
- van Loon JPAM, Van Dierendonck MC. Objective pain assessment in horses (2014-2018).. Vet J 2018 Dec;242:1-7.
- Dalla Costa E, Minero M, Lebelt D, Stucke D, Canali E, Leach MC. Development of the Horse Grimace Scale (HGS) as a pain assessment tool in horses undergoing routine castration.. PLoS One 2014;9(3):e92281.
- Wathan J, Burrows AM, Waller BM, McComb K. Correction: EquiFACS: The Equine Facial Action Coding System.. PLoS One 2015;10(9):e0137818.
- Gleerup KB, Forkman B, Lindegaard C, Andersen PH. An equine pain face.. Vet Anaesth Analg 2015 Jan;42(1):103-14.
- Gleerup K.B., Lindegaard C.. Recognition and quantification of pain in horses: A tutorial review.. Equine Vet. Educ. 2016;28:47–55.
- Dyson S., Berger J., Ellis D.A., Mullard J.. Development of an ethogram for a pain scoring system in ridden horses and its application to determine the presence of musculoskeletal pain.. J. Vet. Behav. 2018;23:47–57.
- Lesimple C, Fureix C, De Margerie E, Sénèque E, Menguy H, Hausberger M. Towards a postural indicator of back pain in horses (Equus caballus).. PLoS One 2012;7(9):e44604.
- Sénèque E, Lesimple C, Morisset S, Hausberger M. Could posture reflect welfare state? A study using geometric morphometrics in riding school horses.. PLoS One 2019;14(2):e0211852.
- Morrel-Samuels P., Krauss R.M.. Cartesian analysis: A computer-video interface for measuring motion without physical contact. Behavior Research. Methods Instrum. Comput. 1990;22:466–470.
- Pereira P., Oliveira R.F.. A simple method using a single video camera to determine the three-dimensional position of a fish. Behavior Research. Methods Instrum. Comput. 1994;26:443–446.
- Santucci A.C.. An affordable computer-aided method for conducting Morris water maze testing.. Behav. Res. Methodsinstrum. Comput. 1995;27:60–64.
- Levitis DA, Lidicker WZ, Freund G. Behavioural biologists don't agree on what constitutes behaviour.. Anim Behav 2009 Jul 1;78(1):103-110.
- Anderson DJ, Perona P. Toward a science of computational ethology.. Neuron 2014 Oct 1;84(1):18-31.
- Cooke SJ, Hinch SG, Wikelski M, Andrews RD, Kuchel LJ, Wolcott TG, Butler PJ. Biotelemetry: a mechanistic approach to ecology.. Trends Ecol Evol 2004 Jun;19(6):334-43.
- Mathis A, Mamidanna P, Cury KM, Abe T, Murthy VN, Mathis MW, Bethge M. DeepLabCut: markerless pose estimation of user-defined body parts with deep learning.. Nat Neurosci 2018 Sep;21(9):1281-1289.
- Graving JM, Chae D, Naik H, Li L, Koger B, Costelloe BR, Couzin ID. DeepPoseKit, a software toolkit for fast and robust animal pose estimation using deep learning.. Elife 2019 Oct 1;8.
- Mathis MW, Mathis A. Deep learning tools for the measurement of animal behavior in neuroscience.. Curr Opin Neurobiol 2020 Feb;60:1-11.
- Burla J.B., Ostertag A., Westerath H.S., Hillmann E.. Gait determination and activity measurement in horses using an accelerometer.. Comput. Electron. Agric. 2014;102:127–133.
- Eerdekens A., Deruyck M., Fontaine J., Martens L., Poorter E.D., Joseph W.. Automatic equine activity detection by convolutional neural networks using accelerometer data.. Comput. Electron. Agric. 2020;168:105–139.
- Noldus LP, Spink AJ, Tegelenbosch RA. EthoVision: a versatile video tracking system for automation of behavioral experiments.. Behav Res Methods Instrum Comput 2001 Aug;33(3):398-414.
- Lind NM, Vinther M, Hemmingsen RP, Hansen AK. Validation of a digital video tracking system for recording pig locomotor behaviour.. J Neurosci Methods 2005 Apr 30;143(2):123-32.
- Walton A, Branham A, Gash DM, Grondin R. Automated video analysis of age-related motor deficits in monkeys using EthoVision.. Neurobiol Aging 2006 Oct;27(10):1477-83.
- Bloemen H, Aerts JM, Berckmans D, Goedseels V. Image analysis to measure activity index of animals.. Equine Vet J Suppl 1997 May;(23):16-9.
- Frost A.R., Tillett R.D., Welch S.K.. The development and evaluation of image analysis procedures for guiding a livestock monitoring sensor placement robot.. Comput. Electron. Agric. 2000;28:229–242.
- Martin BR, Prescott WR, Zhu M. Quantitation of rodent catalepsy by a computer-imaging technique.. Pharmacol Biochem Behav 1992 Oct;43(2):381-6.
- Aydin A., Cangar O., Ozcan S.E., Bahr C., Berckmans D.. Application of a fully automatic analysis tool to assess the activity of broiler chickens with different gait scores.. Comput. Electron. Agric. 2010;73:194–199.
- Burke J., Nuthall P.L., McKinnon A.E.. An analysis of the feasibility of using image processing to estimate the live weight of sheep.. FHMG Res. Rep. 2004;2:6.
- Kashiha M.A., Bahr C., Ott S., Moons C.P., Niewold T.A., Tuyttens F., Berckmans D.. Automatic monitoring of pig locomotion using image analysis.. Livest. Sci. 2014;159:141–148.
- Oczak M., Maschat K., Berckmans D., Vranken E., Baumgartner J.. Automatic estimation of number of piglets ina pen during farrowing, using image analysis.. Biosyst. Eng. 2016;151:81–89.
- Van Hertem T., Rooijakkers L., Berckmans D., Peña Fernández A., Norton T., Berckmans D., Vranken E.. Appropriate data visualisation is key to Precision Livestock Farming acceptance.. Comput. Electron. Agric. 2016;138:1–10.
- Venter P.J., Hanekom J.J.. Automatic detection of African elephant (Loxodonta africana) infrasonic vocalisations from recordings 2010). Biosyst. Eng. 2010;106:286–294.
- Pereira TD, Aldarondo DE, Willmore L, Kislin M, Wang SS, Murthy M, Shaevitz JW. Fast animal pose estimation using deep neural networks.. Nat Methods 2019 Jan;16(1):117-125.
- Bonneau M., Vayssade J.A., Troupe W., Arquet R.. Outdoor animal tracking combining neural network and time-lapse cameras.. Comput. Electron. Agric. 2020;168:6.
- Nath T, Mathis A, Chen AC, Patel A, Bethge M, Mathis MW. Using DeepLabCut for 3D markerless pose estimation across species and behaviors.. Nat Protoc 2019 Jul;14(7):2152-2176.
- Zhou C., Zhang B., Lin K., Xu D., Chen C., Yang X., Sun C.. Near-infrared imaging to quantify the feeding behavior of fish in aquaculture.. Comput. Electron. Agric. 2017;135:233–241.
- Nasirahmadi A., Edwards S.A., Sturm B.. Implementation of machine vision for detecting behaviour of cattle and pigs.. Livest. Sci. 2017;202:25–38.
- Anamika A.. Study of Techniques used for Medical image Segmentation and Computation of Statistical Test for Region Classification of Brain MRI.. Int. J. Inf. Technol. Comput. Sci. 2013;5:44–53.
- Vayssade J.-A., Arquet R., Bonneau M.. Automatic activity tracking of goats using drone camera.. Comput. Electron. Agric. 2019;162:767–772.
- Bussières G, Jacques C, Lainay O, Beauchamp G, Leblond A, Cadoré JL, Desmaizières LM, Cuvelliez SG, Troncy E. Development of a composite orthopaedic pain scale in horses.. Res Vet Sci 2008 Oct;85(2):294-306.
Citations
This article has been cited 6 times.- Kim SM, Cho GJ. Analysis of Various Facial Expressions of Horses as a Welfare Indicator Using Deep Learning.. Vet Sci 2023 Apr 10;10(4).
- Feuser AK, Gesell-May S, Müller T, May A. Artificial Intelligence for Lameness Detection in Horses-A Preliminary Study.. Animals (Basel) 2022 Oct 17;12(20).
- Topczewska J, Bartman J, Kwater T. Assessing the utility value of Hucul horses using classification models, based on artificial neural networks.. PLoS One 2022;17(7):e0271340.
- Chen X, Yang T, Mai K, Liu C, Xiong J, Kuang Y, Gao Y. Holstein Cattle Face Re-Identification Unifying Global and Part Feature Deep Network with Attention Mechanism.. Animals (Basel) 2022 Apr 18;12(8).
- Zekoll T, Waldherr M, Tessmar-Raible K. Characterization of tmt-opsin2 in Medaka Fish Provides Insight Into the Interplay of Light and Temperature for Behavioral Regulation.. Front Physiol 2021;12:726941.
- Lencioni GC, de Sousa RV, de Souza Sardinha EJ, Corrêa RR, Zanella AJ. Pain assessment in horses using automatic facial expression recognition through deep learning-based modeling.. PLoS One 2021;16(10):e0258672.