Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Latest commit

 

History

History
32 lines (20 loc) · 1.08 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.08 KB

Photobooth Server

Takes a picture with a canon camera using GPhoto2.

Has API endpoints to upload an image to Google Photos.

Best used with the Photobooth react front-end.

Prerequisites

This needs to run on a Linux machine, like a raspberry pi with raspbian installed.

Gphoto2

To use a Canon or Nikon camera your machine needs gphoto2 installed, as explained in the Node Gphoto2 repository.

ffmpeg

To make videos and add overlays, your machine needs ffmpeg and ffmpeg-probe installed.
If you machine supports ffmpeg-installer you can add ENABLE_FFMPEG=true in .env.

node-canvas

To use the filters you need node-canvas.

Installation

git clone https://github.com/KdG-Photobooth/Server.git
cd Server
npm install

Disable mouse / screen sleep on Pi

sudo nano /etc/lightdm/lightdm.conf xserver-command=X -s 0 dpms -nocursor