Skip to content

Is there a way to change tuning on a running Picamera2? #639

Answered by davidplowman
cpixip asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, as things stand the tuning file is only read when libcamera starts and, as you've discovered, you can only override the default behaviour with an environment variable that points to some other file. The only way to force it to be re-read would be to close the Picamera2 object and make a new one.

There are certainly some changes that would be nice here. I know I'd like to be able to pass the tuning data as data, and not via a file. The idea of changing tuning parameters on the fly is of course an interesting one too, but awkward because we generally do that through "controls" and (a) libcamera wants controls that are not specific to particular platforms and (b) there is no "vendor" con…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cpixip
Comment options

@rwb27
Comment options

Answer selected by cpixip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants