You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@frank690 thansk for the feature request. Can you please share what kind of exif metadata you are interested in and for what purpose? Recently, we added auto orientation from exif application to read_image to transform the input image according to existing exif info.
You are right, EXIF data mainly stores information about the camera and/or image in their different tags.
But there is - for example - also a tag called UserComment with the ID 0x9286.
In my use-case I train on image data and the labels are provided within this specific tag.
So while reading the image I also want to retreive said tag.
I updated the above code example to include the TIFF file-type case.
馃殌 The feature
Being able to use torchvision.io.read_image(...) to read PNG files alongside the custom metadata stored in the exchangeable image file format (EXIF).
Motivation, pitch
I am training different deep learning models and some of them rely on custom metadata stored in EXIF inside PNG files.
Currently I have to do
but would much rather just ditch PIL.Image and do
Alternatives
No response
Additional context
No response
Edit
added case distinction between TIFF and PNG files
The text was updated successfully, but these errors were encountered: