Image loader ignores EXIF orientation #1228
-
Hi! I’ve been using SAHI for a while now but just recently noticed that images with EXIF rotation/Orientation metadata aren’t handled correctly. SAHI leaves the images unrotated, which causes issues in downstream code. The image loading function supports reading Exif data, but there’s no user-facing option to apply the orientation when loading. Line 186 in 6455e84 There should be an option to enable the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I don't know how you use sahi currently, i.e. if you call predict with an image path or somehow else. |
Beta Was this translation helpful? Give feedback.
-
@onuralpszr what do you think about setting the default value of |
Beta Was this translation helpful? Give feedback.
I just merged it. Now it's available with the latest version (v0.11.34): #1242, so you can try as well.