OpenCap pipeline locally

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
Carlos Gonçalves
Posts: 127
Joined: Wed Jun 08, 2016 4:56 am

OpenCap pipeline locally

Post by Carlos Gonçalves » Tue May 09, 2023 5:35 pm

Hello everyone.

I will start studying OpenCap capabilities to evaluate jump performance. I was really interested in the option below, found in https://github.com/stanfordnmbl/opencap-core.
Run this pipeline locally using videos collected near-synchronously from another source (e.g., videos collected synchronously with marker-based motion capture). Easy-to-use utilities for this pipeline are under development and will be released soon.
Are there some guidelines for this type of use of OpenCap? Is there a piece of code with some steps like:

- Import videos for calibration (checked box)
- Import motion videos
- Subject calibration
- motion
- Run OpenPose to collect the skeleton
- Run OpenCap to estimate 3D markers
- Run OpenCap to solve the motion

Best regards.

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

Re: OpenCap pipeline locally

Post by Scott Uhlrich » Thu May 11, 2023 6:56 am

Hi Carlos,

This is all possible, but requires some re-organization of paths, etc. We plan to release some nice code for this in the next few months.

Here's a start to what code you would need.

- Intrinsic calibration for whatever cameras you are using. https://github.com/stanfordnmbl/opencap ... rinsics.py
- All computations from extrinsic camera calibration through kinematics happen in https://github.com/stanfordnmbl/opencap ... in/main.py
- This is an example to show you how you'd do this with many subjects in batch. You'll need to organize your folders appropriately first. https://github.com/stanfordnmbl/opencap ... ematics.py

User avatar
Carlos Gonçalves
Posts: 127
Joined: Wed Jun 08, 2016 4:56 am

Re: OpenCap pipeline locally

Post by Carlos Gonçalves » Fri May 12, 2023 6:41 am

Thanks a lot, Scott.

I will start my way on your post. This is really helpful.

Best regards and congratulations to you and the team on the project.

User avatar
Logan Wade
Posts: 8
Joined: Tue May 25, 2021 7:23 am

Re: OpenCap pipeline locally

Post by Logan Wade » Fri Aug 11, 2023 2:48 am

suhlrich wrote:
Thu May 11, 2023 6:56 am
Hi Carlos,

This is all possible, but requires some re-organization of paths, etc. We plan to release some nice code for this in the next few months.

Here's a start to what code you would need.

- Intrinsic calibration for whatever cameras you are using. https://github.com/stanfordnmbl/opencap ... rinsics.py
- All computations from extrinsic camera calibration through kinematics happen in https://github.com/stanfordnmbl/opencap ... in/main.py
- This is an example to show you how you'd do this with many subjects in batch. You'll need to organize your folders appropriately first. https://github.com/stanfordnmbl/opencap ... ematics.py
Hi Scott and Antoine,

I was just wondering if you did end up releasing some code for this as Scott mentioned above.

Much appreciated!!

Logan

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

Re: OpenCap pipeline locally

Post by Antoine Falisse » Fri Aug 11, 2023 8:16 am

Hi Logan,

Not yet unfortunately.

Best,
Antoine

User avatar
Corey Np
Posts: 1
Joined: Wed Nov 22, 2023 6:45 am

Re: OpenCap pipeline locally

Post by Corey Np » Wed Nov 22, 2023 6:50 am

Hi Antoine,

We're really keen on testing this locally on our computer for longer/higher res recordings. I'm sure there's a lot of other developments that are keeping your team busy, but any ballpark idea for when this code will be released?

Cheers,
Corey

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

Re: OpenCap pipeline locally

Post by Scott Uhlrich » Wed Nov 22, 2023 1:54 pm

Hi Corey,

We don't have an estimated timeline unfortunately.

Thanks,
Scott

POST REPLY