Skip to content
Discussion options

You must be logged in to vote

I've try some experiments below.

I'm not sure the left image is the bias which you means.

If you only want to use resize, you should get center, width and height there.
Then, using 1.25 times of width and height to crop the image.
Finally, you can resize the crop image to model inputs.

I'm not sure why the input image should get the 1.25 times background padding.

Hope this experiment will be helpful for you.

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@step404
Comment options

@step404
Comment options

Answer selected by jin-s13
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1193 on February 16, 2022 01:58.