jbohnslav / opencv_transforms

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

Performance comparison with Pillow-simd #4

Open tea1528 opened 5 years ago

tea1528 commented 5 years ago

Hi, I really appreciate your effort to share some valuable code.

My only question is whether using OpenCV is faster than Pillow-SIMD. I have read articles from the web that Pillow is surely slower than OpenCV, but referring to pages like https://python-pillow.org/pillow-perf/, there may be some cases when Pillow-SIMD is faster than OpenCV.

Have you tried using Pillow-SIMD instead of plain Pillow? If so, have you done any comparison between OpenCV and Pillow-SIMD on video datasets like Kinetics?

Thanks again.

jbohnslav commented 5 years ago

Hey Sean,

I haven't done that exact comparison, but if you wanted to do the comparison and compare to opencv, feel free to submit a pull request! Best, Jim

On Sun, Jun 9, 2019, 4:41 AM Sean Cha notifications@github.com wrote:

Hi, I really appreciate your effort to share some valuable code.

My only question is whether using OpenCV is faster than Pillow-SIMD. I have read articles from the web that Pillow is surely slower than OpenCV, but referring to pages like https://python-pillow.org/pillow-perf/, there may be some cases when Pillow-SIMD is faster than OpenCV.

Have you tried using Pillow-SIMD instead of plain Pillow? If so, have you done any comparison between OpenCV and Pillow-SIMD on video datasets like Kinetics?

Thanks again.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jbohnslav/opencv_transforms/issues/4?email_source=notifications&email_token=AEHW2Y2L677IZQJFT6MDILDPZS62ZA5CNFSM4HWI7DE2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYNTP3Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AEHW2Y6CVAUMGYQ43DGX2M3PZS62ZANCNFSM4HWI7DEQ .

PistonY commented 5 years ago

It's a good idea to compare with Pillow-SIMD.