Introduction to OpenCV-Python Tutorials

摘自https://docs.opencv.org/4.2.0/d0/de3/tutorial_py_intro.html

OpenCV-Python is the Python API for OpenCV, combining the best qualities of the OpenCV C++ API and the Python language.

Python can be easily extended with C/C++, which allows us to write computationally intensive code in C/C++ and create Python wrappers that can be used as Python modules. This gives us two advantages: first, the code is as fast as the original C/C++ code (since it is the actual C++ code working in background) and second, it easier to code in Python than C/C++. OpenCV-Python is a Python wrapper for the original OpenCV C++ implementation.

OpenCV-Python makes use of Numpy, which is a highly optimized library for numerical operations with a MATLAB-style syntax. All the OpenCV array structures are converted to and from Numpy arrays. This also makes it easier to integrate with other libraries that use Numpy such as SciPy and Matplotlib.

OpenCV-Python Tutorials

This guide is mainly focused on OpenCV 3.x version (although most of the tutorials will also work with OpenCV 2.x).

OpenCV Needs You !!!

 If you find any mistake in this tutorial, feel free to correct it by cloning OpenCV in GitHub and submitting a pull request.

猜你喜欢

转载自blog.csdn.net/Airfrozen/article/details/104422389