Skip to content

nashit-mashkoor/mobility-synthetic-data-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synthetic Data Generator for Mobility and Gait features

This web application is designed to create synthetic data for training AI models to quantify quality of gait and movement. These downstream AI models depend on feature assoicated with movement and gaits. This web application enables us to create synthetic data for these required features

Currently the data is generated for the following features:
  • 'Gait_Speed': the time one takes to walk a specified distance on level surfaces over 2 meters
  • 'Step_Length': the distance between the point of initial contact of one foot and the point of initial contact of the opposite foot
  • 'Step_Width': the distance between the heels of the two feet during double stance
  • 'Tug_Score': the score on the `time for up and go` test
  • 'Cadence': walking rate calculated in steps per minute
  • 'Knee_Flexion': the angle between the femoral median axis (FMA) and the tibial median axis (TMA) (a)
  • 'Sitting_Adl': Number of minutes spent in a day doing activities of daily living sitting
  • 'Lying_Adl': Number of minutes spent in a day doing activities of daily living lying
  • 'Active_Hours': NUmber of minutes spent doing standing chores through out the day
  • The web application allows users to select and emulate data of five different phases of movement (Normal, Slightly Weak, Weak, Dangerously Weak, and Immobile) for a single dataset.

    With this application, you can train AI models that can quantify the quality of
    movement with ease and accuracy.
    

    Features

    • Selectfrom five different phases: Normal, Slightly Weak, Weak, Dangerously Weak, and Immobile
    • Configure settings for each phase
    • Select the features required in the final data
    • Configure settings for each feature
    • Generate a CSV file containing the synthetic data

    Screenshots

    Description Sidebar Configuration

    How to use

    1. Select the phases and features you want to include in the final data.
    2. Configure the settings for each phase and feature.
    3. Click on the "Generate Link" button to create a hyperlink to download the CSV file.
    4. Please note that the data generation link will only be activated once all phases are configured.
    5. The units of features are not specified since ranges are being used to define the values generated, please keep in mind the assumed unit while interpreting the results.

    Technical details

    • Built using Streamlit, pandas, numpy, and scipy
    • Works on Windows, Mac, and Linux

    Future plans

    • Additional options to download the data in other formats
    • Additional visualization options for the generated data

    Contributing

    If you would like to contribute to this project, please follow these guidelines:

    1. Fork the repository
    2. Create a new branch for your changes
    3. Submit a pull request

    Live Demo

    The live version of the application can be found here

    How to run the application on local machine

    1. Clone this repository
    2. Install the required dependencies using pip install -r requirements.txt
    3. Run the application using streamlit run app.py
    4. The application will be running on http://localhost:8501/

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages