Is there any difference between the CvCapture
structure and the VideoCapture
structure in OpenCV? If so, when should I use CvCapture
and when to use VideoCapture
?
VideoCapture
is from the new C++ interface, CvCapture
no longer has a public interface for use.
When using the C++ API, VideoCapture
should be used. You should avoid mixing the two interfaces.
If you are using the C API, rather than the C++ API, several methods return a CvCapture
pointer, such as cvCaptureFromFile
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With