Sorry I saw you second response of "Just a question does a picamera also have latency when taking a picture?" and assumed it was an indication that you were using a PICamera. So also please ignore my comments of delays since they are for a PICamera.
When you are tethering to the Canon using GPhoto, it has to take the picture then transfer the image down from the camera to the RPI. How are you determining it takes '3-5 seconds' for the image to be written? Also, does it matter if the picture itself was taken when the microswitch was pressed and the delay is the time to download and write the image file? Is it a RAW file? If it is then your dealing with MB's. You didn't say which PI & USB you are using so the speed of the USB also needs to be considered.
So a test would be to change your image capture to a low res JPG and see if you still see the delay.
Ok, this part confuses me. If you press the shutter on the Canon, the picture will just be written to the camera SD card.The camera receives the message immediately but the captured photo is like 3-5 seconds later instead of instant.
When im pressing the button directly on the camera there is no issue. it's direct.
When you are tethering to the Canon using GPhoto, it has to take the picture then transfer the image down from the camera to the RPI. How are you determining it takes '3-5 seconds' for the image to be written? Also, does it matter if the picture itself was taken when the microswitch was pressed and the delay is the time to download and write the image file? Is it a RAW file? If it is then your dealing with MB's. You didn't say which PI & USB you are using so the speed of the USB also needs to be considered.
So a test would be to change your image capture to a low res JPG and see if you still see the delay.
Statistics: Posted by DS256 — Thu Apr 25, 2024 11:20 pm