jbohnslav / opencv_transforms

OpenCV implementation of Torchvision's image augmentations
MIT License
375 stars 46 forks source link

opencv resize behave differently with pil resize #9

Closed wangchust closed 4 years ago

wangchust commented 4 years ago

opencv resize behave differently with pil resize. https://github.com/python-pillow/Pillow/issues/2718. Any idea to solve this?

jbohnslav commented 4 years ago

This is unfortunate, and might lead to some slightly different results with pretrained networks. However, I have no plans to modify OpenCV's resize functions to match PIL's.