Photobooth using CHDK - Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes) - CHDK Forum supplierdeeply

Photobooth using CHDK

  • 3 Replies
Photobooth using CHDK
« on: 05 / June / 2010, 21:46:47 »
Hello -- I must say what a lovely community you have here. This is awesome. I personally was using a nice fuji camera, but "downgraded" to a a590 to run chdk. Now here's my dilemma / question. I have been charged with creating a photobooth for a wedding. I thought it would be simple enough to do this with CHDK. My basic requirements are to be able to take a few pictures in a row, then send them to a computer for processing. I was looking at some of the CHDK scripts, but I realized after buying the camera I would have rather gotten one that has remote control support (I see canon took this away on the newer models) so I could run the script on the pc and control the camera that way. Had I know my purchase would have been "missing" this feature I may have bought an older modeal.  All that said, I've found the CHDK PTP thread here,4338.0.html and it seems like it might be the solution i'm looking for. Ideally I would like to do the following:

Display a live feed from the camera on laptop
Have user press a button or mouse click to start coutdown for picture
Take several snapshots in a row
Print them out as a favor and upload them to a photo sharing site

I'm running debian and arch linux, and I believe I've gotten the printing and uploading piece complete. I need some way to take several pictures in a row, and then upload them to a laptop. Will CHDK PTP work for that? If so how? Or is there another way to accomplish this task I haven't thought of? Thanks!

1. I did manage to get ptpcam built using mweerdem's patch, and i can query for files on my camera. It doesn't let me use the capture options however :-(

Re: Photobooth using CHDK
« Reply #1 on: 05 / June / 2010, 22:15:35 »
Amazing it worked! Awesome! so apparently ptpcam has a --chdk option that puts you in communication with the camera. I never saw this spelled out anywhere :-( Anywho, here's what I got to work.

Patch libptp2 using mweerben's ptp patch
use custom build for CHDK a590 (in testing folder)
connect camera in playback mode
run ptpcam --chdk

per yardleydobon,4338.msg48095.html#msg48095, give the following commands to take a picture

lua post_levent_to_ui("PressRecButton")
lua shoot()

I will followup with a walkthru of the whole process once complete, but I consider this an excellent start. I need to figure out how to script these actions, and how to download the picture from the camera.

Re: Photobooth using CHDK
« Reply #2 on: 27 / June / 2010, 22:16:33 »
Wedding has come and gone. Despite the shortcomings of having a newer canon phone, everything worked great. The result of my efforts can be found below. Again, I'd like to thank the community here for creating such a wonderful piece of software. The tools and software developed made this all possible.

Please note this is my first time coding in python as well as gtk.  :-[

Re: Photobooth using CHDK
« Reply #3 on: 28 / June / 2010, 12:54:41 »
Having a photobooth at a wedding is a great idea! I clicked on this thread thinking it would be about the Apple application, but this is much better.
My Flickr Page
I use the chdk on my SX230 and SD1100 cameras, and I installed them using a Macbook, currently running 10.6.8.


Related Topics