-
Notifications
You must be signed in to change notification settings - Fork 164
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
[HOW-TO] Run AutoFocus only on a specific range of lenses #944
Comments
@davidplowman a very interesting problem I have been checking recently. Hope you can help! |
Here are some suggestions:
|
|
Thanks for the response, @davidplowman @njhollinghurst.
I am unsure what the next reasonable step would be in this case. Is there a way to completely disable CDAF? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My end goal is simple, but to do so, I need some understanding of Picamera2 and libcamera as well.
Let me explain my problem in a couple of bullet points:
Note: what I am trying to capture is my hand, which is in front of the camera (about 10-15 cm from the camera itself).
Here is my camera tunning file (adding only the autofocus part here):
Here is a test script I am using. For testing, please use a lighter in front of the camera so that the hand is visible to the camera more quickly (and this is what I will be using as well - an LED that lightens the hand).
A test run:
So this took 2s already, which is way too much for what I want. I would need it at a maximum of 200ms speed.
To wrap up, I need to run the AF on lenses [13, 14, 15, 16, 17, 19] as quickly as possible in a trustable way.
I do expect this to be a combination of picamera and libcamera as well, so happy to perform tunning as much as needed. I failed to find some good explanation of the PDAF algorithm and their parameters so that I would know how to change.
The text was updated successfully, but these errors were encountered: