What is the difference between videocapture and cvcapture in OpenCV?

Source: Internet
Author: User

Videocapture and Cvcapture are actually the same, you can go to see the source code, Videocapture actually called the cvcapture inside. This is caused by different versions of OPENCV. I have access to the OPENCV has a big upgrade, the function name has a lot of changes, in fact, in the direction of the object-oriented development, that is, the beginning of the heavy C + + and light C.
The Cvloadimage and Imread return values are slightly different, and the past OPENCV processing images tend to use the iplimage type. After upgrading, it is more inclined to use the mat type uniformly for images, matrices, and so on. Very different.
You can also find the document Imread located in Highgui.hpp inside is c++,cvloadimage located in Highgui_c.h, is C.

What is the difference between videocapture and cvcapture in OpenCV?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.