Neural Network Model Validation for Gait Length Prediction Using Three Markers Attached to the Pelvis, Trunk, and Head

Document Type : Research Paper

Authors

1 Department of Physical Education and Sports Science, Faculty of Psychology and Educational Sciences, Yazd University, Yazd, Iran

2 Department of Physical Education, Farhangian University, P.O. Box 889-14665, Tehran, Iran

3 . Department of Sport Injuries and Biomechanics, Faculty of Sports and Health Sciences, Tehran University, Tehran, Iran

Abstract
Background and Purpose
Motion analysis is essential for understanding human movement, with traditional approaches relying heavily on marker-based optical systems valued for their high accuracy and temporal resolution. Nonetheless, these systems are typically costly, time-consuming, and confined to controlled laboratory environments. Recent advancements have shifted attention towards more practical alternatives, including reduced-marker and markerless motion capture technologies. Reducing marker count streamlines setup while still capturing critical gait parameters. Markerless systems, empowered by deep learning and computer vision, enable natural, unrestricted gait assessments in real-world contexts. Despite some limitations in distal segment accuracy, these approaches are increasingly viable in research and clinical applications. Deep neural networks are central to this progress by facilitating automated anatomical landmark tracking. This study aims to validate a neural network model that estimates step length during walking using only three anatomical markers positioned on the pelvis, trunk, and head, balancing data simplicity and predictive efficacy.
 
Methods
Twenty-eight healthy young males (22.2 ± 2.09 years), recruited via purposive sampling, participated after providing informed consent; the protocol was approved by Yazd University Institutional Review Board (IR.YAZD.REC.1403.078). Participants performed treadmill walking at three speeds (preferred, slow, fast) for minimum durations of 40 seconds per speed while being recorded by a 3D motion capture system (Optitrack Duo120, USA) sampling at 120 Hz. Reflective marker clusters were placed on participants’ pelvis and back of the head; single markers were positioned on the C7 vertebra and heels. Marker positions were averaged to extract linear displacement data for head, trunk, and pelvis.
Raw data were filtered with a fourth-order Butterworth low-pass filter (6 Hz cutoff) and analyzed in MATLAB (R2021b). A custom script converted local to global coordinates, segmented gait cycles, normalized marker positions relative to participant height, and extracted step length at initial double support phase. Final data matrices comprised 4,710 time-normalized frames per marker. Thirteen predictor sets combining 3 to 9 features across sagittal, frontal, and transverse planes from pelvis, trunk, and head markers were created.
A two-layer feedforward neural network with 20 hidden neurons was trained using Levenberg–Marquardt optimization. Data were partitioned into training (70%), validation (15%), and test (15%) subsets. Step length served as the target variable. Model performance was appraised by Bland–Altman plots, mean error, coefficient of variation (CV), root mean square error (RMSE), and Pearson correlation coefficients interpreted as weak (≤0.40), moderate (0.40–0.74), or strong (≥0.75). Analyses were conducted using MATLAB custom scripts.
 
Results
Mean step length based on heel markers was 29.8% of participant height (SD = 1.5%). From 4,710 gait cycles, 707 (15%) random samples validated the model predictions, with statistical characteristics mirroring the full dataset. The top-performing model utilized six features representing frontal and sagittal plane movements of all three markers, achieving a strong correlation with direct step length measures (R = 0.93), coefficient of determination (R²) of 86.5%, and RMSE of 7.59 cm. The poorest performance occurred when using only lateral marker movements (R = 0.31). Ten out of thirteen predictor configurations demonstrated strong to very strong correlations, all statistically significant, reinforcing the feasibility of accurate step length estimation with minimal upper-body markers.
 
Conclusion
This study validates a neural network-based approach to estimate step length during walking using just three anatomical markers on the pelvis, trunk, and head. The highest accuracy arose when incorporating anterior-posterior and superior-inferior directional data, aligning with biomechanical principles where forward progression and vertical center-of-mass oscillations predominate gait dynamics. Models incorporating medial-lateral data alone exhibited poorer performance due to minimal variance in those directions. Integrating multiple markers and movement planes yields comprehensive gait characterization, while reliance on single markers suffers from reduced informational content and increased signal variability, underscoring the benefit of multi-input neural network models.
These results concur with prior studies employing machine learning or wearable sensor methods (IMUs), which reported correlations ranging from 0.79 to 0.95 for kinematic and kinetic estimates. Marker-based approaches without wearables similarly showed strong correlations (0.85–0.94), dependent on marker placement and target variables.
The utilization of central body anatomical landmarks, more reliably detected in markerless systems compared to distal limb markers, represents a meaningful advancement in simplifying gait analysis, reducing equipment needs, and accelerating data processing. This method holds promise especially in clinical and sports settings constrained by resource limitations.
 
