Install OpenCV in macOS

Image Analysis

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

If OpenCV was successfully installed, you will see the version of the installed OpenCV as follows:



Copied title and URL