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