I'm trying to adjust the focus dynamically while a live preview is running using libcamera on a Raspberry Pi with a compatible camera module. How can I change the focus (or lens position) in real-time during a preview without stopping it?
I've tried using libcamera-hello and libcamera-vid, but I’m unable to find a way to modify the focus while the preview is ongoing.
Is there a command or method to do this?
Thanks in advance!
I've tried using libcamera-hello and libcamera-vid, but I’m unable to find a way to modify the focus while the preview is ongoing.
Is there a command or method to do this?
Thanks in advance!
Statistics: Posted by aksharkalathiya — Mon Feb 17, 2025 12:48 pm