What is difference between both? Can we use both in/with MATLAB?

 采纳的回答

Ameer Hamza
Ameer Hamza 2020-5-3

3 个投票

They are apples and oranges. Python is a high-level programming language, whereas OpenCV is a library for computer vision.
Python is used to write code, implement algorithms, develop systems, etc. Anything that can be computed can be implemented in python. If you use a python interpreter without any libraries, then you will need to implement every code from scratch. So to avoid re-inventing the wheel, some smart people write a bunch of useful functions and publish them as libraries so that other people can directly use them.
One such library is openCV (although its core functions are implemented in C/C++, and the python library for opneCV provide an interface to those function). OpenCV provides a lot of useful functions that make it easy to do image processing and computer vision tasks. It provides functions to create and train computer vision models. There is a lot you can do with openCV: https://docs.opencv.org/master/examples.html
Now coming to question wherther they can be used with MATLAB? Yes.

更多回答(1 个)

Divyanshu Shekhar
Divyanshu Shekhar 2020-9-15

0 个投票

Python is a programming language where as OpenCV is a open-source Package that helps us to make computer vision projects. OpenCV Package is originally written in C++ but very popular in python.

类别

帮助中心File Exchange 中查找有关 Computer Vision Toolbox 的更多信息

产品

版本

R2015b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by