Skip to content

Photobooth on Raspberry PI with automatic WebDAV sync, QR codes generation and background replacement.

License

Notifications You must be signed in to change notification settings

corentin-soriano/Pi-Photobooth

Repository files navigation

Features

  • Full touchscreen controls (except the button which enables "admin mode").
  • Print as many times as you want.
  • Automatic save to webdav server.
  • QRCode generation to download pictures.
  • Background replacement (better with green screen background).
  • Optionally add custom text and date/time on pictures.
  • English and French translations.
  • All time counters for pictures and prints.
  • Can send webhooks for some data (ex: printer unavailable).

UI preview

Preview page:
Preview page

Preview page with custom background:
Preview custom background

Picture review with date/time and custom message:
Picture review

Picture review with unavailable printer:
Picture review with unavailable printer

Settings (admin mode):
Settings

Installation guide

Using this image : Raspberry Pi OS with desktop (64-bit).
Perform all commands as root user.

System updates

apt update
apt upgrade
reboot

Update raspi configuration:

raspi-config
# Mandatory:
    3 Interface Options
        I7 Remote GPIO -> YES
# Optional:
    1 System Options
        S1 Wireless LAN -> Setup your wifi.
        S5 Boot / Auto Login
            B4 Desktop Autologin -> YES
        S6 Splash Screen -> YES
    2 Display Options
        D2 Screen Blanking -> NO

Dependencies:

apt install python3-flask python3-picamera2 python3-qrcode python3-easywebdav python3-opencv git ncat

# Not available from apt:
pip3 install rembg --break-system-packages

Clone this repository in /opt:

cd /opt
git clone https://github.com/corentin-soriano/Pi-Photobooth.git

Add systemd services and local configuration:

cd /opt/Pi-Photobooth/
ln -sf $PWD/photobooth-{frontend,backend}.service /etc/systemd/system/

cp config{.tpl,}.ini
chmod 600 config.ini
vi config.ini

Enable services on boot and reboot to apply all changes:

Note: First launch take about 1 minute to load rembg.

systemctl enable photobooth-{frontend,backend}.service
reboot
# Check state:
systemctl status photobooth-{frontend,backend}.service

Add support for auto-cutting paper (Brother VC-500W only)

About

Photobooth on Raspberry PI with automatic WebDAV sync, QR codes generation and background replacement.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published