Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2469

General discussion • How to dynamically change focus during a live preview with libcamera?

$
0
0
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!

Statistics: Posted by aksharkalathiya — Mon Feb 17, 2025 12:48 pm



Viewing all articles
Browse latest Browse all 2469

Trending Articles