Reliability, agreement and variability of a markerless computer vision algorithm for equine gait analysis under field conditions.
Abstract: Computer vision-based algorithms offer accessible alternatives for equine gait analysis but require thorough assessment under diverse conditions. Objective: To evaluate a proprietary vision-based algorithm's reliability in measuring vertical displacement signals (VDS) at the eye, withers and croup, alongside groundline estimation, for horses trotting on straight lines and circles under field conditions. Methods: Cross-sectional comparative study evaluating agreement, variability and reliability of a markerless computer vision algorithm. Methods: We obtained 67 handheld iPhone recordings from 37 horses. A vision-based algorithm and independent manual annotation produced 2D anatomical keypoints on all frames of the recordings, which were processed to estimate a groundline and compute VDS and stride-based maxima (Maxdiff) and minima (Mindiff) vertical differences. Mean signed error (MSE), mean absolute error (MAE) and Bland-Altman plots were used to compare detected and annotated data. Results: The frame level vertical keypoint accuracy was 4.5 mm (eye), 5.5 mm (croup) and 11.8 mm (withers), and the manual annotation error was averaged at 2.7 mm. At the stride level (n = 1556), the overall mean absolute errors (MAEs) for both Maxdiff and Mindiff were 4.3 mm. The eye keypoint exhibited the lowest errors (2.9 mm Maxdiff, 3.0 mm Mindiff), while the withers error was 5.5 mm for both Maxdiff and Mindiff, and the croup showed 4.3 mm (Maxdiff) and 4.4 mm (Mindiff). Trial-level (n = 67) analysis, with below optimal number of strides per trial in this study, revealed lower overall absolute differences (Eye: 2.3 mm, Withers: 3.7 mm, Croup: 2.7 mm), indicating consistent performance across multiple strides. Subjective lameness scoring aligned with objective measures with some variation. Conclusions: Groundline estimation accuracy was stress-tested on treadmill data in another study. Further clinical comparison with established gait analysis systems is recommended. Conclusions: The algorithm robustly measured vertical displacements under varied conditions.
© 2025 The Author(s). Equine Veterinary Journal published by John Wiley & Sons Ltd on behalf of EVJ Ltd.
Publication Date: 2025-11-04 PubMed ID: 41185610DOI: 10.1111/evj.70109Google Scholar: Lookup
The Equine Research Bank provides access to a large database of publicly available scientific literature. Inclusion in the Research Bank does not imply endorsement of study methods or findings by Mad Barn.
- Journal Article
Summary
This research summary has been generated with artificial intelligence and may contain errors and omissions. Refer to the original study to confirm details provided. Submit correction.
Overview
- This study evaluates the reliability and accuracy of a markerless, computer vision-based algorithm designed to analyze horse gait by measuring vertical displacement signals at specific anatomical points during trotting under field conditions.
- The research compares algorithm outputs with manual annotations to assess its precision and consistency in practical use.
Objective and Background
- Equine gait analysis traditionally requires specialized equipment and markers on horses, which can be invasive and less accessible in field conditions.
- Computer vision-based markerless algorithms offer a non-invasive, accessible alternative but need thorough validation for reliability and accuracy under varied conditions, such as different movement patterns (straight lines, circles) and environments.
- This study specifically assesses a proprietary vision-based algorithm focusing on vertical displacement signals (VDS) at the horse’s eye, withers, and croup, and evaluates groundline estimation essential for accurate movement measurement.
Methods
- Data Collection:
- 67 handheld iPhone video recordings of 37 horses trotting on straight and circular paths were collected in field settings.
- Algorithm Processing:
- Both the vision-based algorithm and independent manual annotation identified 2D anatomical keypoints on every video frame.
- From these keypoints, the algorithm estimated the groundline—used as a reference baseline for vertical measurements—and computed vertical displacements (VDS) along with stride-based maxima (Maxdiff) and minima (Mindiff) vertical differences.
- Comparative Analysis:
- Mean signed error (MSE), mean absolute error (MAE), and Bland-Altman plots were used to compare keypoint locations and VDS metrics between algorithm outputs and manual annotations.
Results
- Keypoint Detection Accuracy:
- At the frame level, the average vertical keypoint errors were:
- Eye: 4.5 mm error
- Croup: 5.5 mm error
- Withers: 11.8 mm error
- Manual annotation error was lower at approximately 2.7 mm, representing a baseline human-level precision.
- At the frame level, the average vertical keypoint errors were:
- Stride-Level Vertical Displacement Accuracy:
- Analysis over 1556 strides showed mean absolute errors for both Maxdiff and Mindiff of 4.3 mm overall.
- By anatomical point:
- Eye had the smallest errors (Maxdiff: 2.9 mm, Mindiff: 3.0 mm), indicating the highest precision here.
- Withers exhibited the highest errors (5.5 mm for both Maxdiff and Mindiff), possibly related to movement variability or detection challenges.
- Croup errors were moderate (Maxdiff: 4.3 mm, Mindiff: 4.4 mm).
- Trial-Level Analysis (Per Recording):
- Across 67 trials (recordings), signal stability improved when aggregating multiple strides, reflected by lower absolute differences:
- Eye: 2.3 mm
- Withers: 3.7 mm
- Croup: 2.7 mm
- Despite fewer strides per trial than optimal, the algorithm maintained consistent performance.
- Across 67 trials (recordings), signal stability improved when aggregating multiple strides, reflected by lower absolute differences:
- Subjective Validation:
- Comparisons with subjective lameness scoring showed alignment with objective gait metrics, though some variation was noted, indicating potential clinical relevance and areas for further refinement.
Conclusions and Implications
- The computer vision algorithm robustly measured vertical displacement signals of horses’ eyes, withers, and croup under diverse field conditions, both straight and circular trotting.
- Groundline estimation, critical for accurate VDS measurement, was validated separately in treadmill data, stressing the algorithm’s adaptability and precision.
- Errors were generally low, close to manual annotation precision, demonstrating the algorithm’s reliability for stride-level and trial-level gait analysis.
- There is potential for clinical application in equine movement assessment, especially given the alignment with subjective lameness evaluations.
- The study recommends further comparisons with established gait analysis systems to solidify the algorithm’s clinical utility and extend validation across more settings and horse populations.
- Overall, this technology could enable accessible, non-invasive, and accurate gait assessments for veterinarians and researchers using everyday devices like smartphones, facilitating field-based equine health and performance monitoring.
Cite This Article
APA
Key K, Berg K, Kirkegaard J, Andresen KR, Skov Hansen S.
(2025).
Reliability, agreement and variability of a markerless computer vision algorithm for equine gait analysis under field conditions.
Equine Vet J.
https://doi.org/10.1111/evj.70109 Publication
Researcher Affiliations
- Keydiagnostics, Fredensborg, Denmark.
- Keydiagnostics, Fredensborg, Denmark.
- Keydiagnostics, Fredensborg, Denmark.
- iKeyVet, Fredensborg, Denmark.
- Department of Veterinary Clinical Sciences, University of Copenhagen, Copenhagen, Denmark.
Grant Funding
- KeyDiagnostics ApS
References
This article includes 34 references
- Arkell M, Archer RM, Guitian FJ, May SA. Evidence of bias affecting the interpretation of the results of local anaesthetic nerve blocks when assessing lameness in horses. Vet Rec 2006;159:346–349.
- Fuller CJ, Bladon BM, Driver AJ, Barr ARS. The intra‐ and inter‐assessor reliability of measurement of functional outcome by lameness scoring in horses. Vet J 2006;171:281–286.
- Hammarberg M, Egenvall A, Pfau T, Rhodin M. Rater agreement of visual lameness assessment in horses during lungeing. Equine Vet J 2016;48:78–82.
- Parkes RSV, Weller R, Groth AM, May S, Pfau T. Evidence of the development of “domain‐restricted” expertise in the recognition of asymmetric motion characteristics of hindlimb lameness in the horse. Equine Vet J 2009;41:112–117.
- Hewetson M, Christley RM, Hunt ID, Voute LC. Investigations of the reliability of observational gait analysis for the assessment of lameness in horses. Vet Rec 2006;158:852–857.
- Buchner HH, Savelberg HH, Schamhardt HC, Barneveld A. Head and trunk movement adaptations in horses with experimentally induced fore‐ or hindlimb lameness. Equine Vet J 1996;28:71–76.
- Rhodin M, Smit IH, Persson‐Sjodin E, Pfau T, Gunnarsson V, Björnsdóttir S. Timing of vertical head, withers and pelvis movements relative to the footfalls in different equine gaits and breeds. Animals 2022;12:3053.
- Starke SD, May SA, Pfau T. Understanding hind limb lameness signs in horses using simple rigid body mechanics. J Biomech 2015;48:3323–3331.
- Weishaupt MA, Wiestner T, Hogg HP, Jordan P, Auer JA. Compensatory load redistribution of horses with induced weightbearing hindlimb lameness trotting on a treadmill. Equine Vet J 2004;36:727–733.
- Serra Bragança FM, Rhodin M, van Weeren PR. On the brink of daily clinical application of objective gait analysis: what evidence do we have so far from studies using an induced lameness model?. Vet J 2018;234:11–23.
- Roepstorff C, Dittmann MT, Arpagaus S, Serra Bragança FM, Hardeman A, Persson‐Sjödin E. Reliable and clinically applicable gait event classification using upper body motion in walking and trotting horses. J Biomech 2021;114:110146.
- Keegan KG. Evidence‐based lameness detection and quantification. Vet Clin North Am Equine Pract 2007;23:403–423.
- Keegan KG, Kramer J, Yonezawa Y, Maki H, Pai PF, Dent EV. Assessment of repeatability of a wireless, inertial sensor‐based lameness evaluation system for horses. Am J Vet Res 2011;72:1156–1163.
- Pfau T, Witte TH, Wilson AM. A method for deriving displacement data during cyclical movement using an inertial sensor. J Exp Biol 2005;208:2503–2514.
- Hardeman AM, Egenvall A, Serra Bragança FM, Swagemakers J‐H, Koene MHW, Roepstorff L. Visual lameness assessment in comparison to quantitative gait analysis data in horses. Equine Vet J 2022;54:1076–1085.
- Starke SD, Clayton HM. A universal approach to determine footfall timings from kinematics of a single foot marker in hoofed animals.. PeerJ 2015;3:e783.
- Serra Bragança FM, Roepstorff C, Rhodin M, Pfau T, van Weeren PR, Roepstorff L. Quantitative lameness assessment in the horse based on upper body movement symmetry: the effect of different filtering techniques on the quantification of motion symmetry.. Biomed Signal Process Control 2020;57:101674.
- Keegan KG, Yonezawa Y, Pai PF, Wilson DA, Kramer J. Evaluation of a sensor‐based system of motion analysis for detection and quantification of forelimb and hind limb lameness in horses.. Am J Vet Res 2004;65:665–670.
- Scott B, Seyres M, Philp F, Chadwick EK, Blana D. Healthcare applications of single camera markerless motion capture: a scoping review.. PeerJ 2022;10:e13517.
- Pereira TD, Aldarondo DE, Willmore L, Kislin M, Wang SS‐H, Murthy M. Fast animal pose estimation using deep neural networks.. Nat Methods 2019;16:117–125.
- Mathis A, Mamidanna P, Cury KM, Abe T, Murthy VN, Mathis MW. DeepLabCut: markerless pose estimation of user‐defined body parts with deep learning.. Nat Neurosci 2018;21:1281–1289.
- Cao Z, Hidalgo G, Simon T, Wei S‐E, Sheikh Y. OpenPose: Realtime multi‐person 2D pose estimation using part affinity fields.. 2018.
- Esteva A, Chou K, Yeung S, Naik N, Madani A, Mottaghi A. Deep learning‐enabled medical computer vision.. Npj Digit Med 2021;4:1–9.
- Wang Y, Li J, Zhang Y, Sinnott RO. Identifying lameness in horses through deep learning.. Proceedings of the 36th annual ACM symposium on applied computing New York, NY: Association for Computing Machinery; 2021. p. 976–985.
- Lawin FJ, Byström A, Roepstorff C, Rhodin M, Almlöf M, Silva M. Is markerless more or less? Comparing a smartphone computer vision method for equine lameness assessment to multi‐camera motion capture.. Animals 2023;13:390.
- Gan Z, Wiestner T, Weishaupt MA, Waldern NM, David Remy C. Passive dynamics explain quadrupedal walking, trotting, and tölting.. J Comput Nonlinear Dyn 2016;11:0210081‐2100812.
- Butterworth S. On the theory of filter amplifiers.. Wirel Eng 1930;7:536–541.
- Bland JM, Altman DG. Statistical methods for assessing agreement between two methods of clinical measurement.. Lancet Lond Engl 1986;1:307–310.
- Giavarina D. Understanding Bland Altman analysis.. Biochem Med 2015;25:141–151.
- Daniel WW. Biostatistics: a foundation for analysis in the health sciences.. 6th ed. New York: John Wiley & Sons; 2018.
- Gut D, Trombini M, Kucybała I, Krupa K, Rozynek M, Dellepiane S. Use of superpixels for improvement of inter‐rater and intra‐rater reliability during annotation of medical images.. Med Image Anal 2024;94:103141.
- Bosch S, Serra Bragança F, Marin‐Perianu M, Marin‐Perianu R, Van der Zwaag BJ, Voskamp J. EquiMoves: a wireless networked inertial measurement system for objective examination of horse gait.. Sensors 2018;18:850.
- Kallerud AS, Marques‐Smith P, Bendiksen HK, Fjordbakk CT. Objective movement asymmetry in horses is comparable between markerless technology and sensor‐based systems.. Equine Vet J 2024;57(1):115–125.
- Wade L, Needham L, McGuigan P, Bilzon J. Applications and limitations of current markerless motion capture methods for clinical gait biomechanics.. PeerJ 2022;10:e12995.
Citations
This article has been cited 0 times.Use Nutrition Calculator
Check if your horse's diet meets their nutrition requirements with our easy-to-use tool Check your horse's diet with our easy-to-use tool
Talk to a Nutritionist
Discuss your horse's feeding plan with our experts over a free phone consultation Discuss your horse's diet over a phone consultation
Submit Diet Evaluation
Get a customized feeding plan for your horse formulated by our equine nutritionists Get a custom feeding plan formulated by our nutritionists