Is the webcam capable of changing the brightness or not?

Hi, I’m working with this function [get and set]

videoCapture.get(cv::CAP_PROP_BRIGHTNESS)

The Opencv site explains this function :

Brightness of the image (only for those cameras that support).

in detail say : Brightness of the image (only for those cameras that support).
When I try to change the brightness of my webcam with this function :

videoCapture.set(cv::CAP_PROP_BRIGHTNESS)

Nothing happens, I think my webcam does not support this feature!
My question is how can I recognize this with programming code?

check the return value(-1 means: no, not supported).

This function returns bool [0,1], I tested it several times, it returns true, but the brightness does not change! O_O

videoCapture.set(cv::CAP_PROP_BRIGHTNESS)
1 Like