What is the difference between the CvCapture framework and the VideoCapture framework?

Is there a difference between the CvCapture and the VideoCapture in OpenCV? If so, when should I use CvCapture and when should I use VideoCapture ?

+6
source share
1 answer

VideoCapture is the new C ++ interface; CvCapture no longer has an open interface to use.

When using the C ++ API, VideoCapture should be used. Do not mix the two interfaces.

If you use the C API, not the C ++ API, several methods return a CvCapture pointer, such as cvCaptureFromFile .

+12
source

All Articles