Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept 2D motion data from webcam #98

Open
mholt opened this issue Apr 14, 2023 · 15 comments
Open

Accept 2D motion data from webcam #98

mholt opened this issue Apr 14, 2023 · 15 comments
Labels
enhancement New feature or request

Comments

@mholt
Copy link

mholt commented Apr 14, 2023

Thanks for replying on HN. I think it'd be super fun to do this with the family: scan in the kids' drawings, turn on our webcam, and start moving around so that the drawn characters mimic our motions. Then all we have to do is record that, overlay some audio / voice, and we have ourselves a little makeshift family-friendly movie studio :)

Understandably this would be a ton of work but I just wanted to put it out there if there's interest!

@justinduynguyen
Copy link

justinduynguyen commented Apr 16, 2023

i'm interested into this too, hope it will be implemented soon :D

@hjessmith hjessmith added the enhancement New feature or request label Apr 16, 2023
@Aditya-Naresh
Copy link

Sounds like a nice feature to work on. I think it's possible to reuse some of the existing feature designs from other meta projects and slightly tweak it to fit it here for the above purpose. Easier said than done :)

@justinduynguyen
Copy link

justinduynguyen commented Apr 17, 2023 via email

@hjessmith
Copy link
Contributor

This seems like a good extension, but it'll be a bit of work and require some refactoring. In essence, the BVH class needs to be refactored into a 'Motion Source' class, which can be subclassed to support both 2D and 3D data. In addition, 'Motion Source' class can be subclassed to serve both full motion clips (as the BVH class current does) as well as streaming sources of motion data.

@yujinqiu
Copy link

@hjessmith this feature will make AnimatedDrawings much more fun and solve the most difficult part of motion data capture,
plz consider support it.

@huangxin168
Copy link

The job is amazing! but the rokoko hardware/software seams to be the bigest barrier.
looking forward to a raw wabcam capture support...

@LordMoMA
Copy link

I like this idea, but the webcam should be positioned well to achieve this. A rectangular shape can be placed in the center, indicating people should move within the rectangle in order to generate good quality animations.

This limit might reduce some development difficulties.

@thhung
Copy link

thhung commented Apr 27, 2023

interested on this one as well.

@nashuii
Copy link

nashuii commented Aug 19, 2023

I'm also looking forward to this feature.

@aiXia121
Copy link

aiXia121 commented Nov 8, 2023

great work,

@Brian417-cup
Copy link

Hello everyone, I have successfully exported a great demo that you can only provide drawings and video as input. The code can automatically generate 3D pose and corresponding BVH file from 2D data. All processes are offline and end-to-end in a virtual conda environment. The result is like this:
demo

I have also successfully removed redundant OpenMMLab dependencies that may cause some problems in docker. That means you don't generate intermediate results from torchserver.

@mholt
Copy link
Author

mholt commented Apr 1, 2024

That's amazing! Looking forward to trying it :)

@hjessmith
Copy link
Contributor

@Brian417-cup that's exciting to hear! I'll be on the lookout for a PR from you. I'm sure folks will really enjoy it.

@Brian417-cup
Copy link

@hjessmith . Sure, I'm very glad to share the complete scripts. I also believe it will inspire others to find better solutions, especially for the projection method proposed in the thesis (Currently, it's static and pre-defined in the config file).

@hjessmith
Copy link
Contributor

Thanks for submitting the PR. This is a big one- it's going to take me a while to sort though, and I foresee some potential licensing issues with Animated Drawings' MIT licensing if I merge the PR as is. I'll have to investigate the proper path forward here.

In the meantime, I'll drop a link to the PR here in case anyone wants to download it directly and give it a try:
#277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests