Created
January 10, 2024 18:47
-
-
Save dayjaby/e9a349138b83d7a9604d3d00b001260a to your computer and use it in GitHub Desktop.
read image id number and strings from Sony ILX LR1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyexiv2 | |
img = pyexiv2.Image("DSC00093.JPG") | |
img.read_exif() | |
data = img.read_exif() | |
print(data["Exif.Sony1.0x2042"]) # read ID | |
print(data["Exif.Sony1.0x2043"]) # read string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment