Skip to content

Simple python script for UI of photobooth, using OpenCV, Polaroid PoGo printer and MakeyMakey.

Notifications You must be signed in to change notification settings

turiphro/photobooth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains scripts for a photobooth. It shows webcam output, allows taking photos with custom (physical) buttons, and sends the photo over bluetooth to a Polaroid PoGo photo-printer.

Installation

Install all requirements:

sudo apt-get install bluetooth blueman ussp-push python-bluetooth libbluetooth-dev`
sudo pip3 install -r requirements.txt

Install OpenCV 3.0+ including Python 3 support. At the moment this requires compiling from source; for instructions see: http://www.pyimagesearch.com/2015/07/20/install-opencv-3-0-and-python-3-4-on-ubuntu/

If you're using blueman for file transfers (default; see polaroid.py), pair your Polaroid PoGo device manually using blueman-applet. If you're using ussp-push, run the setup script:

cd src
sudo python setup.py

I've had some problems getting bluetooth transfer to work; different people are reporting variations in success with different tools. You might need to experiment a bit, pair via the various UI's and print some test selfies while looking annoyed.

Physical installation

Build a physical photobooth with a screen, webcam, raspberry pi or other computer, and some control buttons. Attach a Polaroid PoGo photo-printer. I connected two push buttons to a MakeyMakey, emulating a keyboard's space (left button, YES) and some other key (right button, NO). You may need to experiment with different lights as well to get a clear image.

prototype front image prototype back image prototype in operation

Running

To run the GUI application, start with:

python3 main.py

The application starts fullscreen. If it doesn't, hit your favourite window manager's shortcut (WIN+F for Awesome-WM) once. Hit the YES key to take a picture and confirm to print or retake to take a new picture.

About

Simple python script for UI of photobooth, using OpenCV, Polaroid PoGo printer and MakeyMakey.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages