Mugshots for Grandma's Fridge and Digital Frame

 by MakersBox
Some years ago, my mother started posting a printout showing all her Grandkids on her fridge.  She is pretty tech savvy (and an Apple user), but keeping photos up to date with the younger ones growing like weeds must have been a chore.  We also gave her a digital picture frame for one Christmas, so I was looking for a way to automate the process and produce both a mugshot sheet for her fridge and easily updatable photos for the frame.

So, several years down the road and with a new digital frame, I've got a system I think "Instructable Worthy", so I'll share it with you.  If you are not afraid of a little Python scripting action, and you like what you see shown here, proceed . . .

 
Remove these adsRemove these ads by Signing Up

Step 1: What You'll Need

Installed opensource software:
   Python (www.python.org)
   Python Image Library (www.pythonware.com/products/pil/)

A directory on your computer containing:
   Framer.py python script (provided)
   names.csv file (see image below)
   Directory named 'photos' containing pictures (see image below)

The names.csv file is simply a text file with the following fields separated by commas:
    firstName, middleName, lastName, birthDay/Month, birthYear
   (the lastName isn't used, but could be if you want to modify the script).

I like to used one portrait photo showing the face, and one landscape showing a candid shot of them (doing hobbies or with friends).  The file names must start with the name of the child (i.e. Abigail2.jpg).  The script sorts landscape and portraits, and resizes as needed.  If you want to crop, use a 4:3 or 3:4 ratio (360x480 or 480x360) .


names.csv958 bytes
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!