Skip to content

jankkm/photobooth

 
 

Repository files navigation

photobooth+

A Photobooth webinterface for Raspberry Pi and Windows, based on photobooth by Andre Rinas.

I've extended the original photobooth with a print feature, so you can print newly taken pictures or any picture in the gallery. Photobooth uses the command line to print the picture. The command can be modified in config.inc.php.

Modifications and new features:

  • Pictures can be printed directly after they were taken or later from the gallery
  • Moved a lot of parameters and settings into the config.inc.php
  • Changed the data.txt from a line seperated database into a JSON structure
  • The images are now processed with GD/ImageMagick rather than avconv
  • Now works on Windows and Linux
  • Added digiCamControl by Duka Istvan to control the camera and to take pictures under Windows
  • Photobooth caches all generated QR-Codes, Thumbnails and Prints
  • All directories are not automatically created if they doesn't exist
  • The gallery can now be ordered ascending oder descending by picture age (see $config['gallery']['newest_first'] in config.inc.php)

Prerequisites

  • gphoto2 installed, if used on a Raspberry for DSLR control
  • digiCamControl, if used unter Windows for DSLR control
  • Apache

Installation

On Raspbian:

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install git apache2 php5 php5-gd gphoto2 libav-tools
cd /var/www/
sudo rm -r html/
sudo git clone https://github.com/andreknieriem/photobooth
sudo mv photobooth html
sudo chown -R pi: /var/www/
sudo chmod -R 777 /var/www

Give sudo rights to the webserver user (www-data)

sudo nano /etc/sudoers and add the following line to the file: www-data ALL=(ALL) NOPASSWD: ALL

Open the IP address of your raspberry pi in a browser

  • Change the styling to your needs On Windows
    • Download digiCamControl and extract the archive into digicamcontrol in the photobooth root, e.g. D:\xampp\htdocs\photobooth\digicamcontrol

Change Labels

There are two label files in the lang folder, one for de and one for en. The de lang-file is included at the bottom of the index.php. If you want the english labels, just change it to en.js. If you want to change the labels just change the de.js or en.js

Changelog

  • 1.3.2: Bugfix for QR Code on result page
  • 1.3.1: Merged pull-request #6,#15 and #16
  • 1.3.0: Option for QR and Print Butons, code rework, gulp-sass feature enabled
  • 1.2.0: Printing feature, code rework, bugfixes
  • 1.1.1: Bugix - QR not working on touch devices
  • 1.1.0: Added QR Code to Gallery
  • 1.0.0: Initial Release

Tutorial

Raspberry Pi Weddingphotobooth (german)

Thanks to

About

A photobooth Web-Application for raspberry pi with gphoto2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 80.0%
  • CSS 9.8%
  • JavaScript 9.0%
  • Shell 1.2%