Attention! This forum will be made read-only by Dec-20. Please migrate to Most of existing active users should've received invitation by e-mail.
Ask Your Question

Disable webcam LED

asked 2013-09-13 02:46:49 -0500

aolaol gravatar image

Is it possible to disable webcam led while capturing an image on Windows?

edit retag flag offensive close merge delete


A videocapture object has set and get functions. On android you could just do Videocapture.set(CV_CAP_PROP_ANDROID_FLASH_MODE, CV_CAP_ANDROID_FLASH_MODE_OFF).

The only thing that looks close to something like led light is CV_CAP_PROP_BACKLIGHT. So try to do Videocapture.set(CV_CAP_PROP_BACKLIGHT, 0)

Moster gravatar imageMoster ( 2013-09-13 02:57:10 -0500 )edit

thanks, but it doesn't work

aolaol gravatar imageaolaol ( 2013-09-14 12:16:31 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2013-09-13 03:35:13 -0500

I don't think, that is possibly. That is on hardware level or at best on driver level.

edit flag offensive delete link more

answered 2013-09-13 06:26:40 -0500

berak gravatar image

most win webcam drivers come with a properties page, that you can call e.g from vlc, media player, etc, - even (with a bit of luck) from opencv:

VideoCapture cap(0);

the settings will be persistant, but you'll have to remember, which usb port you plugged it into !

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-09-13 02:46:49 -0500

Seen: 4,953 times

Last updated: Sep 13 '13