CV_CAP_PROP_SETTINGS working on opencvsharp not on opencv??
Hello, I've been using opencvsharp and this code works fine:
VideoCapture capture = new VideoCapture(0);
capture.Set(37, 1);
where 37 is CV_CAP_PROP_SETTINGS ( not defined in opencvsharps ) and correctly open my webcam configuration window.
Now trying on a cpp project with opencv
VideoCapture capture(0); // open the default camera
if (!capture.isOpened()) // check if we succeeded
return -1;
capture.set(CV_CAP_PROP_SETTINGS, 1);
open the device, but no configuration window appears.
Any hint?
is this the same machine and camera (driver installation) ?
note, that this property is not supported for all camera models / os / capture types.
did you try to access the props page from another program, like graphedit, or vlc even ?
which opencv version are you using ?
machine and camera are the very same and thus the drivers. Maybe there is some additional code in the opencvsharp wrapping that make the property page of camera appear. I could check but I've not such a deep expertise. Maybe someone do? Otherwise does anyone know of a camera model whose exposure can be set from opencv ( that is my purpose but my camera which is a SPC530NC allows it only via its property page ) ?