Coder Social home page Coder Social logo

unix0r / photobooth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andreknieriem/photobooth

0.0 1.0 0.0 942 KB

A photobooth Web-Application for raspberry pi with gphoto2

Home Page: http://photobooth.andrerinas.de/

License: MIT License

PHP 79.96% Shell 1.15% JavaScript 9.06% CSS 9.83% Batchfile 0.01%

photobooth's Introduction

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

photobooth's People

Contributors

nihilor avatar andreknieriem avatar vrs01 avatar unix0r avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.