Contact and take-off

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
Edilson Borba
Posts: 30
Joined: Fri Oct 07, 2022 11:27 am

Contact and take-off

Post by Edilson Borba » Mon Sep 04, 2023 5:41 am

Hello,

I have some doubts about the processing carried out through the collections made in opencap.

When we need to determine the contact and take-off moments we use the data extracted from opencap and processed by the joint reaction in opensim. These patellofemoral joint reaction data return data that, when processed, we were able to automatically determine these moments. We performed a visual analysis to determine whether the method is reliable and is very sensitive to moments.

However, we are having problems explaining why this happens and why these values only work for running, and we would like to know if there is another way to perform this contact and take-off determination, both for running and walking, and if using these joint reaction data can really be an alternative.

If you can help us it would be a big step for our studies. If you need more details on how the calculations are performed, I can provide you with no problem.

Thank you very much

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

Re: Contact and take-off

Post by Antoine Falisse » Tue Sep 05, 2023 9:47 am

Hey,

Thanks for your question. Could you elaborate on how you run the joint reaction analysis? Do you have force data?

Antoine

User avatar
Edilson Borba
Posts: 30
Joined: Fri Oct 07, 2022 11:27 am

Re: Contact and take-off

Post by Edilson Borba » Tue Sep 05, 2023 10:35 am

Hello,

We ran the analysis in the opens of the joint reaction, and extracted the patellofemoral data, below the data in the excel and the graph of the reactions. We understand that the negative values are the air phase, and the positive values of contact. When we perform the visual analysis the values are confirmed. However, we do not do any other analysis, and perhaps there may be an easier or more validated path than the one we used

Image

Image

Thanks

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

Re: Contact and take-off

Post by Scott Uhlrich » Mon Sep 11, 2023 10:19 am

Hi,

I recommend using marker or kinematic features to segment gait cycles. We recently pushed a tool to do this for walking in opencap-processing. An example for walking is here https://github.com/stanfordnmbl/opencap ... nalysis.py, and you can see how we segment gait cycles here: https://github.com/stanfordnmbl/opencap ... is.py#L324. This segmentation approach (peaks and troughs in anterior-posterior position of heel/toe markers relative to pelvis) may work well for running as well, but we have not tested this.

User avatar
Edilson Borba
Posts: 30
Joined: Fri Oct 07, 2022 11:27 am

Re: Contact and take-off

Post by Edilson Borba » Wed Nov 08, 2023 10:21 am

Hi, thanks for information.

In the code (gait_analysis.py) there is an error in the use of the np.int function. As of NumPy 1.20, the np.int function has been deprecated and you must use the int type. It would be nice to make this change in the code so that others don't have the same error ;)

Thank you very much for providing and helping with your posts and creations.

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

Re: Contact and take-off

Post by Scott Uhlrich » Thu Nov 09, 2023 12:41 pm

updated it. Thanks!

POST REPLY