Created
January 22, 2014 17:38
-
-
Save tejovanthn/8563321 to your computer and use it in GitHub Desktop.
Script to yield (index, shutter speed) for processing.
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 exifread | |
# Open image file for reading (binary mode) | |
i = 1 | |
with open("~/timelapse/files.txt", "r") as fn: | |
for line in fn: | |
f = open("/home/tejovanth/timelapse/src/"+line[:-1], 'rb') | |
# Return Exif tags | |
tags = exifread.process_file(f) | |
print str(i) + ", " + str(tags["EXIF ExposureTime"]) + ", " | |
i += 1 | |
f.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment