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

About inference my own images #132

Open
Kazusaisjustice opened this issue May 30, 2023 · 4 comments
Open

About inference my own images #132

Kazusaisjustice opened this issue May 30, 2023 · 4 comments

Comments

@Kazusaisjustice
Copy link

Hello! Thanks for your great working!
I'm confused about how to inference my own images, since when I run demo.py and change the input image to my image, the output seems wrong. Do you have any tutorial?
In addition, if I want to inference a video, should I extract all frames of a video and then inference them one by one in your program?

Waiting for your reply!
Thanks a lot!

@mks0601
Copy link
Owner

mks0601 commented May 30, 2023

You can refer to this: https://github.com/mks0601/3DMPPE_POSENET_RELEASE#quick-demo
Yes. you should extract all frames.

@Kazusaisjustice
Copy link
Author

Thanks for your reply. Actually I tried the quick-demo you mentioned, but when I changed the input image you supplied to my own image, the output 3d keypoints were wrong. The skeleton and the person did not overlap at all.
Is this because the corresponding bbox and root depth are required to input each picture?Does that mean if I want to inference a video, I have to get the bbox and root depth of all frames?

@mks0601
Copy link
Owner

mks0601 commented May 30, 2023

As described in that link, you should set bbox and root depth for each image.

@Kazusaisjustice
Copy link
Author

Well, I got it! Thanks a lot!

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

2 participants