Found the answer eventually, the tag I needed was 36867:
from PIL import Image
def get_date_taken(path):
return Image.open(path)._getexif()[36867]
Found the answer eventually, the tag I needed was 36867:
from PIL import Image
def get_date_taken(path):
return Image.open(path)._getexif()[36867]