Re: how to enable liveview ?
Alan Corey <[email protected]>
| Newsgroups | gmane.comp.multimedia.gphoto.user |
|---|---|
| Message-ID | <CAOh3dDZM3xhEbxO1V1xMY=58JhmStYp9Q_sqZbOwMKsriPQ=Lw@mail.gmail.com> |
I'm doing something similar from the camera's perspective. I'm trying to do motion detection by comparing preview/viewfinder images until I see a change, then shooting a few full resolution pictures. In a loop I do gp_camera_capture_preview() and gp_file_save(). Then to take the big picture I do: camera_auto_focus() and gp_camera_trigger_capture(). It's a little sluggish going from full res back to preview but I think that's my stuff. The preview images aren't big, like 320x240. My D5200 has an HDMI connector or you could use a low-res monitor plugged into the Pi. The official touch screen might be about right, then your program can respond to touches. Using a Pi also but working in C for the speed of the compares. I can look at every color (RGB) of every pixel and still do 4 - 10 frames per second. I've even run it on a Zero at about 4 FPS. On 6/4/18, Franck <[email protected]> wrote: > Hi, > > i'm doing a photobooth project, based on raspberry, canon EOS 600D, and > gphoto2. > > I would like the people to see themselves in the liveview, before > pushing the button. > > So i made a little python script to take the picture when the > photobooth's button is pressed. > > Everything works fine so far, except that each time i take a picture, my > liveview go back to menu mode. > > If i take the picture with the camera's button, it stays in liveview > > If i use the Photobooth's button, which triggers the command gphoto2 > -take-picture-and-download , it leaves the liveview. > > > Anyone as an idea why ? And better, a way to solve this problem ? > > For the curious, i'm doing something similar to this : > > http://www.w3sh.com/2013/03/29/photomaton-instagram/ > > Thanks in advance for any help > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Gphoto-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gphoto-user > -- ------------- No, I won't call it "climate change", do you have a "reality problem"? - AB1JX Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot