VisionMD: an open-source tool for video-based analysis of motor function in movement disorders

Introduction

Assessing motor symptoms is crucial for diagnosing and managing movement disorders like Parkinson’s disease (PD), yet current clinical approaches have significant limitations. The Movement Disorders Society Unified Parkinson’s Disease Rating Scale (MDS-UPDRS) Part-III Motor Examination, the most widely used method for assessing motor symptoms in PD1,2, is inherently subjective and the accuracy of assessments depends on the raters’ experience. This subjectivity poses challenges, especially in multi-center or longitudinal studies, where multiple raters can introduce unwanted variability3. Additionally, these assessments struggle to detect subtle motor symptoms in early-stage PD, limiting their utility for early diagnosis4,5. Current methods also face scalability challenges, as they require highly trained clinicians. These limitations call for more objective, scalable, and sensitive tools that can provide consistent assessments of motor function.

Recent advances in video-based analysis of MDS-UPDRS motor tasks offer great promise for complementing clinical assessments with objective, accessible evaluations of motor function6,7,8,9,10,11. However, these technologies are often inaccessible due to the need for programming and machine learning expertise. Several commercial and non-commercial video processing platforms, such as KELVIN, PARK, and FastEval, have been introduced for video-based assessment of MDS-UPDRS motor tasks11,12,13,14. On these platforms, patient’s videos are processed with proprietary algorithms that are closed-sourced and cannot be accessed or modified. Moreover, patients’ data must be uploaded to a cloud server for processing, introducing potential risks to data privacy and security. Finally, commercial platforms face significant barriers to accessibility due to high licensing costs and proprietary hardware requirements.

To address these limitations, we introduce VisionMD, an open-source software platform designed to automate video-based analysis of MDS-UPDRS motor tasks. VisionMD provides a scalable, user-friendly tool for evaluating motor symptoms in PD and other movement disorders. Different from other platforms, VisionMD processes data locally, maximizing patient data privacy and data protection. As Fig. 1 shows, VisionMD includes three primary components: (i) Subject Selection, (ii) Task Selection, and (iii) Task Analysis. In the Subject Selection component, users select a video and VisionMD automatically localizes the position of the subject of interest in the video. In the Task Selection component, users define the start and end times of the different motor tasks in the video using frame-level precision. Labels for the tasks can be selected from a drop-down menu. Finally, in the Task Analysis component, VisionMD uses machine learning algorithms to track body movements during the performance of the selected motor tasks and computes kinematic features that quantify the severity of motor symptoms. A more detailed description of the tool is provided in the Methods.

Fig. 1: A key components of the VisionMD workflow.
figure 1

The user begins by uploading a video and VisionMD processes it to localize the person in the video. If multiple people are present, the user selects the subject to be analyzed. Next, the user defines the start and end of each motor task using the waveform display, assigns task labels from a drop-down menu, and can assign custom names. Finally, VisionMD automatically tracks body part movements, computes a time-series signal that represents the movement of the tracked body parts, and detects the movement’s start, end, and peak. Tracking results can be manually adjusted if needed. VisionMD computes kinematics features from the signal and these can be stored for future use.

Full size image

To test VisionMD, we first asked whether it could identify clinically expected changes resulting from DBS therapy. We collected video data from patients (n = 12) with Parkinson’s disease (PD) undergoing a DBS-ON/DBS-OFF protocol at the University of Florida. Data corresponded to videos of four MDS-UPDRS Part III motor tasks, including Finger Tapping, Hand Movement, Leg Agility, and Toe Tapping. Table 1 presents the kinematic features that differ significantly between DBS-ON/DBS-OFF conditions for the Finger Tapping Test, including movement amplitude and the variability of movement amplitude and speed. These findings reflect the known impact of DBS in improving motor consistency and reducing hand tremor15. Additional kinematic features measured by VisionMD, and the results for the other motor tasks are available as supplementary material. To further validate the clinical utility of VisionMD, we also collected Finger Tapping videos from patients (n = 12) undergoing a standardized levodopa challenge protocol (MED-ON/MED-OFF) at the University of Würzburg. Table 1 demonstrated that kinematic features related to movement speed that differed significantly between MED-ON/MED-OFF conditions. This observation is consistent with the well-documented effects of dopamine replacement therapy on bradykinesia16. Additional kinematic features measured by VisionMD are available as supplementary material. Notably, VisionMD did not detect significant changes in movement amplitude or variability between MED-ON/MED-OFF conditions, suggesting a specific influence of levodopa on velocity-related features. Together, these results highlight VisionMD’s sensitivity in capturing clinically relevant motor changes across different therapeutic interventions.

Table 1 Paired t-test Statistics for Features Extracted Using VisionMD that were significantly different between groups
Full size table

Next, we measured the reliability of VisionMD by evaluating inter-rater agreement among six participants with no prior experience using the software: three experienced movement disorder neurologists and three medical students. After a brief tutorial, participants analyzed three Finger Tapping task videos using VisionMD. As Table 2 demonstrates, there was an excellent agreement for all 23 video-derived kinematic features regardless of the raters’ level of experience, the Intraclass Correlation Coefficients (ICCs) for all variables ranged from 0.86 to 1.00. Movement speed, a critical feature for assessing bradykinesia, achieved perfect agreement for all raters (ICC = 1.00), underscoring the robustness and user-independence of VisionMD in delivering consistent outcomes.

Table 2 Intra-Class Correlation and Minimal Detectable Change computer for all the video-derived kinematics features provided by VisionMD for the Finger Tapping Test
Full size table

To further contextualize VisionMD’s reliability, we compared it to traditional clinical scoring methods. Five additional movement disorder specialists assessed the same videos using the MDS-UPDRS Part III criteria. The ICC for the clinical scores was 0.74, reflecting moderate agreement among clinicians. This moderate agreement highlights a known limitation of traditional scoring methods, even among highly trained clinicians. In contrast, VisionMD consistently produced higher ICC values, emphasizing its potential to provide objective, reproducible measures of motor function and reduce variability in clinical assessments.

To ensure that the observed changes in our measurements reflect true differences rather than measurement error, we calculated the Minimal Detectable Change (MDC) for each kinematic feature provided by VisionMD under different medication conditions. Utilizing the ICC to assess measurement reliability, we derived the Standard Error of Measurement (SEM) and subsequently computed the MDC at a 95% confidence level. We expressed the MDC values as percentages relative to each attribute’s mean score to enable comparison across measures. As Table 2 demonstrates, most relative MDCs were below 10%, indicating very high sensitivity of VisionMD. Some attributes exhibited MDCs between 10% and 20%; for example, the standard deviation of Movement Amplitude had a relative MDC of 16.75%, and the standard deviation of Opening Speed was 18.53%, suggesting that larger changes are necessary to be considered significant for these measures. Conversely, attributes such as Mean Cycle Duration and Rate demonstrated a relative MDC below 1%, allowing detection of even extremely small changes. Importantly, all relative MDCs remained below 20%, confirming that VisionMD reliably detects small changes in patient outcomes.

Despite the small size of the datasets analyzed, VisionMD successfully analyzed data recorded independently by two teams (one at the University of Florida, USA, and another at the University of Würzburg, Germany) using distinct recording protocols, settings, illumination conditions, and cameras, emphasizing VisionMD’s robustness and flexibility. Moreover, all analyses were performed on standard clinical computers without the need for internet or specialized hardware. VisionMD’s open-sourced code, vailable at www.VisionMD.ai, allows for transparency, adaptability, and the development of custom analyses tailored to individual users.

Currently, VisionMD supports four motor tasks from the MDS-UPDRS Part III, including Finger Tapping, Hand Movement, Leg Agility, and Toe Tapping. Future enhancements of VisionMD will expand the number of tasks analyzed from MDS-UPDRS Part III. Our next objective is to add four additional tasks—3.6 Pronation and Supination of the Hand, 3.15 Postural Tremor of the Hands, 3.16 Kinetic Tremor of the Hands, and 3.17 Rest Tremor Amplitude, allowing VisionMD to quantifying bradykinesia and tremor in PD and related disorders. While VisionMD offers pre-built functionalities, users can also customize it by defining their own tasks and processing pipelines using Python.

VisionMD offers a groundbreaking approach to standardizing motor assessments across clinical settings by providing objective, reproducible measures of motor function. We believe that VisionMD has the potential of accelerating the discovery of new therapies and impact the development of personalized medicine that will benefit from frequent serial monitoring of motor symptoms progression.

Methods

VisionMD – Video Data Analysis

To extract kinematic features from videos, VisionMD uses Google’s MediaPipe framework for body and hand pose detection from videos17. MediaPipe deep learning models for hand and body pose detection provide a balance between accuracy and processing speed, achieving high detection precision and near real-time performance on standard consumer computers. We have validated the accuracy of MediaPipe pose detection models against ground truth measures using different recording conditions7. Once a video is processed using MediaPipe pose estimation models, the 2D position of selected landmarks are used to compute a time-series signal that captures the movement of interest for each motor task. For the Finger Tapping task, the signal represents the Euclidian distance between the tip of the index finger and the tip of the thumb, normalized by hand’s length. For the Hand Movement task, the signal corresponds to the Euclidian distance between the tip of the middle finger and the wrist, normalized by hand’s length. For the Leg Agility task, the signal captures the Euclidian distance between the knee and the mid-shoulder, normalized by the torso length. Lastly, for the Toe Tapping task, the signal represents the Euclidian distance between the toe and the mid-shoulder, normalized by the torso length. VisionMD automatically detects the movement’s start, peak, and end, and users can manually adjust the detected points if necessary. Finally, Kinematic features such as movement amplitude, speed, and rhythm are computed from the time-series signal and can be exported in CSV format. Table 2 presents the list of all kinematics features derived by VisionMD for the different movement tasks.

VisionMD – Installation and User Guide

The VisionMD backend is implemented in Python, while the frontend is developed in JavaScript. The source code is available at www.VisionMD.ai has been verified to be compatible with a wide range of operating systems, including Windows, macOS, and Linux. Running the source code requires Python to be installed on the system.

A stand-alone version of VisionMD is available for both Windows and macOS. This version requires no additional software installation and is ready for use immediately after download, offering a seamless and hassle-free experience.

Video tutorials are available for both single-task (3:14 min long) and multi-task (5:42 min long) workflows. These tutorials provide comprehensive guidance on processing custom videos and downloading the resulting kinematic features, covering all necessary steps in detail. These tutorials are available at www.VisionMD.ai.

Sample videos from a healthy subject performing the different motor tasks that can be processed by VisionMD are available to help users familiarize themselves with the platform and practice processing videos to extract kinematic features. These videos are available at www.VisionMD.ai.

Participants

To evaluate the clinical utility of VisionMD, we analyzed two datasets of PD patients aiming to quantify the effects of different PD therapies on motor function.

Deep Brain Stimulation (DBS) Dataset

This dataset included videos of 12 persons with PD performing four of the MDS-UPDRS Part III motor tasks, including: Finger Tapping, Hand Movement, Leg Agility, and Toe Tapping. Each patient was recorded twice: (1) with the deep brain stimulator (DBS) turned ON (DBS-ON), and (2) with it turned OFF (DBS-OFF). Videos were recorded after an overnight withdrawal of any anti-parkinsonian medication. Subjects arrived at the recording session with their DBS turned ON and performed the first recording session (DBS-ON). The DBS was then turned OFF and patients waited 15 min before performing the second recording session (DBS OFF). Patients performed all the tasks with their right and left body sides. Videos were recorded using a standard video camera at 60 frames per second. All recording occurred at the University of Florida, Florida, USA.

Medication Dataset

This dataset included videos of 12 persons with PD performing the Finger Tapping test. Each patient was recorded twice: (1) after at least 12 h of overnight withdrawal from their dopaminergic medication (MED-OFF), and (2) after administering 1.5 times the levodopa equivalent of their usual morning dose (MED-ON). Patients performed the Finger Tapping test with the left and right hands. This approach follows the standardized Levodopa challenge protocol to evaluate the patients’ motor responsiveness to Levodopa. Videos were recorded using a standard video camera at 60 frames per second. All recording occurred at the University of Würzburg, Würzburg, Germany.

Patients in both datasets provided written informed consent before participating in the recording session, and the protocols were approved by the local IRB.

Data Analysis

Motor tasks videos were analyzed using VisionMD, extracting 23 features relevant for evaluating motor dysfunction. Paired t-tests were conducted to compare ON and OFF conditions for each feature across both datasets. To account for multiple comparisons, p-values were adjusted using false discovery rate (Benjamini-Hochberg correction).

Assessing Inter-Rater Reliability and Minimal Detectable Change

To assess the inter-rater reliability of VisionMD, two groups of raters were recruited: (i) three experienced movement disorder neurologists and (ii) three medical students with limited experience. None of the participants had prior exposure to VisionMD. After viewing a standardized video tutorial, the participants independently analyzed three Finger Tapping videos using VisionMD. All analyses were performed on a personal computer (MacBook Pro 14”, equipped with an Apple M3 Pro chip and 18 GB of RAM). To evaluate the reliability of our measurements, we calculated the Intraclass Correlation Coefficient (ICC) for each attribute using the Pingouin statistical library in Python18. We employed the ICC3 model, which assesses absolute agreement among a fixed set of raters.