Article Message
Step length estimation via a neural network trained on minimal motion data from pelvis, trunk, and head markers in primary movement directions offers high predictive validity relative to traditional heel-marker measures. Leveraging central anatomical landmarks enhances practicality and cost-effectiveness of gait assessment without sacrificing accuracy, facilitating widespread adoption in diverse applied settings.
Ethical Considerations
The study was approved by the Institutional Review Board of Yazd University (Approval Code: IR.YAZD.REC.1403.078). Participant consent and ethical guidelines were rigorously observed.
Authors’ Contributions
Conceptualization: Mostafa Haj Lotfalian (33%), Mohammad Javad Razi (33%), Fatemeh Zare Bidoki (33%)
Data Collection: Mostafa Haj Lotfalian (60%), Mohammad Javad Razi (20%), Fatemeh Zare Bidoki (20%)
Data Analysis: Mostafa Haj Lotfalian (40%), Mohammad Javad Razi (30%), Fatemeh Zare Bidoki (30%)

Manuscript Writing: Mostafa Haj Lotfalian (33%), Mohammad Javad Razi (33%), Fatemeh Zare Bidoki (33%)
Review and Editing: Mostafa Haj Lotfalian (30%), Mohammad Javad Razi (35%), Fatemeh Zare Bidoki (35%)
Literature Review: Mohammad Javad Razi (50%), Fatemeh Zare Bidoki (50%)
Project Management: Mostafa Haj Lotfalian (100%)

Conflict of Interest
The authors declare no conflicts of interest related to this article.
 
Acknowledgments
The authors sincerely thank all participants for their valuable contributions to this study.
 

Keywords

Subjects

1. Winter DA. Biomechanics and motor control of human gait: normal, elderly and pathological. Waterloo: University of Waterloo Press; 1991.
2. Colyer SL, Evans M, Cosker DP, Salo AI. A review of the evolution of vision-based motion analysis and the integration of advanced computer vision methods towards developing a markerless system. Sports Medicine-Open. 2018;4:1-5. https://doi.org/10.1186/s40798-018-0139-y
3. Wren TA, Tucker CA, Rethlefsen SA, Gorton III GE, Õunpuu S. Clinical efficacy of instrumented gait analysis: Systematic review 2020 update. Gait & posture. 2020;80:274-9. https://doi.org/10.1016/j.gaitpost.2020.05.031
4. Carneros-Prado D, González-Velázquez S, Dobrescu CC, González I, Fontecha J, Hervás R. Automation of observational gait assessment through an optical 3D motion system and transformers. Applied Intelligence. 2025;55(3):1-21. https://doi.org/10.1007/s10489-024-06163-w
5. Moro M, Marchesi G, Hesse F, Odone F, Casadio M. Markerless vs. marker-based gait analysis: A proof of concept study. Sensors. 2022;22(5):2011. https://doi.org/10.3390/s22052011
6. Van der Kruk E, Reijne MM. Accuracy of human motion capture systems for sport applications; state-of-the-art review. European Journal of Sport Science. 2018;18(6):806-19. https://doi.org/10.1080/17461391.2018.1463397
7. Carse B, Meadows B, Bowers R, Rowe P. Affordable clinical gait analysis: An assessment of the marker tracking accuracy of a new low-cost optical 3D motion analysis system. Physiotherapy. 2013;99(4):347-51. https://doi.org/10.1016/j.physio.2013.03.001    
8. Desmarais Y, Mottet D, Slangen P, Montesinos P. A review of 3D human pose estimation algorithms for markerless motion capture. Computer Vision and Image Understanding. 2021;212:103275. https://doi.org/10.1016/j.cviu.2021.103275
9. He Y, Chen Y, Tang L, Chen J, Tang J, Yang X, Su S, Zhao C, Xiao N. Accuracy validation of a wearable IMU-based gait analysis in healthy female. BMC Sports Science, Medicine and Rehabilitation. 2024;16(1):2. https://doi.org/10.1186/s13102-023-00792-3
10. Park S, Yoon S. Validity evaluation of an inertial measurement unit (IMU) in gait analysis using statistical parametric mapping (SPM). Sensors. 2021;21(11):3667. https://doi.org/10.3390/s21113667
11. Kobsar D, Charlton JM, Tse CT, Esculier JF, Graffos A, Krowchuk NM, Thatcher D, Hunt MA. Validity and reliability of wearable inertial sensors in healthy adult walking: A systematic review and meta-analysis. Journal of Neuroengineering and Rehabilitation. 2020;17:1-21. https://doi.org/10.1186/s12984-020-00685-3
12. Zhou L, Tunca C, Fischer E, Brahms CM, Ersoy C, Granacher U, Arnrich B. Validation of an IMU gait analysis algorithm for gait monitoring in daily life situations. In: 2020 42nd  Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC). 2020 (pp. 4229-4232). IEEE. https://doi.org/10.1109/EMBC44109.2020.9176827
13. Cronin NJ, Rantalainen T, Ahtiainen JP, Hynynen E, Waller B. Markerless 2D kinematic analysis of underwater running: A deep learning approach. Journal of Biomechanics. 2019;87:75-82. https://doi.org/10.1016/j.jbiomech.2019.02.021
14. Kanko RM, Laende E, Selbie WS, Deluzio KJ. Inter-session repeatability of markerless motion capture gait kinematics. Journal of Biomechanics. 2021;121:110422. https://doi.org/10.1016/j.jbiomech.2021.110422
15. 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. Nature neuroscience. 2018;21(9):1281-9. https://doi.org/10.1038/s41593-018-0209-y
16. Mathis A, Schneider S, Lauer J, Mathis MW. A primer on motion capture with deep learning: principles, pitfalls, and perspectives. Neuron. 2020;108(1):44-65. https://doi.org/10.1016/j.neuron.2020.09.017
17. Bertram J, Krüger T, Röhling HM, Jelusic A, Mansow-Model S, Schniepp R, Wuehr M, Otte K. Accuracy and repeatability of the Microsoft Azure Kinect for clinical measurement of motor function. PLoS One. 2023;18(1):e0279697. https://doi.org/10.1371/journal.pone.0279697
18. Otte K, Kayser B, Mansow-Model S, Verrel J, Paul F, Brandt AU, Schmitz-Hübsch T. Accuracy and Reliability of the Kinect Version 2 for Clinical Measurement of Motor Function. PLoS One. 2016;11(11):e0166532. https://doi.org/10.1371/journal.pone.0166532
 
19. Khan A, Galarraga O, Garcia-Salicetti S, Vigneron V. Deep Learning for Quantified Gait Analysis: A Systematic Literature Review. IEEE Access. 2024. https://doi.org/10.1109/ACCESS.2024.3434513
20. Hussain S, Spratford W, Goecke R, Kotecha K, Jamwal PK. Deep learning-driven analysis of a six-bar mechanism for personalized gait rehabilitation. Journal of Computing and Information Science in Engineering. 2025;25:011001-1. https://doi.org/:10.3390/jimaging7070109
21. Youssfi Alaoui A, Tabii Y, Oulad Haj Thami R, Daoudi M, Berretti S, Pala P. Fall detection of elderly people using the manifold of positive semidefinite matrices. Journal of Imaging. 2021;7(7):109. https://doi.org/:10.3390/jimaging7070109
22. Sethi D, Prakash C, Bharti S. Estimation of lower extremity parameters for marker-less gait analysis. Multimedia Tools and Applications. 2024;83(13):40125-45. https://doi.org/10.1007/s11042-023-17195-8
23. Wang H, Su B, Lu L, Jung S, Qing L, Xie Z, Xu X. Markerless gait analysis through a single camera and computer vision. Journal of Biomechanics. 2024;165:112027. https://doi.org/10.1016/j.jbiomech.2024.112027
24. Kanko RM, Laende EK, Strutzenberger G, Brown M, Selbie WS, DePaul V, Scott SH, Deluzio KJ. Assessment of spatiotemporal gait parameters using a deep learning algorithm-based markerless motion capture system. Journal of Biomechanics. 2021;122:110414. https://doi.org/10.1016/j.jbiomech.2021.110414
25. Nayak S, Das RK. Application of artificial intelligence (AI) in prosthetic and orthotic rehabilitation. InService Robotics. 2020. IntechOpen. https://doi.org/10.5772/intechopen.93903
26. Reddy A, Reddy RP, Roghani AK, Garcia RI, Khemka S, Pattoor V, Jacobs M, Reddy PH, Sehar U. Artificial intelligence in parkinson's disease: early detection and diagnostic advancements. Ageing Research Reviews. 2024:102410. https://doi.org/10.1016/j.arr.2024.102410
27. Molavian R, Fatahi A, Abbasi H, Khezri D. Artificial intelligence approach in biomechanics of gait and sport: a systematic literature review. Journal of Biomedical Physics & Engineering. 2023;13(5):383. https://doi.org/10.31661/jbpe.v0i0.2305-1621
28. Glüer CC, Blake G, Lu Y, Blunt1 BA, Jergas1 M, Genant1 HK. Accurate assessment of precision errors: how to measure the reproducibility of bone densitometry techniques. Osteoporosis International. 1995;5:262-70. https://doi.org/10.1007/BF01774016
29. Fleiss, J. L. Design and analysis of clinical experiments. John Wiley & Sons; 2011.
30. McCabe Megan V. Utilizing neural networks and wearables to quantify hip joint angles and moments during walking and stair ascent. ENGS. 2020, 17.
31. Liang W, Wang F, Fan A, Zhao W, Yao W, Yang P. Deep-learning model for the prediction of lower-limb joint moments using single inertial measurement unit during different locomotive activities. Biomedical Signal Processing and Control. 2023;86:105372. https://doi.org/10.1016/j.bspc.2023.105372
32. Chen S, Bangaru SS, Yigit T, Trkov M, Wang C, Yi J. Real-time walking gait estimation for construction workers using a single wearable inertial measurement unit (IMU). In2021 IEEE/ASME International Conference on Advanced Intelligent Mechatronics (AIM) 2021 (pp. 753-758). IEEE. https://doi.org/10.1109/AIM46487.2021.9517592
33. Byun S, Han JW, Kim TH, Kim KW. Test-retest reliability and concurrent validity of a single tri-axial accelerometer-based gait analysis in older adults with normal cognition. PLoS One. 2016;11(7):e0158956. https://doi.org/10.1371/journal.pone.0158956
34. Godfrey A, Del Din S, Barry G, Mathers JC, Rochester L. Instrumenting gait with an accelerometer: A system and algorithm examination. Medical engineering & physics. 2015 ;37(4):400-7. https://doi.org/10.1016/j.medengphy.2015.02.003
35. Liu D, He M, Hou M, Ma Y. Deep learning based ground reaction force estimation for stair walking using kinematic data. Measurement. 2022;198:111344. https://doi.org/10.1016/j.measurement.2022.111344
36. Boswell MA, Uhlrich SD, Thomas K, Kolesar JA, Gold GE, Beaupre GS, Delp SL. A neural network to predict the knee adduction moment in patients with osteoarthritis using anatomical landmarks obtainable from 2D video analysis. Osteoarthritis and cartilage. 2021;29(3):346-56. https://doi.org/10.1016/j.joca.2020.12.018
37. Kim, Y.K., et al., A deep-learning approach for automatically detecting gait-events based on foot-marker kinematics in children with cerebral palsy—Which markers work best for which gait patterns? Plos one. 2022.17(10):e0275878. https://doi.org/10.1371/journal.pone.0275878
38. Geerse DJ, Coolen BH, Roerdink M. Kinematic validation of a multi-Kinect v2 instrumented 10-meter walkway for quantitative gait assessments. PloS one. 2015;10(10):e0139913. https://doi.org/10.1371/journal.pone.0139913   
39. Kuo AD, Donelan JM. Dynamic principles of gait and their clinical implications. Physical Therapy. 2010;90(2):157-74. https://doi.org/10.2522/ptj.20090125
Volume 17, Issue 45
Summer 2025
Pages 57-72

  • Receive Date 18 January 2025
  • Accept Date 12 August 2025