1.4 KiB
1.4 KiB
Photo booth web
This is a photo booth that posts the photos shot by the guests to the app. It shots a photo when the Enter or Space keys are pressed (I used one of these fluffy big USB Enter keys) and uploades it to the app on behalf of an existing user.
Install
- Create an user that will post the photos adding a row in the user's table. Assign a token, any sufficiently strong string is ok.
- Copy the current folder in the PC that will be used as Photo Booth
- Copy config_example.js to config.js and edit it
- Place your webservices url in BASEURL
- Place the user's token in the config.
- Configure the browser using the following indications:
Use Firefox as browser. Go in about:config and set:
browser.download.alwaysOpenPanel false // Prevents to open download list when taking a photo
privacy.webrtc.legacyGlobalIndicator false // Hides camera overlay
When starting firefox in the photo booth totem, press F11 to make it full screen and leave only the Enter or Space key exposed
If the download panel is shown anyway, right click on the download icon and deselect "Show panel when starting a download".
If it appears already deselected, select and deselect it.
Attributions
Sounds
All creative commons:
- Bike, Bell Ding, Single, 01-01.wav from InspectorJ (https://freesound.org/s/484344/)
- Camera shutter.wav from jdaniel1999 (https://freesound.org/s/376205/)