Hello everyone,
I am a firmware engineer and quite new to OpenCV. Kindly bear with my limited expertise.
OpenCV version - 4.9.0
IDE - Microsoft Visual studio 2022 17.9.6
I have a device which outputs USB video and I have an OpenCV application that is running on my host takes this video. USB video control interface provides 19 controls through which host can set hardware parameters.
From my OpenCV application, with video.set() I could set the following.
CAP_PROP_BRIGHTNESS → UVC brightness
CAP_PROP_GAIN → UVC gain
CAP_PROP_BACKLIGHT → UVC backlight
CAP_PROP_SATURATION → UVC saturation
CAP_PROP_SHARPNESS → UVC sharpness
CAP_PROP_GAMMA → UVC gamma
CAP_PROP_HUE → UVC hue
CAP_PROP_CONTRAST → UVC contrast
I couldn’t figure out how to adjust other controls such as
D6: White Balance Temperature
D7: White Balance Component
D10: Power Line Frequency
D11: Hue, Auto
D12: White Balance Temperature, Auto
D13: White Balance Component, Auto
D14: Digital Multiplier
D15: Digital Multiplier Limit
D16: Analog Video Standard
D17: Analog Video Lock Status
D18: Contrast, Auto
I am not really using these controls to control what exactly they say, since I can program the USB device, I have customized them for some other purposes. So, I just want to know which of the video io flags in OpenCV map to actual UVC controls.
Thank you.