Updated by Andrey Kamaev about 13 years ago


Hi, all:

My VideoCapture [[VideoCapture]] won't load specified properties as expected. I tried the following code. However, the captured images are still of default size 640*480, instead of specified 320*240. Can anybody help?

<pre><code class="cpp">
VideoCapture
[[VideoCapture]] capture;
capture.set(CV_CAP_PROP_FRAME_WIDTH,320);
capture.set(CV_CAP_PROP_FRAME_HEIGHT,240);
</code></pre>


Thank you very much.
Best Regards
JIA

Back