Re: python capture_preview speed
Khoroshyy Petro <[email protected]> Wed, 29 Dec 2021 18:40:50 +0100
| Newsgroups | gmane.comp.multimedia.gphoto.user |
|---|---|
| Message-ID | <CAEoO5zoed9yn=zEWFQFSCoO-Tsus91ANOPrMfFzyjF8wCfLi_A@mail.gmail.com> |
Another related question. Does anyone have experience running python gphoto2 in a separate thread? I haw little if any experience with threads. My Idea was to run gphoto in a separate thread and then exchange data with GUI, not sure if it is a correct approach. Best regards. Petro. On Wed, Dec 29, 2021, 17:55 Khoroshyy Petro <[email protected]> wrote: > HI Marcus. > Thanks. > The above command gives 72 frames. ~14FPS > My python code with preview capture and image conversion gives ~12fps. > If I add update of matplotlib figure frame rate goes down to ~2fps. > I guess I need some faster visualization library. > Best. > Petro. > > > On Wed, 29 Dec 2021 at 15:43, Marcus Meissner <[email protected]> > wrote: > >> Hi, >> >> can you reproduce this also with the gphoto2 commandline tool? >> >> gphoto2 --capture-movie=5s >> >> and report how many frames it took? >> >> Ciao, Marcus >> On Wed, Dec 29, 2021 at 03:08:34PM +0100, Khoroshyy Petro wrote: >> > Hi. >> > I am using python-gphoto2 to capture preview from a Canon 40D camera. >> But i >> > can get maximum 2 frames per second. Is there any way to speed it up or >> it >> > is a usual speed for python API? >> > Thanks. >> > Petro. >> > > > _______________________________________________ Gphoto-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gphoto-user