This project is a simple python script for adding timestamps to photos downloaded with JWally’s procare-media-downloader.
The code simply reads the filename of the downloaded photo and adds a timestamp back into the image exif metadata.
As of 6/23/2023, due to upstream changes in Procare Software’s API and web portal, procare-media-downloader is stale and so this repository no longer supports this flow. I will post a solution with the new Procare Software format eventually.
I have added jsigman/procare-photo-scraper to be able to bulk download one month’s photos at a time. This seems to work for now.
The procare files have timestamps in their filenames. We can inject the timestamp data back into the image, therefore, by using the names of each image file.
import datetime
return datetime.datetime.fromtimestamp(1665512507.858249)
: 2022-10-11 14:21:47.858249
brew install exiftool
sudo apt install libimage-exiftool-perl
pip install -r requirements.txt
python3 timestamp_procare_photos.py PATH_TO_YOUR_IMAGES_DIR
MIT License