Introduction: Raspberry Pi Photobooth
This instructable will show you how to make your own Raspberry Pi Photobooth!
This was a http://www.sydneyunimaker.club project for the Sydney Mini Maker Faire
What you will need:
- A Raspberry Pi (~$35 AUD) (I used a B but other models should probably work)
- A Raspberry Pi Camera (~$40 AUD) (I used Rev 1.3)
- An HDMI screen (~$100 AUD)(I used something similar to http://www.ebay.com/itm/7-7-inch-TFT-LCD-Module-w-... but any should do
- A button (~$15 AUD) (I used little bird big red button from http://littlebirdelectronics.com.au/products/big-d... )
The photobooth takes three photos and generates a bmp photostrip with a header of your choice!
Step 1: Set Up on RPi
To attach the camera watch the video here: https://www.raspberrypi.org/help/camera-module-set...
Then install python-picamera by following the instructions here: https://www.raspberrypi.org/documentation/usage/ca...
You also need to install the python-pygame package
Make sure your rpi boots to a console rather than a desktop by following this: http://ask.xmodulo.com/disable-desktop-gui-raspber...
Connect the button to GPIO04 ( pin 7 ) and ground on the rpi. Look up which one using this site: http://docs.oracle.com/javame/8.0/get-started-rpi/...
If you bought the same button i did, you can also power the buttons LED from the 5v pin on RPi so it lights up when pushed.
Step 2: Photobooth Script
Run "git clone https://github.com/da-steve101/photobooth.git" from the console after you are logged in. This will download the python script. Now run "cd photobooth && sudo ./photobooth.py" to launch the photobooth app
The images are in "images/"
To change the header on the top of the photostrip replace the makerHeader.png
Make sure it is the same size and has a transparent background. I made these images with Gimp.
I had an 8Gb sd card. This should be enough space for most events (300 strips i reckon but not tested). Currently the script saves the images in /media/disk/Photobooth_images/image_*/* (I had a separate disk mounted but you don't have to have one)
Each folder has the 3 original images in it and the generated strip
I had intended to get a printer and print it (looking at http://www.zink.com/) but ran out of time. Also grab a $100 ottoman for a seat and make a wooden frame to mount the electronics. An ottoman is great cause you can store costume stuff inside it.
That all there is too it :) any bugs or patches create an issue or pull request at the github. It is very hacky and only tested a couple of times.