Person-Specific Template Matching Using a Dynamic Time Warping Step-Count Algorithm for Multiple Walking Activities
- PMID: 38005449
- PMCID: PMC10675039
- DOI: 10.3390/s23229061
Person-Specific Template Matching Using a Dynamic Time Warping Step-Count Algorithm for Multiple Walking Activities
Abstract
This study aimed to develop and evaluate a new step-count algorithm, StepMatchDTWBA, for the accurate measurement of physical activity using wearable devices in both healthy and pathological populations. We conducted a study with 30 healthy volunteers wearing a wrist-worn MOX accelerometer (Maastricht Instruments, NL). The StepMatchDTWBA algorithm used dynamic time warping (DTW) barycentre averaging to create personalised templates for representative steps, accounting for individual walking variations. DTW was then used to measure the similarity between the template and accelerometer epoch. The StepMatchDTWBA algorithm had an average root-mean-square error of 2 steps for healthy gaits and 12 steps for simulated pathological gaits over a distance of about 10 m (GAITRite walkway) and one flight of stairs. It outperformed benchmark algorithms for the simulated pathological population, showcasing the potential for improved accuracy in personalised step counting for pathological populations. The StepMatchDTWBA algorithm represents a significant advancement in accurate step counting for both healthy and pathological populations. This development holds promise for creating more precise and personalised activity monitoring systems, benefiting various health and wellness applications.
Keywords: accelerometry; dynamic time warping; physical activity; step counting.
Conflict of interest statement
The authors declare no conflict of interest.
Figures







Similar articles
-
Capturing accelerometer outputs in healthy volunteers under normal and simulated-pathological conditions using ML classifiers.Annu Int Conf IEEE Eng Med Biol Soc. 2020 Jul;2020:4604-4607. doi: 10.1109/EMBC44109.2020.9176201. Annu Int Conf IEEE Eng Med Biol Soc. 2020. PMID: 33019019
-
Validation of the ADAMO Care Watch for step counting in older adults.PLoS One. 2018 Feb 9;13(2):e0190753. doi: 10.1371/journal.pone.0190753. eCollection 2018. PLoS One. 2018. PMID: 29425196 Free PMC article.
-
Validation of open-source step-counting algorithms for wrist-worn tri-axial accelerometers in cardiovascular patients.Gait Posture. 2022 Feb;92:206-211. doi: 10.1016/j.gaitpost.2021.11.035. Epub 2021 Nov 27. Gait Posture. 2022. PMID: 34864486
-
User-Independent Recognition of Sports Activities From a Single Wrist-Worn Accelerometer: A Template-Matching-Based Approach.IEEE Trans Biomed Eng. 2016 Apr;63(4):788-96. doi: 10.1109/TBME.2015.2471094. Epub 2015 Aug 21. IEEE Trans Biomed Eng. 2016. PMID: 26302509
-
Step Counting: A Review of Measurement Considerations and Health-Related Applications.Sports Med. 2017 Jul;47(7):1303-1315. doi: 10.1007/s40279-016-0663-1. Sports Med. 2017. PMID: 28005190 Free PMC article. Review.
References
-
- Ryu U., Ahn K., Kim E., Kim M., Kim B., Woo S., Chang Y. Adaptive step detection algorithm for wireless smart step counter; Proceedings of the International Conference on Information Science and Applications; Pattaya, Thailand. 24–26 June 2013; pp. 1–4. - DOI
-
- Strath S.J., Kaminsky L.A., Ainsworth B.E., Ekelund U., Freedson P.S., Gary R.A., Richardson C.R., Smith D.T., Swartz A.M., American Heart Association Physical Activity Committee of the Council on Lifestyle and Cardiometabolic Health and Cardiovascular, Exercise, Cardiac Rehabilitation and Prevention Committee of the Council on Clinical Cardiology, and Council Guide to the assessment of physical activity: Clinical and research applications: A scientific statement from the American Heart Association. Circulation. 2013;128:2259–2279. - PubMed
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources