Skip to content
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] Get the current exposure mode #1016

Open
nudefireninja opened this issue Apr 20, 2024 · 1 comment
Open

[HOW-TO] Get the current exposure mode #1016

nudefireninja opened this issue Apr 20, 2024 · 1 comment

Comments

@nudefireninja
Copy link

How can I get the current value of 'AeExposureMode'?

I get a KeyError when I try picam2.capture_metadata()['AeExposureMode']

@davidplowman
Copy link
Collaborator

libcamera doesn't report every single metadata item, particularly items that cannot change on their own. I think 'AeExposureMode' will only be reported when you change it, and it will report it for the first frame that has "seen" the new value. I think the default value will be "normal", and after then it will be whatever you change it to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants