Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Enable Auto Exposure using code

I've had trouble with this before hen trying to disable the Auto Exposure on my webcam, I managed to do it by setting the CV_CAP_PROP_EXPOSURE value which automatically disabled the Auto Exposure.

I'd now like to be able to turn it back on for a few seconds and then disable it again but any value I set for CV_CAP_PROP_AUTO_EXPOSURE doesn't seem to take yet I can open a dialog with CV_CAP_PROP_SETTINGS and enable it from within that popup.

There must be a way to enable this through code if it's possible through the Settings dialog.

I thank you for your time and any help you can offer.