Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Save camera state? #963

Answered by Erol444
j-wilson-64 asked this question in Q&A
Discussion options

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.

You must be logged in to vote

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

Comment options

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

You must be logged in to vote
3 replies
Comment options

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.

Comment options

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?

Comment options

@Erol444 this is working. Thank you so much for your help!

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

AltStyle によって変換されたページ (->オリジナル) /