I have a Logitech BRIO 4K camera running on Windows 10 64 bit. The opencv version I have installed is opencv-python==4.5.3.56
From Logitech’s software I am able to disable auto white balance, as well as set white balance values.
The sample code below does not seem to work. I am aware that currently in the documentation CAP_PROP_WHITE_BALANCE_BLUE_U
is yet not fully supported. Is there a way to get it fully supported? Also, currently the cap.set(cv2.CAP_PROP_AUTO_WB, 0)
does not seem to work either.
import cv2
cap = cv2.VideoCapture(1, cv2.CAP_DSHOW)
cap.set(cv2.CAP_PROP_AUTO_WB, 0)
cap.set(cv2.CAP_PROP_WHITE_BALANCE_BLUE_U, 5000)