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

refactor: update image resizing implementation to use OpenCV and add … #268

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

r-bit-rry
Copy link

closing this issue:
#253

removing scipy dependency
chaging resize_image from scipy.ndimage.zoom to opencv resize
adding unittest to avoid regression

Roy Belio and others added 2 commits March 21, 2025 14:22

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@maxlund
Copy link

maxlund commented Mar 23, 2025

This might be worth taking a look at
https://zuru.tech/blog/the-dangers-behind-image-resizing

image

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@Blaizzy
Copy link
Owner

Blaizzy commented Mar 24, 2025

@r-bit-rry could you share some benchmark results with the old and new method?

@Blaizzy
Copy link
Owner

Blaizzy commented Mar 24, 2025

Also, why can't we use PIL for this?

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

Successfully merging this pull request may close these issues.

None yet

3 participants