Comments (12)
Hey @danrue, what is the result of running:
$ gphoto2 --capture-image-and-download
repeatedly from the command line with your camera plugged in? Can you reliably get the camera to take photos?
from shmile.
Hi @andrewhao - I'll try to do that this weekend. I'll have to re-image my pi to get it set up again.
You may be interested in an article I wrote about my experience with shmile at http://therub.org/2014/10/29/diy-digital-photo-booth/
Dan
from shmile.
@danrue, what a great writeup. I'm glad it worked out for you guys!
I fully agree that reliability is a top concern. I just ran the booth at a Halloween community event last night and it still crashes once or twice a night.
I will caution against rebooting the app in a while true; do; ..
loop -- you need to pick the right time to reboot the server and the client simultaneously.
Anything by way of documentation or help that I could make more clear?
from shmile.
@danrue, @andrewhao
I've recently had a play with the porkbuns/shmile photobooth app.
I noticed the issue that you talk about here and had a bit of a play and managed to get it working in a more stable manner on my raspberry pi.
The issue is in gphoto2. In the version that downloads automatically via apt-get install there is an error which causes gphoto2 not to work with the raspberry pi and take the photos.
I had a hunt and was able to update gphoto2 via this shell script:
https://raw.githubusercontent.com/gonzalo/gphoto2-updater/master/gphoto2-updater.sh
after updating (and with a charged battery, whoops!) shmile worked well. I still have some more extended testing to do with iPad / WiFi and using and iPad's adhoc portable hotspot, but it looks good for it too work on a Raspberry Pi. I also plan to give it a try with the latest Raspberry Pi 2 with the hope that it will run a little smoother on the iPad screen etc. I think it'll work great for a Wedding photobooth!
from shmile.
Fantastic, @techyteach-s. Would you be willing to create a wiki page for us documenting how to set this up on Raspberry Pi?
from shmile.
Absolutely, I've never made one, and I'm sure there is still some more
things to iron out, but as I have time I'll do a write up and edit it as I
find issues or enhancements.
On Tuesday, 10 February 2015, Andrew Hao [email protected] wrote:
Fantastic, @techyteach-s https://github.com/techyteach-s. Would you be
willing to create a wiki page for us documenting how to set this up on
Raspberry Pi?—
Reply to this email directly or view it on GitHub
#21 (comment).
from shmile.
I have written a step by step wiki on how to setup the photobooth on the raspberry pi. It's in the wiki pages for shmile. I still need to figure out an auto boot to the app/auto restart if it crashes, but it seems to be working quite well from my tests. Let me know what you think @andrewhao, hopefully some people will get some joy out of using it this way!
from shmile.
Found your write-up at https://github.com/porkbuns/shmile/wiki/Shmile-on-the-Raspberry-Pi. I will give it a shot in a few weeks when I have to do my next photo booth. Hopefully I'll have my Pi 2 by then. Thanks for contributing!
I'm going to go ahead and close this issue out.
from shmile.
Hey,
i've been searching since january for a possible photobooth solution for my wedding this august. Now I followed @techyteach-s instructions on github and installed shimle on my raspberry pi model B+, my setup: Canon 1000D, gphoto2 2.5.8, npm 2.13.1, node v0.12.6
Unfortunately, I still getting an error and hope that you can help me.
If you click Start on the frontend ui the countdown begins, shmile takes a photo and download it to the correct path. After this no further action continues, except of sending heartbeats, the server gives me the following messages:
printer is: false
info - socket.io started
debug - served static content /socket.io.js
debug - client authorized
info - handshake authorized M_L_0bVz7ZlJ_r2_ljQp
debug - setting request GET /socket.io/1/websocket/M_L_0bVz7ZlJ_r2_ljQp
debug - set heartbeat interval for client M_L_0bVz7ZlJ_r2_ljQp
debug - client authorized for
debug - websocket writing 1::
util.puts: Use console.log instead
Web browser connected
debug - websocket writing 5:::{"name":"camera_begin_snap"}
debug - emitting heartbeat for client M_L_0bVz7ZlJ_r2_ljQp
debug - websocket writing 2::
debug - set heartbeat timeout for client M_L_0bVz7ZlJ_r2_ljQp
debug - got heartbeat packet
debug - cleared heartbeat timeout for client M_L_0bVz7ZlJ_r2_ljQp
debug - set heartbeat interval for client M_L_0bVz7ZlJ_r2_ljQp
"name":"camera_begin_snap" debug - emitting heartbeat for client M_L_0bVz7ZlJ_r2_ljQp
debug - websocket writing 2::
debug - set heartbeat timeout for client M_L_0bVz7ZlJ_r2_ljQp
debug - got heartbeat packet
debug - cleared heartbeat timeout for client M_L_0bVz7ZlJ_r2_ljQp
debug - set heartbeat interval for client M_L_0bVz7ZlJ_r2_ljQp
debug - emitting heartbeat for client M_L_0bVz7ZlJ_r2_ljQp
debug - websocket writing 2::
debug - set heartbeat timeout for client M_L_0bVz7ZlJ_r2_ljQp
....
If I run the gulp test, i am getting the error that mocha cant get an instance of ImageCompositor. Imagemagick is installed.
Does somebody have any ideas, pls?
Thx
Stowel
from shmile.
@stowel: do you have another camera you can use to try out a different approach?
Additionally, can you try running this on a different system (one other than a Raspberry)?
from shmile.
@stowel: It's been a while since I've been on, as I'm about to use the photobooth at a friends wedding I thought I'd have a look at whats going on here again. One issue I had when I first got it going was that when the camera was set to raw images it would not take the photo's properly, also, I found an error in code when using it on the raspberry pi, a solution is posted here: #33
from shmile.
@stowel: here's a link to the edited file that should sort out the issue, simply download and swap for the original in the 'lib' folder of shmile
from shmile.
Related Issues (20)
- Replace SVG animations with CSS3 transforms HOT 1
- Refactor frontend UI libraries HOT 2
- Reliability issues with the app -- server seems to lose communication with client -- leads to freezing. HOT 1
- Factor out global vars in Node app HOT 1
- Portrait Orientation Mode
- issue with image_compositor.coffee HOT 4
- Making shmile run without console output HOT 3
- Test coverage needs improvement
- Transition to ES6
- Workaround for iOS bug regarding apple-mobile-web-app-status-bar-style HOT 1
- Processing thumbs/pictures node 0.12.6/npm 2.11.2
- Raspberry pi USB reset HOT 1
- App crashes after taking the first 4 photos on RPi HOT 1
- Cannot change directories to save files HOT 2
- Question: why split repos for app/ui? HOT 3
- Can't print to 4"x6" paper HOT 2
- Help Please
- Blank photo when pushing "start" too fast
- Add ImageMagick CLI tools to install file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shmile.