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

how to crop images when using detection human result? #12

Open
lucasjinreal opened this issue Jan 27, 2022 · 1 comment
Open

how to crop images when using detection human result? #12

lucasjinreal opened this issue Jan 27, 2022 · 1 comment

Comments

@lucasjinreal
Copy link

Hi, when using detection human result for E2E mesh regression on videos. How to resize the detected human box to target 224x244 input? if a human detected box is rectangle, how to resize it? How to determine the padding values on horizontal and vertical?

@kevinlin311tw
Copy link
Member

I think GraphCMR gives a good tutorial on how to do it. Please refer to their code: https://github.com/nkolot/GraphCMR/blob/master/demo.py

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