Ask Your Question
0

cvSetCaptureProperty where are the settings? Solved

asked 2013-08-28 11:44:08 -0600

MarxWright gravatar image

updated 2013-08-29 07:43:37 -0600

I was looking to disable the auto balancing on my webcam but somehow I've set make the picture become permanently very highly exposed. I've been trying to reset the settings back to default but to no avail.

The problem continued after I re-installed the driver and restarted the computer.

Where are the settings changed by cvSetCaptureProperty stored? Perhaps I can delete them and start fresh.

Thanks for any help provided.

edit retag flag offensive close merge delete

Comments

Those properties are 95% of the time stored on the devices internal memory. You should do a factory reset by hardware or software as described in the manual. Most cameras come with a piece of software driver that has a reset function.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-28 11:52:46 -0600 )edit
1

Thanks for your response, I thought it might be stored on the device. Sadly the software that comes with the camera doesn't install and there isn't a visible hard reset button on the device.

It's definitely on the device as I tried another unit and it works as expected. I will try to get in contact with the manufacturers, thanks for your help.

It's not good that you can brick a piece of hardware with code and not be able to restore it.

MarxWright gravatar imageMarxWright ( 2013-08-29 04:16:21 -0600 )edit

Maybe look if there is the possibility of command line signaling to the device? You must have installed the drivers right?

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-29 04:18:58 -0600 )edit
1

If anyone else gets this problem I've been able to use Skype to reset the webcam properties.

Now if I could get a way to turn the auto white balance and auto exposure off using OpenCV throught code, any ideas?

MarxWright gravatar imageMarxWright ( 2013-08-29 05:44:54 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-08-29 05:52:52 -0600

On this link of the videoCapture set function, you can find all settings that you can adapt as long as your camera actually supports it to be changed by OpenCV.

However this doesn't seems that good news for you:

CV_CAP_PROP_WHITE_BALANCE Currently unsupported

However the exposure option is supported by:

CV_CAP_PROP_EXPOSURE Exposure (only for cameras).

I have checked master (2.4.9) documents and also there whitebalance isn't supported. You will have to file a feature request at the development page of OpenCV.

edit flag offensive delete link more

Comments

As for setting the white balance, you can always check if your camera supports a development API, which you can call from C++ code.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-29 05:55:20 -0600 )edit
1

Thanks a bunch I'll see if I can't get anything out of it from OpenCV but if not I'll see if there are any other API's which could be used to do this instead, thanks again for your help.

MarxWright gravatar imageMarxWright ( 2013-08-29 07:16:49 -0600 )edit

If you got the answer needed, then please mark the topic as solved. You are welcome!

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-29 07:27:12 -0600 )edit
1

Will do, ta again.

MarxWright gravatar imageMarxWright ( 2013-08-29 07:44:45 -0600 )edit

Question Tools

Stats

Asked: 2013-08-28 11:44:08 -0600

Seen: 5,723 times

Last updated: Aug 29 '13