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

pose video #50

Closed
redhood-dark opened this issue Dec 20, 2023 · 13 comments
Closed

pose video #50

redhood-dark opened this issue Dec 20, 2023 · 13 comments

Comments

@redhood-dark
Copy link

Hi, can you elaborate on the production process of pose video, Why do I always make videos with mmpose with key points, thank you

@mayuelala
Copy link
Owner

thank you for your attention, you can refer our issue here , if you have any trouble, let me know. please star this project, thanks ~

@redhood-dark
Copy link
Author

OK,I star this project, it's really perfect! But how can i replace background to black,it seems not having this option
1

@mayuelala
Copy link
Owner

thanks, you need to init a same size tensor with input image. like this:
background = torch.zeros_like(image)
The mmpose doesn't support to black ground by option.

@redhood-dark
Copy link
Author

OK, I solved it, thank you bro!

@redhood-dark
Copy link
Author

Hi, I put my pose video into the code, but I met an error
IndexError: Out of bound indices: [ 65 70 75 80 85 90 95 100 105 110 115 120 125 130 135 140 145 150 155],
have you met this problem? or do you have any idea with this?
this is my video

dance.mov

@mayuelala
Copy link
Owner

firstly, the color of skeleton is totally different

@redhood-dark
Copy link
Author

redhood-dark commented Dec 21, 2023

yeah,you are right, but why? the head and body is also blue in this pic
image

@mayuelala
Copy link
Owner

maybe you can check your visual code~ you also need to notice the length of sketch video and sample stride, if you have any other problem, let me know

@redhood-dark
Copy link
Author

It worked! Really thank you!

@mayuelala
Copy link
Owner

if you have any other problem, you can add me wechat: Marlin_Sagittarius

@ltttpku
Copy link

ltttpku commented Jan 17, 2024

hi, may I ask where to add code for replacing the background with black?

@redhood-dark
Copy link
Author

yeah, maybe you can debug the source code in mmpose, and find where to generate the image

@Kebii
Copy link

Kebii commented May 30, 2024

yeah,you are right, but why? the head and body is also blue in this pic image

I meet the same problem. The color map of the mmpose is different from the demo of this repo. Do you know how I can solve it?

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

No branches or pull requests

4 participants