jim-easterbrook / python-gphoto2

Python interface to libgphoto2
GNU Lesser General Public License v3.0
368 stars 59 forks source link

Trigger capture very slow on Canon SX740HS - approx 1 per seconds. #97

Closed dlwalter closed 4 years ago

dlwalter commented 4 years ago

This page is for reporting problems with the Python interface to libgphoto2. If your question is about using libgphoto2 you should ask on the gphoto2 mailing list.

Your system Python 3.6.1, Canon Powershot SX740HS

What version of libgphoto2 have you installed? 2.5.12

How have you installed (or attempted to install) python-gphoto2?

Your problem I have a basic loop calling camera.capture as fast as possible. I can only trigger captures at about 1 every 2 seconds. Is there a way to increase the rate of single capture triggers? I am hoping to hit 3 per second. I thought it would be the sd card write throttling me, but I get the same time when capturetarget=0 or 1.

jim-easterbrook commented 4 years ago

How fast can the gphoto2 cli program do it?

dlwalter commented 4 years ago

Unfortunately the cli does a whole lens retraction/extension between each trigger-capture, so I can't get a good timing.

I was able to speed up to just under 1/s by setting the camera focusmode to 'Manual'.

jim-easterbrook commented 4 years ago

I'm afraid I can't help. The Python interface to libgphoto2 does nothing that would slow anything down so this must be a problem with libgphoto2.