Skip to content

Conversation

@dorfmanrobert
Copy link
Contributor

@dorfmanrobert dorfmanrobert commented Sep 3, 2024

Problem

During model training (and inference), for files whose pixels do not correspond to their EXIF rotation metadata, the images are loaded without adjusting according to this metadata.

Solution

During training (and inference) apply the orientation if present.

Changelog

In Torch Dataloaders, reorient images according to EXIF rotation metadata if present.

@linear
Copy link

linear bot commented Sep 3, 2024

@dorfmanrobert dorfmanrobert changed the title handle exif data when loading images during training [DAR-3695][Internal] Handle exif data when loading images during training Sep 3, 2024
@dorfmanrobert dorfmanrobert changed the title [DAR-3695][Internal] Handle exif data when loading images during training [DAR-3695][External] Handle exif data when loading images during training Sep 3, 2024
@dorfmanrobert dorfmanrobert merged commit c0888e1 into master Sep 3, 2024
@dorfmanrobert dorfmanrobert deleted the dar-3695-add-image-orientation-in-local-dataset branch September 3, 2024 10:38
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.

3 participants