Goal: Gait analysis using inertial measurement units (IMUs) has emerged as a promising method for monitoring movement disorders. However, the lack of public data and easy-to-use open-source algorithms hinders method comparison and clinical application development. To address these challenges, this publication introduces the gaitmap ecosystem, a comprehensive set of open source Python packages for gait analysis using foot-worn IMUs. Methods: This initial release includes over 20 state-of-the-art algorithms, enables easy access to seven datasets, and provides eight benchmark challenges with reference implementations. Together with its extensive documentation and tooling, it enables rapid development and validation of new algorithm and provides a foundation for novel clinical applications. Conclusion: The published software projects represent a pioneering effort to establish an open-source ecosystem for IMU-based gait analysis. We believe that this work can democratize the access to high-quality algorithm and serve as a driver for open and reproducible research in the field of human gait analysis and beyond.
Wearable sensors are able to monitor physical health in a home environment and detect changes in gait patterns over time. To ensure long-term user engagement, wearable sensors need to be seamlessly integrated into the user’s daily life, such as hearing aids or earbuds. Therefore, we present EarGait, an open-source Python toolbox for gait analysis using inertial sensors integrated into hearing aids. This work contributes a validation for gait event detection algorithms and the estimation of temporal parameters using ear-worn sensors. We perform a comparative analysis of two algorithms based on acceleration data and propose a modified version of one of the algorithms. We conducted a study with healthy young and elderly participants to record walking data using the hearing aid’s integrated sensors and an optical motion capture system as a reference. All algorithms were able to detect gait events (initial and terminal contacts), and the improved algorithm performed best, detecting 99.8% of initial contacts and obtaining a mean stride time error of 12 ± 32 ms. The existing algorithms faced challenges in determining the laterality of gait events. To address this limitation, we propose modifications that enhance the determination of the step laterality (ipsi- or contralateral), resulting in a 50% reduction in stride time error. Moreover, the improved version is shown to be robust to different study populations and sampling frequencies but is sensitive to walking speed. This work establishes a solid foundation for a comprehensive gait analysis system integrated into hearing aids that will facilitate continuous and long-term home monitoring.
5 September 2024 in IEEE Journal of Biomedical and Health Informatics
Gait is an indicator of a person's health status and abnormal gait patterns are associated with a higher risk of falls, dementia, and mental health disorders. Wearable sensors facilitate long-term assessment of walking in the user's home environment. Earables, wearable sensors that are worn at the ear, are gaining popularity for digital health assessments because they are unobtrusive and can easily be integrated into the user's daily routine, for example, in hearing aids. A comprehensive gait analysis pipeline for an ear-worn accelerometer that includes spatial-temporal parameters is currently not existing. Therefore, we propose and compare three algorithmic approaches to estimate step length and gait speed based on ear-worn accelerometer data: a biomechanical model, feature-based machine learning (ML) models, and a convolutional neural network. We evaluated their performance on a step and walking bout level and compared it with an optical motion capture system. The feature-based ML model achieved the best performance with a precision of 4.8 cm on a walking bout level. For gait speed, the machine learning approach achieved an absolute percentage error of 5.4% ( $\pm$ 4.0%). We find that the ML model is able to estimate step length and gait speed with clinically relevant precision. Furthermore, the model is insensitive to different age groups and sampling rates but sensitive to walking speed. To our knowledge, this work is the first contribution to estimating step length and gait speed using ear-worn accelerometers. Moreover, it lays the foundation for a comprehensive gait analysis framework for ear-worn sensors enabling continuous and long-term monitoring at home.
Levodopa (L-dopa) is the gold-standard medication and the most commonly used substance in the treatment of motor complications in Parkinson's disease (PD) patients. The “Wearing-off” phenomenon is the most frequent complication developed by long-term L-dopa therapy, which results in the reemergence of PD symptoms and lower quality of life in patients. Detecting and monitoring the onset and the duration of wearing-off alongside the persistence of the symptoms, known as “delayed-on”, would enable the patients to receive the medication changes in the required time while preventing them from extravagant use of L-dopa. Home monitoring systems using inertial measurement units have enabled us to measure gait parameters in unsupervised environments. By using patients' medication diaries and their gait parameters obtained from continuous real-world data in the course of two weeks, we developed a system to identify the distorted gait spans during L-dopa therapy utilizing personalized machine learning. Our algorithm differentiates between the two states of medication in effect and the distorted gait states with the mean accuracy of 77% ± 3.37. Furthermore, through each model's feature importance, we found that maximum sensor lift was the most prominent feature affected in the distorted gait sequences. We contribute to a better understanding of the repercussions of wearing-off episodes on gait parameters during L-dopa therapy. Moreover, our proposed system facilitates clinicians in monitoring the severity of these episodes more efficiently.
Medication optimization is a common component of the treatment strategy in patients with Parkinson’s disease. As the disease progresses, it is essential to compensate for the movement deterioration in patients. Conventionally, examining motor deterioration and prescribing medication requires the patient’s onsite presence in hospitals or practices. Home-monitoring technologies can remotely deliver essential information to physicians and help them devise a treatment decision according to the patient’s need. Additionally, they help to observe the patient’s response to these changes. In this regard, we conducted a longitudinal study to collect gait data of patients with Parkinson’s disease while they received medication changes. Using logistic regression classifier, we could detect the annotated motor deterioration during medication optimization with an accuracy of 92%. Moreover, an in-depth examination of the best features illustrated a decline in gait speed and swing phase duration in the deterioration phases due to suboptimal medication.Clinical relevance— Our proposed gait analysis method in this study provides objective, detailed, and punctual information to physicians. Revealing clinically relevant time points related to the patient’s need for medical adaption alleviates therapy optimization for physicians and reduces the duration of suboptimal treatment for patients. As the home-monitoring system acts remotely, embedding it in the medical care pathways could improve patients’ quality of life.
Goal: Gait analysis using inertial measurement units (IMUs) has emerged as a promising method for monitoring movement disorders. However, the lack of public data and algorithms hinders method comparison and clinical application development. To address these challenges, this publication introduces the gaitmap ecosystem, a comprehensive set of open source Python packages for gait analysis using foot-worn IMUs. Methods: This initial release includes over 20 state-of-the-art algorithms, enables easy access to seven datasets, and provides eight benchmark challenges with reference implementations. Together with its extensive documentation and tooling, it enables rapid development and validation of new algorithm and provides a foundation for novel clinical applications. Conclusion: The published software projects represent a pioneering effort to establish an open-source ecosystem for IMU-based gait analysis. We believe that this work can democratize the access to high-quality algorithm and serve as a driver for open and reproducible research in the field of human gait analysis and beyond.