Photo Booth beta
A Raspberry Pi powered Photo Booth
This package uses the Raspberry Camera Module to capture four pictures with a visible countdown. Once captured, all four images are shown for a configurable duration and can be optionally be uploaded to an external web service for post-processing. This server can then return an additional transparent PNG file that will overlay the four photos.
The capture sequence is triggered by GPIO. So you can wire it to a button or other hardware.
A playlist of videos and images is constantly looped while the device is idle.
The photo sequence is triggered by GPIO. Have a look at the GPIO demo package for an example of how to connect a button to GPIO pin 18:
Demonstrate GPIO integrationLearn more..
Integration into your backend
If you specify an upload url, the device will upload all four images in a single POST request to the url. In your server code you can then store or otherwise do post-processing on the images. Your service should return a transparent PNG file as a response. This image is then added on top of the four photos. This allows you to augment the output - for example by overlaying a QR code where the user can download their photos.
This package includes an example server in
that shows how this works. You might want to use a secret url (instead of
and HTTPS for handling upload requests.
Want to run Photo Booth on your Raspberry Pi?
This package is ready to run on your Raspberry Pi using info-beamer.com hosted. Easily manage unlimited number of Raspberry Pi devices and centrally configure and run visualizations like this on them. info-beamer.com is a prepaid service. You only pay for the resources you are using. No long term commitment, no hidden fees. Learn more...
Source code for this packageYou can view (and modify) the source code for this package on https://github.com/info-beamer/package-photo-booth
Copyright (C) 2018 Florian Wesch <firstname.lastname@example.org> Show full license information
Copyright (C) 2018 Florian Wesch <email@example.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. This project includes third party work: package-header.jpg By Unknown (Bain News Service, publisher) - This image is available from the United States Library of Congress's Prints and Photographs division under the digital ID ggbain.25079. Public Domain, https://commons.wikimedia.org/w/index.php?curid=2901559 font.ttf Apache License 2.0 http://www.apache.org/licenses/LICENSE-2.0 https://fonts.google.com/specimen/Open+Sans screenshot-*.jpg CC0 Based on https://isorepublic.com/dog-portrait/