This post help you install OpenCV for Python using the package manager pip
.
Run the following command on Terminal.$ pip install opencv-contrib-python
You can check if the installation worked by running the following commands.import cv2
print(cv2.__version__)
If OpenCV was successfully installed, you will see the version of the installed OpenCV as follows:4.1.0
Install OpenCV in macOS

Comments