It turns out, there is - just use Homebrew, what many consider to be “the missing package manager for Mac”. “Is there an easier way to install OpenCV on macOS? A way that avoids the complicated CMake configuration?” The downside is that determining the correct CMake paths to your Python interpreter, libraries, and include directories can be non-trivial, especially for users who are new to OpenCV/Unix systems. Over the past few weeks I have demonstrated how to compile OpenCV 3 on macOS with Python ( 2.7, 3.5) bindings from source.Ĭompiling OpenCV via source gives you complete and total control over which modules you want to build, how they are built, and where they are installed.Īll this control can come at a price though. Click here to download the source code to this post