Professional looking Photo Booth built right at home with a Raspberry Pi 3B.
Prints to a portable Canon Selphy 1300 printer
Uploads photos automatically to a Dropbox account
Download photos via a QR code to your phone.
Very customisable!!!
Uses opensource software called Pibooth.
00:00 - Intro
00:24 - Parts I Used
09:19 - Software Install
23:48 - Optional Plugin Install
30:04 - Software Configuration
48:08 - Hardware Setup
1:03:44 - Putting it all Together
1:11:11 - The Final Product
****Pibooth Links here:
Documentation: documentation.pibooth.org/en/...
Github: github.com/pibooth/pibooth
****Plugins I used:
- Picture Template: pypi.org/project/pibooth-pict...
- Sound Effects: pypi.org/project/pibooth-soun...
- Dropbox: pypi.org/project/pibooth-drop...
- QR Code: pypi.org/project/pibooth-qrcode/
- NeoPixel Ring: github.com/peteoheat/pibooth-...
****Link to download my NeoPixel Ring Diffuser STL Files:
www.thingiverse.com/thing:663...
****Commands I ran:
- sudo apt-get update
- sudo apt-get full-upgrade
- sudo apt-get install libsdl2-*
- sudo apt-get install cups libcups2-dev
- sudo usermod -a -G lpadmin pibooth
- sudo pip3 install pibooth[printer]
- sudo apt-get install python3-opencv
- sudo nano /boot/config.txt
Add the following at the bottom of the file:
dtoverlay=gpio-shutdown
Save file
To remotely edit cups config run:
- sudo nano /etc/cups/cupsd.conf
Put a hash in front of "Listen localhost:631"
Add a new line "Port 631"
Add "Allow @local" Under the following headings:
"# Restrict access to the server..."
"# Restrict access to the admin pages..."
"# Restrict access to configuration files..."
Save file
-Run "/etc/init.d/cups restart" to apply changes or wait until the next restart
To enable Camera:
- sudo raspi-config
Go to interface options then Legacy camera and enable
Reboot
After enabling camera I lost my 1024 x 600 resolution. To fix:
- sudo nano /boot/config.txt
Add the following at the bottom of the file:
hdmi_cvt=1024 600 60 3 0 0 0
Save file
Reboot
Change resolution for both display and headless in display settings:
Display need to be at 1024x600
Headless at 1280x1024
Reboot
Update GPU memory:
- sudo raspi-config
Select Performance Options
Select GPU Memory
Change to 192
Save changes
Reboot
Default plugin Install:
- pip install pibooth-picture-template
- pip install pibooth-sound-effects
- pip install pibooth-dropbox
- pip install pibooth-qrcode
NeoPixel Ring Plugin Config file:
Change "num_pixels =" to 16
Change "time_between_pixels = raw_time_between_pixels" from 1.75 to 1
Save file
-sudo pip3 install adafruit-circuitpython-neopixel-spi
Edit pibooth.config file
Find the line "# Path to custom plugin(s) not installed with pip (list of quoted paths accepted)"
Add "plugins = CustomPlugins/pibooth_neopixel_spi.py"
Save file
Additional config changed in "pibooth.config" file
footer_text2 = "{date.day}/{date.month}/{date.year}"
resolution = (3280, 2464)
debounce_delay = 0.1
template = picture-template2.xml
Under "[QRCODE]" heading:
prefix_url = {url}
Негізгі бет Ғылым және технология DIY Raspberry Pi Photo Booth Build
Пікірлер: 14