Category Archives: Photography

DIY Digital Photo Frame

In previous posts I had been digitizing old family photos. This process was not simply to restore and preserve past memories but to turn into gifts for the Christmas season. I have over 6,000 new photos I’d like to put into some digital picture frames.

Pursuing online vendors left me wanting more. All sites were filled with poorly built or functioning frames. Some of the top search results on Amazon were products accused of buying all of their 5 star reviews. 800×600 resolution made me cringe as all of my scanned photos were large enough for poster size prints.

I decided I would venture a DIY route for these gifts. The tinkerer inside me knew I would be able to find a better way before Christmas. I originally looked into taking an old LCD monitor attached to a Raspberry Pi and placed into a shadow box, but the price quickly ballooned once all the pieces were tallied. I thought to myself, “Matt, why don’t you use a device that already has the LCD and computer built in together, like a tablet!”

I purchased a used Kindle Fire (first generation) and a Kindle Fire HD 7″ (second generation) and a used Nexus 7 (first generation) for some testing. I planned on stripping the device down out of it’s casing and place it into a thick picture frame instead of a larger shadow box.

The Fire has a resolution of 1024×600 at 169 dpi while the Nexus has 1280×800 at 216 dpi. Even though they were several years old they would be more than powerful enough to handle displaying simple pictures. Most of the pictures I scanned are all 4:3 either horizontal or vertical, so most of the screen wouldn’t be used when displaying an image on a widescreen display. The 8mm video I recorded would use this real estate though. The Nexus comes with a front facing camera, which I wanted to use as a proximity sensor to turn the display on and off depending on traffic walking by the frame.

To get the camera acting as a motion detector for the photo frame I had to string a few apps together. I used Motion Detector which raised “motion captured” events to Tasker which then could turn on the screen and launch the photo slideshow app. Tasker was also able to automatically get the picture frame functionality running when the tablet was powered on, making it more resilient after being powered off accidentally. Tasker also helped turn the apps off at night to save power. I used Cloud PhotoFrame EX.Net to display the slideshow. Even though it’s advertised as a cloud photo app, it worked just fine for local storage as well. I went through a few dozen slideshow apps until I settled on this one. It was the easiest to set up, had lots of display options, can play mp4 videos, and also had the ability to re-scan the photo folders for changes periodically. It has no ads and only asks to be reviewed once.

I wanted to be able to update the images on the frame automatically either over the internet or locally when visiting. I am unable to physically visit all of the recipients of the frames on a regular basis, and even when I can I don’t want to be messing around with opening up the frames and adding/removing pictures from SD cards. I decided to use Syncthing, an awesome service which uses the torrent protocol to sync files between multiple places. Syncthing allows both internet and local network connections. For recipients that don’t have wifi, I simply turn my laptop on at their house and wirelessly connect to the tablet. Syncthing finds the client running on the tablet and syncs the files between my local laptop and the tablet. Anything I add/remove from my local folder gets reflected on the frame automatically. At home I can add new pictures to a Syncthing folder, and they will be automatically pushed to any frame connected to the internet.

Getting the tablets into the picture frames required some modifications. I routed out the backsides of the frames to accommodate the size of the tablets. I centered the display inside the visible portion of the frame. I also removed the glass so the touchscreen could be used to flip to different pictures. I notched out areas around the charger port, power, and volume buttons so they could be manipulated without taking the picture out of the frame. I then used small pieces of sheet metal with screws to create “tabs” to hold the table in place. I used the back frame cover with kickstand to hold the tablet in place.

A rough fit test of the tablets inside the frames
A rough fit test of the tablets inside the frames

In the end it was a great success. It stole the show and the grandparents haven’t set it down since they got it on Christmas. I have noticed one negative downside from this. They’ve requested I scan in another box of pictures they found in the attic… 😐

Everytime they walked through the room they stopped for several minutes :)
Everytime they walked through the room they stopped for several minutes 🙂

Family 8mm Film Digital Transfer Test

I am currently attempting to record Super-8 film into a digital format. Here’s my first shot. I am using an Eumig Mark 500E running at 18 fps. I am using my Sony a6000 recording at 1080p, 60 fps, and ISO 600.

I have researched several methods for transferring old film to digital media. The cheapest are services that project the video onto a wall and then record the video with a video camera. A better option is recording the video straight onto a camera, skipping the wall. The best option in terms of quality is frame-by-frame scanning, but is also the most costly. Given I have around 1.5k feet of 8mm to be digitized, the frame-by-frame method, will optional color correction and burning to bluray, would run over $1,000 after shipping and handling etc were counted for.

I decided (like always) to give this a cheaper DIY approach. Frame-by-frame scanning was out of the question since I only have a mechanical shutter DSLR, and running through a reel of film would lower the life expectancy of the shutter. I didn’t like the quality loss of recording off of a wall either! I decided for the real-time projecting onto sensor approach.

Instead of projecting onto a wall and then recording with a camera, which results in a large loss of quality, the Eumig projects directly onto the sensor of the camera. I placed the camera a few inches in front of the projector lens and focused the image onto the sensor. I found that Super 8 film fits the APS-C sensor of the a6000 without any cropping! I then turned off the lights and placed a small cloth over the air between the lens and the camera to block out external light during recording. I used some extension tubes on the front of the camera for the cloth to sit on and hopefully stop dust from collecting on the sensor too quickly.

IMG_20151217_170240

IMG_20151217_170258

The frame rate mismatch between the projector and camera causes the rolling bars across the video. Changing ISO values on the camera appears to change the severity of this effect, I believe the camera is changing the shutter speed to compensate for the change in ISO. During the sample video I discovered Sony has the ability to set the shutter speed to be slower than the frame rate. The camera performs some “blurring” and can hide the lines caused by the mismatched shutters. I am reading up on how frame rate and shutter speed work together when recording film. I will be moving to a Chinon 4000GL variable speed projector to alleviate this issue once the lens comes in.

IMG_20151217_170313

The projector is modified to use LEDs for illumination instead of the standard bulb since it will be projecting to a surface a few inches instead of feet away. This change will also allow me to focus on one still in the film, otherwise the bright bulb would melt the film after a few seconds. I am using scotch tape to diffuse the light from the LED onto the film.

IMG_20151217_170452

During recording I found the projector to “shake” the image causing the frames to jump up and down. Manually advancing the film reel so there was no pressure on it alleviated the problem, but I’m not going to stand over a 400 foot reel of film for half and hour doing this. Hopefully the Chinon won’t have this problem, but I think it could be a mechanical issue with the Eumig.

Here is a quick proof of concept to see if this approach is feasible. I processed the video through Vegas Pro to flip the image (the camera is expecting the image to be upside down) and added some stabilization.