Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

cvcam properties in VideoCapture

$
0
0
Hi, I know cvcam has long been replaced by the VideoCapture class and a lot of the properties available in cvcam can not be found in VideoCapture, for example: cvcamSetProperty(desiredCam, CVCAM_RNDWIDTH, &w); cvcamSetProperty(desiredCam, CVCAM_RNDHEIGHT, &h); the above instructions set the **rendering** width and height of the desiredCam. What are their alternatives in VideoCapture class? Are they simply **CAP_PROP_FRAME_WIDTH** and **CAP_PROP_FRAME_HEIGHT**? Similarly, **cvcamGetCamerasCount()**, **cvcamInit()**, **cvcamStart()** etc are not available in VideoCapture. I am asking this because I have a large openCV code which was written way back and contains many outdated APIs. What would be some good sources to get the alternatives/correspondence between new and old APIs? Thanks.

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>