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

What's the meaning of 'scale' in mpii dataset? #2

Closed
EthanGuan opened this issue Dec 26, 2017 · 5 comments
Closed

What's the meaning of 'scale' in mpii dataset? #2

EthanGuan opened this issue Dec 26, 2017 · 5 comments

Comments

@EthanGuan
Copy link

if I use my own dataset, every image is 640 * 480, what's the value of scale should I set it to?

@xingyizhou
Copy link
Owner

Hi EthanGuan,
Thanks for your interest in this project. The 'scale' in the mpii dataset is provided as an annotation, it is the square-shape human bounding size. It is dependent on the human bounding box size, not just the input image size. But it is safe to just set the scale to 640 and center at (320, 240).

@bwuzhang
Copy link

bwuzhang commented Mar 1, 2018

Would you please elaborate on this? How do I get bounding box given center and scale?

@xingyizhou
Copy link
Owner

The upper-left and bottom-right coordinates of bounding box are (center[0] - scale / 2, center[1] - scale / 2), (center[0] + scale / 2, center[1] + scale / 2).

@bwuzhang
Copy link

bwuzhang commented Mar 1, 2018 via email

@xingyizhou
Copy link
Owner

Yes, it is '200 x scale' based on Newell's hourglass implementation. What's the following question?

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

3 participants