This repository enables the post-processing of human movement kinematics collected using OpenCap. You can run kinematic analyses, download multiple sessions using scripting, and run muscle-driven simulations to estimate kinetics.
More information is available in our paper:
Uhlrich SD, Falisse A, Kidzinski L, Ko M, Chaudhari AS, Hicks JL, Delp SL, 2022. OpenCap: Human movement dynamics from smartphone videos. PLoS Comput Biol 19(10): e1011462. https://doi.org/10.1371/journal.pcbi.1011462. contributed equally
Archived code base corresponding to publication: https://zenodo.org/record/7419973
conda create -n opencap-processing python=3.11
conda activate opencap-processing
conda install -c opensim-org opensim=4.5=py311np123
python
import opensim
opensim.GetVersion()
quit()
conda install spyder
cd Documents
. Make sure there are no spaces in this path.git clone https://github.com/stanfordnmbl/opencap-processing.git
cd opencap-processing
python -m pip install -r requirements.txt
python createAuthenticationEnvFile.py
.env
file) will be saved after authenticating. sudo apt-get install libopenblas-base
example.py
for examples of how to run kinematic analysesexample_kinetics.py
for examples of how to generate muscle-driven simulationsbatchDownload.ipynb
in Colab and follow the instructions
batchDownload.py
and follow the instructions