-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Camera white balance support for Logitech BRIO 4K #21408
Copy link
Copy link
Closed
Description
System information (version)
- OpenCV => 4.5.3.56
- Operating System / Platform => Windows 10 64 Bit
- Compiler => Visual Studio Code 1.63
Detailed description
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 adjust white balance values.
The sample code below does not seem to work.
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)
I am aware that currently in the documentation CAP_PROP_WHITE_BALANCE_BLUE_U is not currently fully supported. However it is possible using the cap.get method to extract white balance currently stored in camera's memory, but it is not possible to set a new value. Is there a way to get it fully supported or any workaround? Also, currently the cap.set(cv2.CAP_PROP_AUTO_WB, 0) does not seem to work either.
Reactions are currently unavailable