Skip to content

Instantly share code, notes, and snippets.

@tejovanthn
tejovanthn / exifread.py
Created January 22, 2014 17:38
Script to yield (index, shutter speed) for processing.
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)