

@staticmethod
def get_raw_exif(imgpath):
    ret = {
        
    }
    img = Image.open(imgpath)
    info = img._getexif()
    for (tag, value) in info.items():
        decoded = ExifTags.TAGS.get(tag, tag)
        ret[decoded] = value
    return ret

dataset/ETHPy150Open niwinz/niwi-web/src/niwi/photo/image.py ImageAdapter.get_raw_exif/original