Ask Your Question

Tedzini's profile - activity

2015-06-25 16:43:29 -0600 commented question Changing resolution of front LifeCam on MS Surface Pro

I found this: http://www.codeproject.com/Tips/55943...

which is the same API but he used WIndows Media Foundation instead. I'm not yet sure if and how this path can be compiled into the latest rel of OpenCV or not. thanks--

2015-06-22 15:18:29 -0600 asked a question Changing resolution of front LifeCam on MS Surface Pro

Hello OpenCV community!

I am trying to set HD resolution of the front facing camera on a MicroSoft Surface Pro 3, using OpenCV 3.0 x64 for VS2012, on WIn 8.1 OS. As in:

cv::VideoCapture INvidstream(CV_CAP_DSHOW | 1); dWidth = 1920 dHeight = 1080 INsidstream.set(CV_CAP_PROP_FRAME_WIDTH, dWidth); INvidstream.set(CV_CAP_PROP_FRAME_HEIGHT,dHeight);

with the rear camera (setting dev=0, instead of 1) OpenCV works, but the front facing camera (dev=1) it does not. The Native camera apps can set, display and record at various higher resolutions. Is this limitation of the built ffmpeg lib? From an earlier post, I found https://github.com/ofTheo/videoInput, as one possible native solution, but I was hoping to stick within the OpenCV/Qt framework, before spending time and energy going down roads already traveled.

thanks, t