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.
↧