Ask Your Question
1

Disable webcam LED

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

aolaol gravatar image

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

edit retag flag offensive close merge delete

Comments

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 -0600 )edit

thanks, but it doesn't work

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

2 answers

Sort by ยป oldest newest most voted
0

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

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

edit flag offensive delete link more
1

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

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);
cap.set(CAP_PROP_SETTINGS,1);

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

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 8,705 times

Last updated: Sep 13 '13