Treadmill speeds on gait analysis.

New project for OpenCap, which is a new software package to estimate 3D human movement dynamics from smartphone videos. OpenCap strongly relies on OpenSim.
POST REPLY
User avatar
Juan Pablo García Muñoz
Posts: 6
Joined: Mon Oct 03, 2022 11:28 am

Treadmill speeds on gait analysis.

Post by Juan Pablo García Muñoz » Wed Jan 31, 2024 3:22 am

Hello,

Thanks in advance for all the help you have provided me.

I have another question. I am running on my computer the code example_gait_analysis.py.
My data comes from treadmill session, but there is no way to put the treadmill speed in the settings.
When I get the gait speed it is underestimated.
Is there a way to put the treadmill speed in gait_analysis.py or somewhere else? and probably this will help as well to get more accurate results in the other gait metrics?

session: bc977b98-e6ef-4382-871e-5fee7856c873
trial : cs_5mh

Thanks a lot!

Juan Pablo

Tags:

User avatar
Scott Uhlrich
Posts: 124
Joined: Tue Jan 20, 2015 4:29 pm

Re: Treadmill speeds on gait analysis.

Post by Scott Uhlrich » Wed Jan 31, 2024 10:34 am

We estimate treadmill speed from marker positions at different points in the gait cycle here. https://github.com/stanfordnmbl/opencap ... is.py#L208

Try dropping a breakpoint in that function to see what is going on.

We verified it on a couple sessions and it was within .05m/s of the treadmill speed.

User avatar
Juan Pablo García Muñoz
Posts: 6
Joined: Mon Oct 03, 2022 11:28 am

Re: Treadmill speeds on gait analysis.

Post by Juan Pablo García Muñoz » Thu Feb 01, 2024 2:10 am

Thank you Scott.

I saw on your example and your paper that it was very accurate. I believe the error comes because I am analyzing a quite different gait pattern. Actually I have another error telling me the gait events are not in the correct order. But it should be because of the gait adopted.

I will try to modify that piece of code and I'll let you know if it works.

best regards!!

JP.

User avatar
Antoine Falisse
Posts: 439
Joined: Wed Jan 07, 2015 2:21 am

Re: Treadmill speeds on gait analysis.

Post by Antoine Falisse » Fri Feb 02, 2024 10:51 pm

Thanks, keep us posted. Antoine

POST REPLY