-
Notifications
You must be signed in to change notification settings - Fork 207
Save camera state? #963
-
Is there a way I can export all tracked settings in this script when the auto modes are enabled?
Having auto-exposure, white balance, etc. enabled constantly caused some issues with object detection for me so I want to get these values when they are correct and then fix them.
Beta Was this translation helpful? Give feedback.
All reactions
Hi @j-wilson-64 ,
You can retrieve quite a few values from the ImgFrame msg:
imgFrame.getColorTemperature() # Auto WhiteBalance
imgFrame.getExposureTime() # Autoexposure
imgFrame.getLensPosition() # Autofocus
imgFrame.getSensitivity() # Autoexposure (sensitivity)
I hope this helps!
Thanks, Erik
Replies: 1 comment 3 replies
-
Hi @j-wilson-64 ,
You can retrieve quite a few values from the ImgFrame msg:
imgFrame.getColorTemperature() # Auto WhiteBalance
imgFrame.getExposureTime() # Autoexposure
imgFrame.getLensPosition() # Autofocus
imgFrame.getSensitivity() # Autoexposure (sensitivity)
I hope this helps!
Thanks, Erik
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for your response @Erol444!
Does the AWB mode change or does that remain fixed at a default setting, if so what setting is that?
Also, Is there any way to get the following values?
- brightness
- contrast
- saturation
- sharpness
- luma denoise
- chroma denoise
With other settings fixed I know I could try to manually adjust them and get the values, I'm just hoping to automate as much as possible.
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi @j-wilson-64 ,
Mode doesn't get changed by its own, can only be changed if the user changes it. Only the WB value gets changed, if AWB is enabled.
All of the properties listed are fixed and aren't dynamically being changed (like AF, AWB, AE), so you can just query default values at startup (or hardcode it), unless you change them in runtime. Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions
-
@Erol444 this is working. Thank you so much for your help!
Beta Was this translation helpful? Give feedback.
All reactions
-
🚀 1