Skip to content

Commit

Permalink
Merge pull request #27 from shubhMaheshwari/main
Browse files Browse the repository at this point in the history
Updated Dataset codebase link.  Updated README wtih rendering instrcu…
  • Loading branch information
shubhMaheshwari authored Jan 5, 2025
2 parents f2b6ca9 + 6bcc55d commit 1bc375e
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 10 deletions.
45 changes: 36 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,44 @@ python src/opencap_reconstruction_render.py <subject-path> <mot-path> <save-pa
### Rendering
Renders a video of the skeleton video using polyscope
- Compare <= 3 .mot files
- For OpenCap
```
python src/plot_3.py MCS_DATA/Data/fb6e8f87-a1cc-48b4-8217-4e8b160602bf/MarkerData/SQT01.trc
```
- For Simulation data
```
python src/plot_3.py MCS_DATA/Data/<subject-path>/OpenSimData/Dynamics/SQT01_segment_?/kinematics_activations_SQT01_segment_?_muscle_driven.mot
```
- Plot 5 timesteps
```
python3 python src/opencap_reconstruction_render.py # For complete dataset
python src/plot_series.py MCS_DATA/Data/015b7571-9f0b-4db4-a854-68e57640640d/OpenSimData/Dynamics/SQT01_segment_2/kinematics_activations_SQT01_segment_2_muscle_driven.mot
```
Or
- Plot series in perspective view with ground.
```
python src/plot_main_diagram.py MCS_DATA/LIMO/FinalFinalHigh/mot_visualization/latents_subject_run_d66330dc-7884-4915-9dbb-0520932294c4/entry_19_FinalFinalHigh.mot render/bige_d66330dc-7884-4915-9dbb-0520932294c4_images.mp4

python src/plot_main_diagram.py MCS_DATA/mdm_baseline/015b7571-9f0b-4db4-a854-68e57640640d/results_5_radians.mot
```
- Compare MoCap with any mot file
```
python3 python src/opencap_reconstruction_render.py <subject-path> <mot-path> <save-path> # Specific trc file
```
Expand Down Expand Up @@ -307,13 +341,6 @@ Multiple modules need to be installed
#### TODO: Per sample pose reconstruction using PCA
#### TODO: Per sample per joint fourier analysis
#### Muscle forces reaction data analysis
```
Rajagopal, A., Dembia, C.L., DeMers, M.S., Delp, D.D., Hicks, J.L., Delp, S.L. (2016) Full-body musculoskeletal model for muscle-driven simulation of human gait. IEEE Transactions on Biomedical Engineering
Expand Down
2 changes: 1 addition & 1 deletion docs/ucsd-opencap-dataset.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h1 class="title is-1 publication-title">Style-based controllable motion generat
</span>
<!-- Code Link. -->
<span class="link-block">
<a href="https://github.com/shubhMaheshwari/UCSD-Fitness-Dataset"
<a href="https://github.com/Rose-STL-Lab/UCSD-OpenCap-Fitness-Dataset"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="fab fa-github"></i>
Expand Down

0 comments on commit 1bc375e

Please sign in to comment.