/partybooth

Hobby project about using a Raspberry Pi as a photobooth controller

Primary LanguagePython

#FunBox Photobooth

Requirements

Setup

Mac OS

  • Install Homebrew
  • brew install gphoto2
  • brew install imagemagick
  • brew install python
  • brew install python-imaging

Raspberry Pi

  • sudo apt-get update && sudo apt-get upgrade
  • sudo apt-get install gphoto2
  • sudo apt-get install imagemagick
  • sudo apt-get install python-imaging

Updating to latest Pillow and gphoto

The box is known to run with python-gphoto 1.6.0 an Pillo 4.1.1

  • sudo easy_install -U gphoto2
  • sudo apt-get install libjpeg8-dev Pillow needs libjpeg to be able to compile
  • sudo easy_install -U Pillow

Tweaking Raspberry Pi Pixel

Disable Tooltips

nano ~/.themes/PiX/gtk-2.0/gtkrc add gtk-enable-tooltips = 0

Disable Screensaver & Mouse Pointer over Start Menu

nano .config/lxsession/LXDE-pi/autostart

Comment out:

# @xscreensaver -no-splash
# @point-rpi

Autostart PartyBooth

nano .config/lxsession/LXDE-pi/autostart

add

@python <path_to_PartyBooth>/PartyBooth.py

Disable Screen Blanking & Mouse Pointer

sudo nano /etc/lightdm/lightdm.conf

edit / add the following line in section [SeatDefaults]

[SeatDefaults]
xserver-command=X -s 0 -dpms -nocursor