Thats a very simple script for a photobooth with a Raspberry PI. Its also using the gphoto library.
- The Monitor shows a Introduction to press the button
- User press the Button
- Now starts a countdown of 5 seconds
- The Camera takes a photo (look at gphoto if your camera is supported)
- The Photo is shown for few seconds
- Go back to zero
- If you want that the script starts at boot, place "sudo python /home/pi/photobooth/photobooth.py &" in your rc.local
- Edit the pictures in the path "img" and save them in the resolution of your monitor
- Be sure that you installed gphoto2 and fbi
- Check if all paths are correct
- Have fun with your photobooth on your next BBQ