Code Monkey home page Code Monkey logo

raspberry_pi_photo_booth's People

Contributors

ieguiguren avatar jibbius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

raspberry_pi_photo_booth's Issues

Bad overlay_image call on prep_for_photo_screen function

Hello,

I think there is one extra parameter (or one is missing) at @234 :
overlay_image(get_ready_image, PREP_DELAY, 'RGBA')

It should be :
overlay_image(get_ready_image, PREP_DELAY)
or maybe
overlay_image(get_ready_image, PREP_DELAY,3,'RGBA')

Print photo with Cups

Hello man, I'm trying to do an automatic print with a thermal TM-T20II who works with Cups.
Can you take a look at my code, I'm confused about when the print process has to start...
ricochebonjour@7ed71e4

/bin/python doesn't exist in raspbian

Hi.

When trying to execute the code directly there is an error reaching the interpreter.

pi@raspberrypi:~/raspberry_pi_photo_booth $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 9.1 (stretch)
Release:	9.1
Codename:	stretch
pi@raspberrypi:~/raspberry_pi_photo_booth $ ./camera.py 
-bash: ./camera.py: /bin/python: bad interpreter: No such file or directory
pi@raspberrypi:~/raspberry_pi_photo_booth $ which python
/usr/bin/python

Although in the instructions it says to execute it as:

  1. Run:
    python camera.py

it has no meaning to have the shebang if it avoids execution of the program.
During the years I've discovered the 'env' command and works like a charm. It's actually present in all my python files:
#!/usr/bin/env python
This will look for the python command in the PATH routes.

Play camera.wav sound when taking photo

In order to play the camera.wav file when taking photo you should a this line @251:

250     CAMERA.annotate_text = ''
251     os.system('aplay ' + REAL_PATH + '/assets/camera.wav &')
252     CAMERA.capture(filename)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.