Install OpenVINO™ Runtime via Homebrew¶
Note
Installing OpenVINO Runtime from Homebrew is recommended for C++ developers. If you work with Python, consider installing OpenVINO from PyPI
The current Homebrew package provides inference support for CPU only.
You can use Homebrew to install OpenVINO Runtime on macOS and Linux. OpenVINO™ Development Tools can be installed via PyPI only. See Installing Additional Components for more information.
See the Release Notes for more information on updates in the latest release.
Warning
By downloading and using this container and the included software, you agree to the terms and conditions of the software license agreements.
Prerequisites¶
System Requirements¶
Full requirement listing is available on the System Requirements Page
Software Requirements¶
CMake 3.13 or higher (choose “macOS 10.13 or later”). Add /Applications/CMake.app/Contents/bin to path (for default installation).
Python 3.7 - 3.10 (choose 3.7 - 3.10). Install and add it to path.
Apple Xcode Command Line Tools. In the terminal, run xcode-select –install from any directory to install it.
(Optional) Apple Xcode IDE (not required for OpenVINO™, but useful for development)
GCC 7.5.0 (for Ubuntu 18.04) or GCC 9.3.0 (for Ubuntu 20.04)
Installing OpenVINO Runtime¶
Make sure that you have installed HomeBrew on your system. If not, follow the instructions on the Homebrew website to install and configure it.
Open a command prompt terminal window, and run the following command to install OpenVINO Runtime:
brew install openvino
Congratulations, you’ve finished the installation!
(Optional) Installing Additional Components¶
OpenVINO Development Tools is a set of utilities for working with OpenVINO and OpenVINO models. It provides tools like Model Optimizer, Benchmark Tool, Post-Training Optimization Tool, and Open Model Zoo Downloader. If you installed OpenVINO Runtime using Homebrew, OpenVINO Development Tools must be installed separately.
See For C++ Developers section on the Install OpenVINO Development Tools page for instructions.
OpenCV is necessary to run demos from Open Model Zoo (OMZ). Some OpenVINO samples can also extend their capabilities when compiled with OpenCV as a dependency. To install OpenCV for OpenVINO, see the instructions on GitHub.
Uninstalling OpenVINO¶
To uninstall OpenVINO via HomeBrew, use the following command:
brew uninstall openvino
What’s Next?¶
Now that you’ve installed OpenVINO Runtime, you can try the following things:
Learn more about OpenVINO Workflow.
To prepare your models for working with OpenVINO, see Model Preparation.
See pre-trained deep learning models in our Open Model Zoo.
Learn more about Inference with OpenVINO Runtime.
See sample applications in OpenVINO toolkit Samples Overview.
Take a glance at the OpenVINO product home page: https://software.intel.com/en-us/openvino-toolkit.