May 2019 | Dios Kurniawan
OpenCV is an open-source Computer Vision library which can be used in Python. Installing OpenCV in MacOS is a bit cumbersome since there is no binaries provided in the website, but you can do this easily with the help of Anaconda. This is what I can share with you to install OpenCV with Anaconda:
- Open terminal, and type: conda create –name ComputerVision python=3.7
- Install OpenCV: conda install -c menpo opencv
- Activate: source activate ComputerVision
- Test your installation: import cv2 as cv
That’s all.