Camera Exposure Time Get Problem

asked 2020-06-10 01:50:51 -0600

Jay2 gravatar image

updated 2020-06-10 02:09:53 -0600

berak gravatar image

Hello

SDK: OpenCV 4.3.0
IDE: Visual Studio 2015 C++
Camera: SVC-1302U

I am using Camera using VideoCapture Class. No problem with getting images, controlling exposure and even saving images.

However, I am having trouble getting the currently set Exposure Time value. Obviously, saving the image confirms that the exposure value has changed. But Always return only the same -5 value.

VideoCapture cap(0)
double exposure;
exposure = cap.get(cv::CAP_PROP_EXPOSURE);

I want to know how to solve this problem. I have also attached the sample code that I tested.

Atteched to Code: https://www.dropbox.com/s/1xfoli24sh1...

Thanks!

edit retag flag offensive close merge delete