datumaro icon indicating copy to clipboard operation
datumaro copied to clipboard

EXIF data like orientation is ignored

Open Jannik-dev opened this issue 8 months ago • 0 comments

Describe the bug

I am trying to load a dataset and some images have EXIF metadata, especially rotation. When I load them using datumaro the rotation appears to be unused.

Steps to Reproduce

  1. Set the EXIF rotation of an image to something else than default
  2. Try to read the file. The size will be off as well as any bounding boxes

Environment:

  • OS: Win11
  • Datumaro version: 1.10.0
  • Python version: 3.11.12

Cause

https://github.com/open-edge-platform/datumaro/blob/a0d7cc776ad9063f01f4bd8671a3ec45e948da5e/src/datumaro/components/media.py#L338-L349

Relates to https://github.com/shibukawa/imagesize_py/issues/49

Jannik-dev avatar Apr 22 '25 16:04 Jannik-dev