xiubert / PiPhotoBooth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple photo booth script

  1. connect to a monitor with HDMI
  2. login as user pi
  3. clone this repository git clone https://github.com/xiubert/PiPhotoBooth.git
  4. navigate to photobooth directory cd PiPhotoBooth
  5. make scripts executable:
    1. chmod +x ./startPhotoBooth.sh
    2. chmod +x lib/*.sh
  6. start the booth ./startPhotoBooth.sh
    1. position the camera where desired
    2. take photo by pressing button wired to GPIO (pin 11)
    3. preview will show for a few seconds to pose
    4. captured photo will be shown followed by most recent captures. photos will continue to cycle until another photo is taken, after which most recent will again cycle
    5. close with ESC then ctrl+c to stop the booth script
  7. saved photos available in PhotoBoothCycle

note:

  • script assumes user pi can execute sudo commands. this is needed to avoid permissions issues with showing photos via fbi on /dev/tty

About


Languages

Language:Python 63.7%Language:Shell 36.3%