Skip to content

Camera white balance support for Logitech BRIO 4K  #21408

@JianDk

Description

@JianDk
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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions