Skip to content

Instantly share code, notes, and snippets.

@rruntsch
Created August 29, 2021 19:27
Show Gist options
  • Save rruntsch/69ecd99b0720468213ccf7c935e73bce to your computer and use it in GitHub Desktop.
Save rruntsch/69ecd99b0720468213ccf7c935e73bce to your computer and use it in GitHub Desktop.
"""
Name: photo_exif_controller.py
Author: Randy Runtsch
Date: March 19, 2021
Update Date: August 28, 2021
Description: This module uses the c_photo_exif class, which in turn uses the ExifReader module
to identify the date and time when each of a series of
photographs was taken.
"""
from c_photo_exif import c_photo_exif
print("Program started.")
exif_read = c_photo_exif('D:/project_data/photo_exif/data_2/1_input', \
'D:/project_data/photo_exif/data_2/2_output/photo_exif.csv')
#exif_read = c_photo_exif('D:/project_data/photo_bird_exif/data_iphone12/1_input', \
# 'D:/project_data/photo_bird_exif/data_iphone12/3_output/photo_iphone12_exif.csv', \
# 'Minneapolis', 'US/Central')
print('Exif data processed for ' + str(exif_read.get_rows_processed()) + ' photos.')
print("Program finished.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment