fotobox | Python based photo-booth script
kandi X-RAY | fotobox Summary
kandi X-RAY | fotobox Summary
Python based photo-booth script for Raspberry Pi and RPi Camera
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Checks the input
- Updates the countdown
- Start viewer
- Handles a button press event
- Set screen capture
- Set the screen view
- Setup Screen
- Capture a photo
- Setup screen review
- Updates the template
- Move the image to the screen
- Deletes the temporary file
- View the next entry
- View the previous view
- Override Qt method
fotobox Key Features
fotobox Examples and Code Snippets
Community Discussions
Trending Discussions on fotobox
QUESTION
I'm VERY new to Python and am currently programming a Photobooth. I want to deactivate the Buttonpress until a coin is tossed and want it to deactivate when the photo is Saved. I just don't get how i could code it that the action ButtonPress works until something happens.
I know my code is very chaotic but it works fine overall. I program it on a Raspberry pi and have the Coin Acceptor on GPIO 18. I get 10 Pulses because it is a coin acceptor which only works with 1€ coins.
this is the code I'm using.
Would be awesome if somebody could lighten my darkness! Thanks in advance!
...ANSWER
Answered 2018-Jan-04 at 17:22Try having a variable to store if the coin has been inserted:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fotobox
You can use fotobox like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page