Photobooth DIY

Here you will find code for my wedding photobooth made with a Raspberry pi under Raspbian. It can be optimised but I didn't have time to do.

You can see all steps to make a photobooth on my instructables: https://www.instructables.com/id/Wedding-Event-Photobooth/

Requires for the code works:

  1. Enable Camera module

To enable the camera module there is a little configuration to do: https://www.raspberrypi.org/documentation/usage/camera/

  1. Prepare Raspbian with all librairies you need

To run it you just have to launch a terminal, navagate to the program folder and type "sudo python camera.py"

If you want to test it without a button wire on GPIO Pin 25 of the raspberry, you can push down arrow of your keyboard.

Finally, I wanted to run the program at startup of the raspberry pi so I followed this tuto https://www.simplified.guide/linux/automatically-run-program-on-startup

The script which launch at startup is on the Github: photobooth-script.sh