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

Will resizing proportionally scale and fill the image to the specified size #187

Open
lofyol opened this issue Dec 4, 2023 · 2 comments

Comments

@lofyol
Copy link

lofyol commented Dec 4, 2023

No description provided.

@lofyol lofyol changed the title Hello, may I ask how the resize interface achieves proportional filling and scaling Will resizing proportionally scale and fill the image to the specified size Dec 4, 2023
@dusty-nv
Copy link
Owner

dusty-nv commented Dec 4, 2023

@lofyol no, it will change the aspect ratio

@lofyol
Copy link
Author

lofyol commented Dec 6, 2023

@lofyol no, it will change the aspect ratio

Thank you, but how to preprocess images into commonly used formats for object detection in CUDA,for example, resizing an image of size 1280x720 proportionally to 640x640, and then adding dimensions and other operations

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