-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Add ability to disable EXIF orientations. #5366
Comments
Note on my end, I need to think about how to support EXIF data for the case where the user does want to respect it by default. I've opened an issue for that here: https://gitlab.kitware.com/computer-vision/kwcoco/-/issues/15 but it would be nice if detectron2 could also provide the ability to work with both the case where the underlying coco-style dataset registers the images in a way that ignores exif or accounts for exif, and I think the patch would be rather small. |
🚀 Feature
I would like to be able to specify a config option that disables EXIF orientation corrections.
Motivation & Examples
I have a coco-style dataset where all annotations are stored with respect to the encoded image size on disk. In other words the annotations ignore the EXIF information. I could attempt to modify my dataset to correct for this, but then it will break with all of my tools which will not apply any EXIF transforms. It would be much easier to interoperate with detectron2.
I've been able to work around this on my end by just adding the patch:
which simply skips the exif correction. It would be nice if I could just do something like:
and use detectron2 without modification of the code or dataset.
I could make this PR, but I would like input from maintainers before I do.
The text was updated successfully, but these errors were encountered: