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

output image resolution doesn't match input #6

Open
skunkwerk opened this issue Sep 9, 2019 · 1 comment
Open

output image resolution doesn't match input #6

skunkwerk opened this issue Sep 9, 2019 · 1 comment

Comments

@skunkwerk
Copy link

It seems like the output image that's inferred is sometimes of lower resolution than the input.
For example, my input was 1280x720, but the output is 768x432.

It looks like the resizing is happening in utils.py/post_process_result, but I'm not sure why it's resizing - is it to keep the output face from being upscaled too much?

thank you!

@shaoanlu
Copy link
Owner

shaoanlu commented Sep 9, 2019

Auto image scaling is used to prevent OOM error for face detection and alignment.

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