I tried so many times but still can’t reply my own topic - Autofocus issues, so sorry for creating a new topic.
Here is another issue I found these days.
According the position where I called time.sleep(), camera preview would get different results.
Although the second way gets better preview, however, the i2c channels fill up and the code returns the error: picamera.exc.
Pi CameraMMAL Error: Failed to enable connection: Out of resources.
And the first way executed perfectly, and the focal distance I got seems to be the same as the second way, and I have no idea why this would happen.
Is there anything I should do but I didn’t?
Thank you so much for helping me.