...

/

Installation on macOS

Installation on macOS

Follow the instructions to install OpenCV for C++ on macOS.

Follow these steps to install OpenCV for C++ in Mac.

Install Xcode

For macOS, we’ll use Xcode to write all the codes. So please go to the App Store and install Xcode.

Press + to interact
Xcode in the App Store
Xcode in the App Store

After successfully installing Xcode on our Mac, the next step is to install the command-line tool for Xcode. Open the terminal, and type the given command:

xcode-select –install

Install Homebrew and OpenCV

Go to the Homebrew website and copy the provided link. Paste ...