-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capture Image with out triggering autofocus #695
Comments
Doesn't the lens allow disabling autofocus directly? All my EF lenses have a MF button that disable autofocus. |
Yes, it does! I should have clarified. The machine uses autofocus on a "setup" image in order to lock in where it must remain focused for the rest of the pictures. The goal is complete autonomy. After this initial image id like to turn off autofocus in order to keep the same position focused. |
I think a better question is, is there a way to lock focus |
hmm, there is focusmode option which can be set to Manual in P / A/ V or M modes I think. not sure if we expose the focuslock property correctly. |
or use eosremoterelease=Immediate --wait-event-and-download=5s this will emulate a ful shutterpress without half-press (focusing) |
Not sure you have the option in the custom functions of the SL3 but on the SL1, you can disable the AF on halfpress using the AE lock/AF option. |
@msmeissn The eosremoterelease=Immediate works. After setting it, we are able to trigger another single capture without the half-press triggering autofocus. However, it only allows for the single next trigger to behave in that way. So we have to set it to immediate each time we want to trigger the capture. But it works! Is this intended to work until changed or is the current behaviour to be expected? @thexangle Just checked and tested that manually, you're correct! It disables the autofocus on half-press. I'm going to try to access the custom functions from gphoto2. |
From what we gathered, the custom function string for the SL3 is surprisingly small. Speaking of custom_func on SL3: We had some weird bugs when trying the set the MLU from gphoto2 via the custom_func string. |
can you capture a debug log of gphoto2 --list-config the camera might be sending multiple customfunc strings and we only display the last or the first one :( do you know the structure of this customdata better? |
I'll get the logs as soon as I can get an SL3 i can torture at the office:) Thanks @msmeissn |
Ill try to get these logs today |
Hello, we're using a Canon Rebel SL3 with a Raspberry Pi 4B+ to first take one image to focus then take 81 photos in succession on a moving platform to get different lighting angles. Throughout this process, it is necessary for the focus to remain the exact same, however, each photo triggers the autofocus which becomes apparent over time.
I've done quite a bit of searching and testing but have yet found a way to capture an image without triggering the autofocus.
Am I just missing something and if not will this ever be a feature?
The text was updated successfully, but these errors were encountered: