Closed gachiemchiep closed 5 years ago
How does this compare with using the gphoto2 cli program? If it's similar, then the problem is in libgphoto2, not the Python interface.
Hello @jim-easterbrook
Using python wrapper and gphoto2 cli result in the same processing time. Is there any approach that i could use to shorten processing time ?
python log
[1537330979.35] [INFO] [ grab] START Grab
[1537330979.42] [INFO] [nikon_capture] Capture
[1537330980.55] [INFO] [nikon_capture] Capture 1
[1537330980.56] [INFO] [nikon_capture] Capture 2
[1537330980.56] [INFO] [nikon_capture] Convert
[1537330980.74] [INFO] [nikon_capture] write frame_00_0 into redis
[1537330980.87] [INFO] [ grab] END Grab
gphoto2 cli log libgphoto2.log
Slow capture is obviously a problem with libgphoto2 itself, not with the Python interface. I don't know much about how libgphoto2 works. As explained in the README, questions about gphoto2 should be asked on the gphoto2 mailing list, not reported as a python-gphoto2 issue.
@jim-easterbrook
Thank you sir. I will go there for further information
Hello @jim-easterbrook
Thank you for your great work.
Do you know how to decrease the time which cost for capturing image ?
Currently my Nikon D5600 capture one image which has size 4000x3000 (h, w) in around 1.1 seconds. Is there any approach that help me reduce the capturing time in around 0.5 seconds.
Thank you for your kindness