jibbius / raspberry_pi_photo_booth Goto Github PK
View Code? Open in Web Editor NEWThe code for my Raspberry Pi photo booth.
Home Page: http://jackbarker.com.au/photo-booth/
The code for my Raspberry Pi photo booth.
Home Page: http://jackbarker.com.au/photo-booth/
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')
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
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-fmmqv280/ruamel.yaml/
Hi everyone im looking for some help on editing some bits and adding a few extras.
Is there anywhere to get some help on this please?
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:
- 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.
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.