Skip to content

fabloch/hurlomaton

Repository files navigation

Hurlomaton

summary

The Hurlomaton is a shout-activated photobooth. It runs with a Raspberry pi and python scripts.

Todo

  • Improve this readme.
  • Improve the wiki.
  • Add an hardware check to the boot sequence.
  • Possibly simplify the scripts

Hardware list

  • Raspberry Pi: main board
  • Arduino: for I/O management on some coponents
  • Camera: to take photo, wired to the dedicated Raspberry port
  • Microphone: to know when to take the photo, wired to GPIO 2
  • Spotlights: to be used as a flash when photos are taken, wired to GPIO 4
  • White pushbutton: to validate printing, wired to GPIO 18
  • Black pushbutton: to refuse printing, wired to GPIO 23
  • Printer: wired to USB

Software list

  • 1_crop_watch.py: look for new photos to crop
  • 2_upload_watch.py: look for new photos to upload
  • 3_hurlomaton.py: GUI manager and takes new photos
  • 4_print_watch.py: look for new photos to print

General workflow

  1. When the raspberry is turned on, it automatically boot up every scripts.
  2. Whenever people shouts for long enough, a photo is taken and given a random name
  3. Said photo is saved in the to_crop folder
  4. The crop_watch script crops this photo, use it to make slides to show the result on screen
  5. The photo is shown on screen and the user is given the choice to print it or not
  6. loop back from 2