FotoBox
|
FotoBox is a free open source multi platform application, that offers you the possibility to operate a photo booth (photobooth).
Download latest FotoBox version according to your operating system. Extract all files and execute sudo ./install_dependencies.sh
in a terminal to install all needed dependencies automatically or follow these manual steps:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo apt-get install gphoto2
sudo apt-get purge gphoto2 libgphoto2-6
sudo apt-get install xscreensaver
, run xhost +localhost
from a local terminal session (not SSH) and reboot the system. After reboot you can launch the _'Screensaver'_ application and select _'disable screen saver'_ from the drop down.sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
add this line @/home/pi/Downloads/FotoBox
(adjust path if necessary) at the end of the file.sudo apt-get install pigpio
sudo systemctl enable pigpiod && sudo systemctl start pigpiod
brew install gphoto2
key | action |
---|---|
N , Enter , Page Up/Down , Arrow Keys , Space , Backspace | start FotoBox |
P , S , E | preference dialog |
Shift + Escape , Q | quit application |
Q: I have misconfigured FotoBox and now it isn't working properly anymore?
A: Start FotoBox application and press "Restore Defaults" button to load the default settings.
Q: Is my DSLR camera supported by FotoBox?
A: Visit website libgphoto2 supported cameras to check if your camera model is listed and supports Image Capture. Use gPhoto2 and libgphoto2 compiler and installer script to get latest version and make sure the OS default one has been removed: sudo apt-get purge gphoto2 libgphoto2-6
Q: Can I use the FotoBox on Linux without X Window System (e.g. using Linux framebuffer on Raspberry Pi OS Lite)?
A: Yes, that is possible because of Qt for Embedded Linux. For Example to use Linux framebuffer execute ./FotoBox -platform linuxfb:fb=/dev/fb0
or set environment variable QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0
Q: It shows me the following error message qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
(Qt 6 issue)
A: Please install the following packages by executing sudo apt-get install libxcb-xinerama0 libgl1-mesa-dev libvulkan-dev libxcb-xinput-dev libxcb-xinerama0-dev
Q: My DSLR camera model is supported by libgphoto2 but don't work with FotoBox. How can I fix it?
A: Test if gphoto2 has access to your camera. Execute this command gphoto2 --capture-image-and-download
in terminal to test it. If the error message 'gphoto2 could not claim the usb device' appears, try this fix:
1. get the C code here
- save it to a file named
usbreset.c
- execute
cc usbreset.c -o usbreset
to compile it- execute
lsusb
to get the Bus/Device ID of your camera, i.e. 'Bus 001 Device 008'- execute
sudo ./usbreset /dev/bus/usb/001/008
each time before running FotoBox
Q: Where can I report FotoBox software bugs or suggest new features?
A: GitLab issue tracker
Q: Where can I get FotoBox support?
A: German Raspberry Pi Forum or official Raspberry Pi Forum (english)
Follow the normal installation instructions and additionally install the development tools according to your operating system. Paste the commands in a terminal prompt.
sudo apt-get install build-essential ccache pigpio
sudo apt-get install qtbase5-dev qtcreator
sudo apt-get install git git-doc git-gui gitk
sudo apt-get install cmake doxygen doxygen-doc doxygen-gui graphviz
xcode-select --install
brew install qt && brew link --force qt && brew cask install qt-creator
brew install cmake && brew install doxygen
GitLab source code: git clone git@gitlab.com:tomikais/fotobox.git
or https://gitlab.com/tomikais/fotobox.git