Wedding / Event Photobooth





Introduction: Wedding / Event Photobooth

Hi everybody,

I got married last year, when we're looking for preparation of the D-day, we went on a lot of wedding conventions.

On every convention there is a Photobooth renter, I thought that a photobooth was a great idee for a wedding, each guest could be have fun with it and could leave the wedding with a memory of the party.

I was told to my future wife: "I have almost everything I need to make a photobooth at home, I will do that !".

So here you will find how to make a Photobooth for your wedding or another event.

Since the wedding we lent it to friends for various events (birthday party, baptism...), so fun.

Step 1: All What You Need

This is the list of all what I need to do my Photobooth:

  • 1 Raspberry pi (for me Raspberry 1 model B because I've got it before but you can take a newer version)
  • 1 SD Card for the raspberry
  • 1 micro USB cable + power adapter 5V and 2A (to power raspberry)
  • 1 Camera module for raspberry
  • 1 USB Hub powered
  • 1 photo printer compatible with raspbian (for me HP Photosmart 475)
  • 1 massive arcade button 100mm with led
  • 1 12v transformer for button led
  • 1 PC screen (if it's not an HDMI screen you will need an HDMI adapter to plug to Raspberry)
  • 3 spotlights with transformer
  • 1 desk grommet of 80mm to fix the camera module
  • Pieces of wood to make the box
  • All decoration you want to embellish your Photobooth (for me pink wallpaper).

Step 2: Prepare Your Raspberry Pi

First of all you have to prepare your Raspberry pi and test all your installation with the program (I will give you my program don't worry ;)).

1. Load the OS of Raspberry pi into the SD card => Raspbian (Linux OS for Raspberry)

From your computer (windows / mac / linux):

  • Download Raspbian with desktop from this page:
  • Download Etcher and install it from this page:
  • Connect an SD card reader with the SD card inside.
  • Open Etcher and select from your hard drive the Raspberry Pi .img or .zip file you wish to write to the SD card.
  • Select the SD card you wish to write your image to.
  • Review your selections and click 'Flash!' to begin writing data to the SD card.

You can find more information on this page:

2. Enable Camera module

To enable the camera module there is a little configuration to do:

3. Prepare Raspbian with all librairies you need

Step 3: Wire Arcade Button on Raspberry Pi

On my program, I set the button on the GPIO Pin 25 of the raspberry pi 1 model B

Step 4: Import Program From Github

You will find program on Github:

The code is in file, you will need the images folder for the main wallpaper of the photobooth.

On the code you can change the path of the folder where pictures will be saved.

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

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

The script which launch at startup is on the Github:

Step 5: Make the Box

You will find here all step of construction of the box

Step 6: Demo



    • Casting Contest

      Casting Contest
    • Oil Contest

      Oil Contest
    • Make it Move Contest

      Make it Move Contest

    We have a be nice policy.
    Please be positive and constructive.


    7 Questions

    I've followed all the instructions and installed cups but I get an error saying cups module not found when i run the file. I've copied and pasted the error message below.

    Traceback (most recent call last):

    File "", line 6, in <module>

    import Cups

    ImportError: No module named Cups

    No it's definitely not that as I said in my post I've installed cups. I've used cups to test the printer. But it's not recognising cups when running the code in terminal.

    1 more answer



    I think you Forgot to install CUPS on your raspberry. It is explain on step 2 how to install it.

    Any recommendations for someone trying to do this without the printer?


    You can use my code but you have to modify it just a little bit to remove the printing part (remove from line 354 to line 392). Pictures will be saved on the raspberry pi.

    hi , i have a problem with install when i try run : sudo python then i have :
    pi@raspberrypi:~/Downloads/photoboothdiy-master $ sudo python
    Traceback (most recent call last):
    File "", line 6, in <module>
    import cups
    ImportError: No module named cups

    Can you help me ?


    Hi MariuszC4 ,
    I think you Forgot to install CUPS on your raspberry. It is explain on step 2 how to install it.

    The error i get is: if not is.path.isdir(imagefolder):
    Syntaxerror: inconsistent use of tabs and spaces in indentation

    Hope you can help.


    Ah ok, it's an indentation problem.
    Indeed, python is a language which work with indentations (tab), other languages works with brackets most of time but not python.

    So I've modified the file on Github, you can download it and retry, I think your problem will be solved with this new version of the file

    Best Regards

    Hi! What do you mean space?

    Indentation problem, you must use space

    Hi and thank you for your help, I have just spent some time following your guides on setting up the raspberry,
    I wanted to know where I need to change the save directory path?
    I get an error that I think is related to this. I can only see that the “filepath” is linked to ‘photos’ what should I change?
    Thank you :-)


    If you want to change the directory path you have to change it on code
    But I think you don't need to do that, the pictures will be saved on the folder where the is under subfolder 'Photos'.

    Can you write your message error here so that I can help you.


    First of all congrats on your wedding.

    My 1st question is can you print on 4x6 borderless one image

    2nd can you add text or small images to be on top of the full image.

    i.e. "Gus and Mabel's Wedding June 1st 2018" with a wedding bells image (most likely stored on the SD card)

    3rd if you can print text can you change the font and font size?


    Thank you shvanski

    I will answer your 3 questions in the same sentence.
    In the folder Photos/Template (on Github project) you will find a file named 'template.png'. It is just a picture on where the program paste the 3 photos. So you can make whatever you want in this picture 'template.png'. I made it with an imaging software so you can do the same. You can use the font you want, writing the text you want.
    And finally if you want to print only one image on 4x6 borderless you have to modify the program code a little bit but you can yes.

    Best regards

    This is brilliant! And we have just decided to do this for our wedding in September!
    1. I have never worked with rasberry befor. Does it have to be model 1 and not 3?
    2. How can I check if my printer at home is compatible with rasberry?
    3. Does it save the pictures for later use or does it only print them?

    Thank you!


    Hi, great, good luck to do this project, it was really good to do.

    1. No there is no obligation to work with a model 1, I worked with because I already have it but you can use the latest model.

    2. If you Want to know if your printer is compatible, just go to and check for your choosing printer before buying it.

    3. Yes all pictures are saved into the SD card on the folder Photos where the file is.

    If you want more information don’t hesitate to ask me. It is a pleasure

    Best regards

    1 more answer

    1. Any Raspberry Pi will work. The newest 3B+ would give faster performance, especially for the printing.

    2. I usually check if someone else has used it before. Search for Raspberry Pi and the printer name.


    I’ve used 12V buttons and when I looked at the LED inside it had a resister in it. By reducing the resister value to 100 Ohms I could connect the button directly to a GPIO line on the Pi.

    These buttons are usually used for arcade machines that have 12V as standard for the other components. So 12V is easier for them to use.

    This is blog past where I changed the resister to work wit Arduino.

    1 reply

    Great good idee !
    Something I will do on the V2 of the photobooth !

    Thank you

    C'est VRAIMENT GÉNIAL!!!!!

    Very cool! I think every wedding needs an all-in-one photobooth! :)

    1 reply

    I think like you ;) thank you for the comment.