Skip to content

gdgbari/photobooth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

198 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📸 Photobooth

A simple photobooth app that takes pictures and prints them applying a miniportraits-style overlay, perfect for events, parties, and interactive installations.

✨ Features

  • Captures photos using a connected camera
  • Applies a miniportraits-style PNG overlay
  • Customizable with your own graphic effects
  • Automatically prints the final image
  • Easy configuration via YAML file

📦 Technical specifications

  • LINUX as operating system
  • gphoto2 library in order to shoot photos via bash commands
  • Python (recommended: 3.8+)
  • Gutenprint driver in order to print edited miniportraits via bash commands
  • YAML library in order to easily set camera, paths and printing configuration's parameters
  • gphoto2 compatible camera to be connected to your PC via USB
  • Gutenprint compatible printer to be connected to your PC via USB

📑 User guide

  • Install Python and its packet's manager (pip) (a packet's manager allows to install the libraries your code needs in order to be executed):
    • sudo apt install python3 -y
    • sudo apt install python3-pip -y
  • Move to a folder of your choice and clone this GitHub repo (if you don't have git installed, run sudo apt install git -y):
  • Install and activate a virtual environment in order to install and store the libraries your code needs to be executed (be sure to be in the folder where you previously cloned the repo):
    • python3 -m venv .venv
    • source .venv/bin/activate
    • pip3 install -r requirements.txt
    • sudo apt install gphoto2 -y
  • Verify if your camera is supported by gphoto2:
    • gphoto2 --list-cameras
  • If your camera is supported, connect it to your PC via USB, and verify if it's ready to be used from gphoto2:
    • gphoto2 --auto-detect
  • Set configuration's parameters in settings.yaml file, inserting:
    • the path where you want your photos to be stored
    • your camera's name
    • your printer's name
    • the name of the event where you are shooting, in order to automatically name photos
  • Run python3 src/main.py and you're finally ready to enjoy the software

Have fun!! ☺️☺️

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages