Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The answer is NO, if you have asked about one universal way for the all kind of supported platforms and videobackends. BUT if you have saked for MS Windows than you can adjust exposure and brightness by means of this simple call:

cv::VideoCapture _capture;
if(_capture.open(_desiredvideodeviceid)) {
     // Lets's try to open DirectShow video device settings dialog
     _capture.set(CV_CAP_PROP_SETTINGS,0.0);

    // Processing code
}