For comparison with the traditional clinical scoring, a separate group of five expert neurologists, each with at least eight years of specialization in movement disorders, independently scored the same three Finger Tapping videos. Clinical scores were assigned on a 0–4 scale following the MDS-UPDRS Part III criteria. Again, the ICC was calculated using the the Pingouin statistical library.

We calculated the Minimal Detectable Change (MDC) to determine the smallest change in measurements that can be confidently interpreted as genuine and not attributable to measurement error19. We began by assessing the reliability of our measurements using the Intraclass Correlation Coefficient (ICC), which quantifies the consistency of scores across multiple raters. A higher ICC indicates greater reliability.

We then computed the Standard Error of Measurement (SEM) for each attribute using the relationship SEM = SD × √(1–ICC), where SD represents the standard deviation of the attribute scores. The SEM estimates the measurement precision by reflecting the extent of variability due to measurement error. The MDC was calculated to establish the threshold for significant change at a 95% confidence level using the formula MDC = 1.96 × √2 × SEM. This calculation incorporates a Z-score of 1.96 for the desired confidence level and a factor of √2 to account for variability between two measurements (e.g., baseline and follow-up). To facilitate comparison across different attributes, the MDC values were expressed as percentages relative to each attribute’s mean score.

Related Articles

High baseline levels of PD-L1 reduce the heterogeneity of immune checkpoint signature and sensitize anti-PD1 therapy in lung and colorectal cancers

Immune checkpoint blockade (ICB) therapy only induces durable responses in a subset of cancer patients. The underlying mechanisms of such selective efficacy remain largely unknown. By analyzing the expression profiles of immune checkpoint molecules in different statuses of murine tumors, we found that tumor progression generally randomly upregulated multiple immune checkpoints, thus increased the Heterogeneity of Immune checkpoint Signature (HIS) and resulted in immunotherapeutic resistance. Interestingly, overexpressing one pivotal immune checkpoint in a tumor hindered the upregulation of a majority of other immune checkpoint genes during tumor progression via suppressing interferon γ, resulting in HIS-low. Indeed, PD-L1 high-expression sensitized baseline large tumors to anti-PD1 therapy without altering the sensitivity of baseline small tumors. In line with these preclinical results, a retrospective analysis of a phase III study involving patients with non-small cell lung cancer (NSCLC) revealed that PD-L1 tumor proportion score (TPS) ≥ 50% more reliably predicted therapeutic response in NSCLC patients with baseline tumor volume (BTV)-large compared to patients with BTV-small. Notably, TPS combined with BTV significantly improved the predictive accuracy. Collectively, the data suggest that HIS reflects the dynamic features of tumor immune evasion and dictates the selective efficacy of ICB in a tumor size-dependent manner, providing a potential novel strategy to improve precision ICB. These findings highlight the application of ICB to earlier stages of cancer patients. The integration of PD-L1 with BTV may immediately improve patient stratification and prediction performance in the clinic.

Energy metabolism in health and diseases

Energy metabolism is indispensable for sustaining physiological functions in living organisms and assumes a pivotal role across physiological and pathological conditions. This review provides an extensive overview of advancements in energy metabolism research, elucidating critical pathways such as glycolysis, oxidative phosphorylation, fatty acid metabolism, and amino acid metabolism, along with their intricate regulatory mechanisms. The homeostatic balance of these processes is crucial; however, in pathological states such as neurodegenerative diseases, autoimmune disorders, and cancer, extensive metabolic reprogramming occurs, resulting in impaired glucose metabolism and mitochondrial dysfunction, which accelerate disease progression. Recent investigations into key regulatory pathways, including mechanistic target of rapamycin, sirtuins, and adenosine monophosphate-activated protein kinase, have considerably deepened our understanding of metabolic dysregulation and opened new avenues for therapeutic innovation. Emerging technologies, such as fluorescent probes, nano-biomaterials, and metabolomic analyses, promise substantial improvements in diagnostic precision. This review critically examines recent advancements and ongoing challenges in metabolism research, emphasizing its potential for precision diagnostics and personalized therapeutic interventions. Future studies should prioritize unraveling the regulatory mechanisms of energy metabolism and the dynamics of intercellular energy interactions. Integrating cutting-edge gene-editing technologies and multi-omics approaches, the development of multi-target pharmaceuticals in synergy with existing therapies such as immunotherapy and dietary interventions could enhance therapeutic efficacy. Personalized metabolic analysis is indispensable for crafting tailored treatment protocols, ultimately providing more accurate medical solutions for patients. This review aims to deepen the understanding and improve the application of energy metabolism to drive innovative diagnostic and therapeutic strategies.

Tissue macrophages: origin, heterogenity, biological functions, diseases and therapeutic targets

Macrophages are immune cells belonging to the mononuclear phagocyte system. They play crucial roles in immune defense, surveillance, and homeostasis. This review systematically discusses the types of hematopoietic progenitors that give rise to macrophages, including primitive hematopoietic progenitors, erythro-myeloid progenitors, and hematopoietic stem cells. These progenitors have distinct genetic backgrounds and developmental processes. Accordingly, macrophages exhibit complex and diverse functions in the body, including phagocytosis and clearance of cellular debris, antigen presentation, and immune response, regulation of inflammation and cytokine production, tissue remodeling and repair, and multi-level regulatory signaling pathways/crosstalk involved in homeostasis and physiology. Besides, tumor-associated macrophages are a key component of the TME, exhibiting both anti-tumor and pro-tumor properties. Furthermore, the functional status of macrophages is closely linked to the development of various diseases, including cancer, autoimmune disorders, cardiovascular disease, neurodegenerative diseases, metabolic conditions, and trauma. Targeting macrophages has emerged as a promising therapeutic strategy in these contexts. Clinical trials of macrophage-based targeted drugs, macrophage-based immunotherapies, and nanoparticle-based therapy were comprehensively summarized. Potential challenges and future directions in targeting macrophages have also been discussed. Overall, our review highlights the significance of this versatile immune cell in human health and disease, which is expected to inform future research and clinical practice.

Advance in peptide-based drug development: delivery platforms, therapeutics and vaccines

The successful approval of peptide-based drugs can be attributed to a collaborative effort across multiple disciplines. The integration of novel drug design and synthesis techniques, display library technology, delivery systems, bioengineering advancements, and artificial intelligence have significantly expedited the development of groundbreaking peptide-based drugs, effectively addressing the obstacles associated with their character, such as the rapid clearance and degradation, necessitating subcutaneous injection leading to increasing patient discomfort, and ultimately advancing translational research efforts. Peptides are presently employed in the management and diagnosis of a diverse array of medical conditions, such as diabetes mellitus, weight loss, oncology, and rare diseases, and are additionally garnering interest in facilitating targeted drug delivery platforms and the advancement of peptide-based vaccines. This paper provides an overview of the present market and clinical trial progress of peptide-based therapeutics, delivery platforms, and vaccines. It examines the key areas of research in peptide-based drug development through a literature analysis and emphasizes the structural modification principles of peptide-based drugs, as well as the recent advancements in screening, design, and delivery technologies. The accelerated advancement in the development of novel peptide-based therapeutics, including peptide-drug complexes, new peptide-based vaccines, and innovative peptide-based diagnostic reagents, has the potential to promote the era of precise customization of disease therapeutic schedule.

Probabilistic machine learning for battery health diagnostics and prognostics—review and perspectives

Diagnosing lithium-ion battery health and predicting future degradation is essential for driving design improvements in the laboratory and ensuring safe and reliable operation over a product’s expected lifetime. However, accurate battery health diagnostics and prognostics is challenging due to the unavoidable influence of cell-to-cell manufacturing variability and time-varying operating circumstances experienced in the field. Machine learning approaches informed by simulation, experiment, and field data show enormous promise to predict the evolution of battery health with use; however, until recently, the research community has focused on deterministic modeling methods, largely ignoring the cell-to-cell performance and aging variability inherent to all batteries. To truly make informed decisions regarding battery design in the lab or control strategies for the field, it is critical to characterize the uncertainty in a model’s predictions. After providing an overview of lithium-ion battery degradation, this paper reviews the current state-of-the-art probabilistic machine learning models for health diagnostics and prognostics. Details of the various methods, their advantages, and limitations are discussed in detail with a primary focus on probabilistic machine learning and uncertainty quantification. Last, future trends and opportunities for research and development are discussed.

Responses

Your email address will not be published. Required fields are marked *