* Added info on DockerHub CI Framework
* Feature/azaytsev/change layout (#3295)
* Changes according to feedback comments
* Replaced @ref's with html links
* Fixed links, added a title page for installing from repos and images, fixed formatting issues
* Added links
* minor fix
* Added DL Streamer to the list of components installed by default
* Link fixes
* Link fixes
* ovms doc fix (#2988)
* added OpenVINO Model Server
* ovms doc fixes
Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>
* Updated openvino_docs.xml
* Added Intel® Iris® Xe Dedicated Graphics, naming convention info (#3523)
* Added Intel® Iris® Xe Dedicated Graphics, naming convention info
* Added GPU.0 GPU.1
* added info about Intel® Iris® Xe MAX Graphics drivers
* Feature/azaytsev/transition s3 bucket (#3609)
* Replaced https://download.01.org/ links with https://storage.openvinotoolkit.org/
* Fixed links
# Conflicts:
# inference-engine/ie_bridges/java/samples/README.md
* Benchmarks 2021 2 (#3590)
* Initial changes
* Updates
* Updates
* Updates
* Fixed graph names
* minor fix
* Fixed link
* Implemented changes according to the review changes
* fixed links
* Updated Legal_Information.md according to review feedback
* Replaced Uzel* UI-AR8 with Mustang-V100-MX8
* Feature/azaytsev/ovsa docs (#3627)
* Added ovsa_get_started.md
* Fixed formatting issues
* Fixed formatting issues
* Fixed formatting issues
* Fixed formatting issues
* Fixed formatting issues
* Fixed formatting issues
* Fixed formatting issues
* Updated the GSG topic, added a new image
* Formatting issues fixes
* Formatting issues fixes
* Formatting issues fixes
* Formatting issues fixes
* Formatting issues fixes
* Formatting issues fixes
* Formatting issues fixes
* Formatting issues fixes
* Formatting issues fixes
* Formatting issues fixes
* Formatting issues fixes
* Formatting issues fixes
* Formatting issues fixes
* Revert "Formatting issues fixes"
This reverts commit c6e6207431.
* Replaced to Security section
* doc fixes (#3626)
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
# Conflicts:
# docs/IE_DG/network_state_intro.md
* fix latex formula (#3630)
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
* fix comments ngraph api 2021.2 (#3520)
* fix comments ngraph api
* remove whitespace
* fixes
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
* Feature/azaytsev/g api docs (#3731)
* Initial commit
* Added content
* Added new content for g-api documentation. Removed obsolete links through all docs
* Fixed layout
* Fixed layout
* Added new topics
* Added new info
* added a note
* Removed redundant .svg
# Conflicts:
# docs/get_started/get_started_dl_workbench.md
* [Cherry-pick] DL Workbench cross-linking (#3488)
* Added links to MO and Benchmark App
* Changed wording
* Fixes a link
* fixed a link
* Changed the wording
* Links to WB
* Changed wording
* Changed wording
* Fixes
* Changes the wording
* Minor corrections
* Removed an extra point
* cherry-pick
* Added the doc
* More instructions and images
* Added slide
* Borders for screenshots
* fixes
* Fixes
* Added link to Benchmark app
* Replaced the image
* tiny fix
* tiny fix
* Fixed a typo
* Feature/azaytsev/g api docs (#3731)
* Initial commit
* Added content
* Added new content for g-api documentation. Removed obsolete links through all docs
* Fixed layout
* Fixed layout
* Added new topics
* Added new info
* added a note
* Removed redundant .svg
* Doc updates 2021 2 (#3749)
* Change the name of parameter tensorflow_use_custom_operations_config to transformations_config
* Fixed formatting
* Corrected MYRIAD plugin name
* Installation Guides formatting fixes
* Installation Guides formatting fixes
* Installation Guides formatting fixes
* Installation Guides formatting fixes
* Installation Guides formatting fixes
* Installation Guides formatting fixes
* Installation Guides formatting fixes
* Installation Guides formatting fixes
* Installation Guides formatting fixes
* Fixed link to Model Optimizer Extensibility
* Fixed link to Model Optimizer Extensibility
* Fixed link to Model Optimizer Extensibility
* Fixed link to Model Optimizer Extensibility
* Fixed link to Model Optimizer Extensibility
* Fixed formatting
* Fixed formatting
* Fixed formatting
* Fixed formatting
* Fixed formatting
* Fixed formatting
* Fixed formatting
* Fixed formatting
* Fixed formatting
* Fixed formatting
* Fixed formatting
* Updated IGS, added links to Get Started Guides
* Fixed links
* Fixed formatting issues
* Fixed formatting issues
* Fixed formatting issues
* Fixed formatting issues
* Move the Note to the proper place
* Removed optimization notice
# Conflicts:
# docs/ops/detection/DetectionOutput_1.md
* minor fix
* Benchmark updates (#4041)
* Link fixes for 2021.2 benchmark page (#4086)
* Benchmark updates
* Fixed links
Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>
Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com>
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
Co-authored-by: Alina Alborova <alina.alborova@intel.com>
17 KiB
Install Intel® Distribution of OpenVINO™ toolkit for macOS*
NOTES:
- The Intel® Distribution of OpenVINO™ is supported on macOS* 10.15.x versions.
- An internet connection is required to follow the steps in this guide. If you have access to the Internet through the proxy server only, please make sure that it is configured in your OS environment.
Introduction
The Intel® Distribution of OpenVINO™ toolkit quickly deploys applications and solutions that emulate human vision. Based on Convolutional Neural Networks (CNN), the toolkit extends computer vision (CV) workloads across Intel® hardware, maximizing performance.
The Intel® Distribution of OpenVINO™ toolkit for macOS* includes the Inference Engine, OpenCV* libraries and Model Optimizer tool to deploy applications for accelerated inference on Intel® CPUs and Intel® Neural Compute Stick 2.
The Intel® Distribution of OpenVINO™ toolkit for macOS*:
- Enables CNN-based deep learning inference on the edge
- Supports heterogeneous execution across Intel® CPU and Intel® Neural Compute Stick 2 with Intel® Movidius™ VPUs
- Speeds time-to-market via an easy-to-use library of computer vision functions and pre-optimized kernels
- Includes optimized calls for computer vision standards including OpenCV*
Included with the Installation
The following components are installed by default:
| Component | Description |
|---|---|
| Model Optimizer | This tool imports, converts, and optimizes models, which were trained in popular frameworks, to a format usable by Intel tools, especially the Inference Engine. Popular frameworks include Caffe*, TensorFlow*, MXNet*, and ONNX*. |
| Inference Engine | This is the engine that runs a deep learning model. It includes a set of libraries for an easy inference integration into your applications. |
| OpenCV* | OpenCV* community version compiled for Intel® hardware |
| Sample Applications | A set of simple console applications demonstrating how to use the Inference Engine in your applications. |
| [Demos](@ref omz_demos_README) | A set of console applications that demonstrate how you can use the Inference Engine in your applications to solve specific use-cases |
| Additional Tools | A set of tools to work with your models including [Accuracy Checker utility](@ref omz_tools_accuracy_checker_README), [Post-Training Optimization Tool Guide](@ref pot_README), [Model Downloader](@ref omz_tools_downloader_README) and other |
| [Documentation for Pre-Trained Models ](@ref omz_models_intel_index) | Documentation for the pre-trained models available in the Open Model Zoo repo |
Could Be Optionally Installed
[Deep Learning Workbench](@ref workbench_docs_Workbench_DG_Introduction) (DL Workbench) is a platform built upon OpenVINO™ and provides a web-based graphical environment that enables you to optimize, fine-tune, analyze, visualize, and compare performance of deep learning models on various Intel® architecture configurations. In the DL Workbench, you can use most of OpenVINO™ toolkit components:
- [Model Downloader](@ref omz_tools_downloader_README)
- [Intel® Open Model Zoo](@ref omz_models_intel_index)
- Model Optimizer
- [Post-training Optimization Tool](@ref pot_README)
- [Accuracy Checker](@ref omz_tools_accuracy_checker_README)
- Benchmark Tool
Proceed to an [easy installation from Docker](@ref workbench_docs_Workbench_DG_Install_from_Docker_Hub) to get started.
Development and Target Platform
The development and target platforms have the same requirements, but you can select different components during the installation, based on your intended use.
Hardware
Note
: The current version of the Intel® Distribution of OpenVINO™ toolkit for macOS* supports inference on Intel CPUs and Intel® Neural Compute Sticks 2 only.
- 6th to 11th generation Intel® Core™ processors and Intel® Xeon® processors
- Intel® Xeon® processor E family (formerly code named Sandy Bridge, Ivy Bridge, Haswell, and Broadwell)
- 3rd generation Intel® Xeon® Scalable processor (formerly code named Cooper Lake)
- Intel® Xeon® Scalable processor (formerly Skylake and Cascade Lake)
- Intel® Neural Compute Stick 2
Software Requirements
- CMake 3.10 or higher
- Python 3.6 - 3.7
- Apple Xcode* Command Line Tools
- (Optional) Apple Xcode* IDE (not required for OpenVINO, but useful for development)
Operating Systems
- macOS* 10.15
Overview
This guide provides step-by-step instructions on how to install the Intel® Distribution of OpenVINO™ 2020.1 toolkit for macOS*.
The following steps will be covered:
- Install the Intel® Distribution of OpenVINO™ Toolkit .
- Set the OpenVINO environment variables and (optional) Update to
.bash_profile. - Configure the Model Optimizer.
- Get Started with Code Samples and Demo Applications.
- Uninstall the Intel® Distribution of OpenVINO™ Toolkit.
Install the Intel® Distribution of OpenVINO™ toolkit Core Components
If you have a previous version of the Intel® Distribution of OpenVINO™ toolkit installed, rename or delete these two directories:
/home/<user>/inference_engine_samples/home/<user>/openvino_models
Download the latest version of OpenVINO toolkit for macOS* then return to this guide to proceed with the installation.
Install the OpenVINO toolkit core components:
-
Go to the directory in which you downloaded the Intel® Distribution of OpenVINO™ toolkit. This document assumes this is your
Downloadsdirectory. By default, the disk image file is saved asm_openvino_toolkit_p_<version>.dmg. -
Double-click the
m_openvino_toolkit_p_<version>.dmgfile to mount. The disk image is mounted to/Volumes/m_openvino_toolkit_p_<version>and automatically opened in a separate window. -
Run the installation wizard application
m_openvino_toolkit_p_<version>.app -
On the User Selection screen, choose a user account for the installation:
- Root
- Administrator
- Current user
The default installation directory path depends on the privileges you choose for the installation.
-
Click Next and follow the instructions on your screen.
-
If you are missing external dependencies, you will see a warning screen. Take note of any dependencies you are missing. After installing the Intel® Distribution of OpenVINO™ toolkit core components, you will need to install the missing dependencies. For example, the screen example below indicates you are missing two dependencies:

-
Click Next.
-
The Installation summary screen shows you the default component set to install:
By default, the Intel® Distribution of OpenVINO™ is installed to the following directory, referred to as <INSTALL_DIR>:- For root or administrator:
/opt/intel/openvino_<version>/ - For regular users:
/home/<USER>/intel/openvino_<version>/
For simplicity, a symbolic link to the latest installation is also created:
/home/<user>/intel/openvino_2021/. - For root or administrator:
-
If needed, click Customize to change the installation directory or the components you want to install:

Note
: If there is an OpenVINO™ toolkit version previously installed on your system, the installer will use the same destination directory for next installations. If you want to install a newer version to a different directory, you need to uninstall the previously installed versions. Click Next to save the installation options and show the Installation summary screen.
-
On the Installation summary screen, press Install to begin the installation.
-
When the first part of installation is complete, the final screen informs you that the core components have been installed and additional steps still required:

-
Click Finish to close the installation wizard. A new browser window opens to the next section of the Installation Guide to set the environment variables. If the installation did not indicate you must install dependencies, you can move ahead to Set the Environment Variables. If you received a message that you were missing external software dependencies, listed under Software Requirements at the top of this guide, you need to install them now before continuing on to the next section.
Set the Environment Variables
You need to update several environment variables before you can compile and run OpenVINO™ applications. Open the macOS Terminal* or a command-line interface shell you prefer and run the following script to temporarily set your environment variables:
source /opt/intel/openvino_2021/bin/setupvars.sh
Optional: The OpenVINO environment variables are removed when you close the shell. You can permanently set the environment variables as follows:
-
Open the
.bash_profilefile in the current user home directory:vi ~/.bash_profile -
Press the i key to switch to the insert mode.
-
Add this line to the end of the file:
source /opt/intel/openvino_2021/bin/setupvars.sh -
Save and close the file: press the Esc key, type
:wqand press the Enter key. -
To verify your change, open a new terminal. You will see
[setupvars.sh] OpenVINO environment initialized.
The environment variables are set. Continue to the next section to configure the Model Optimizer.
Configure the Model Optimizer
The Model Optimizer is a Python*-based command line tool for importing trained models from popular deep learning frameworks such as Caffe*, TensorFlow*, Apache MXNet*, ONNX* and Kaldi*.
The Model Optimizer is a key component of the OpenVINO toolkit. You cannot perform inference on your trained model without running the model through the Model Optimizer. When you run a pre-trained model through the Model Optimizer, your output is an Intermediate Representation (IR) of the network. The IR is a pair of files that describe the whole model:
.xml: Describes the network topology.bin: Contains the weights and biases binary data
The Inference Engine reads, loads, and infers the IR files, using a common API on the CPU hardware.
For more information about the Model Optimizer, see the Model Optimizer Developer Guide.
Model Optimizer Configuration Steps
You can choose to either configure the Model Optimizer for all supported frameworks at once, OR for one framework at a time. Choose the option that best suits your needs. If you see error messages, verify that you installed all dependencies listed under Software Requirements at the top of this guide.
Note
: If you installed OpenVINO to a non-default installation directory, replace
/opt/intel/with the directory where you installed the software.
Option 1: Configure the Model Optimizer for all supported frameworks at the same time:
-
Go to the Model Optimizer prerequisites directory:
cd /opt/intel/openvino_2021/deployment_tools/model_optimizer/install_prerequisites -
Run the script to configure the Model Optimizer for Caffe, TensorFlow 1.x, MXNet, Kaldi*, and ONNX:
sudo ./install_prerequisites.sh
Option 2: Configure the Model Optimizer for each framework separately:
Configure individual frameworks separately ONLY if you did not select Option 1 above.
-
Go to the Model Optimizer prerequisites directory:
cd /opt/intel/openvino_2021/deployment_tools/model_optimizer/install_prerequisites -
Run the script for your model framework. You can run more than one script:
- For Caffe:
sudo ./install_prerequisites_caffe.sh- For TensorFlow 1.x:
sudo ./install_prerequisites_tf.sh- For TensorFlow 2.x:
sudo ./install_prerequisites_tf2.sh- For MXNet:
sudo ./install_prerequisites_mxnet.sh- For ONNX:
sudo ./install_prerequisites_onnx.sh- For Kaldi:
sudo ./install_prerequisites_kaldi.sh
The Model Optimizer is configured for one or more frameworks.
You have completed all required installation, configuration and build steps in this guide to use your CPU to work with your trained models.
To enable inference on Intel® Neural Compute Stick 2, see the Steps for Intel® Neural Compute Stick 2.
Or proceed to the Get Started to get started with running code samples and demo applications.
Steps for Intel® Neural Compute Stick 2
These steps are only required if you want to perform inference on Intel® Neural Compute Stick 2 powered by the Intel® Movidius™ Myriad™ X VPU. See also the Get Started page for Intel® Neural Compute Stick 2.
To perform inference on Intel® Neural Compute Stick 2, the libusb library is required. You can build it from the source code or install using the macOS package manager you prefer: Homebrew*, MacPorts* or other.
For example, to install the libusb library using Homebrew*, use the following command:
brew install libusb
You've completed all required configuration steps to perform inference on your Intel® Neural Compute Stick 2. Proceed to the Get Started to get started with running code samples and demo applications.
Get Started
Now you are ready to get started. To continue, see the following pages:
- OpenVINO™ Toolkit Overview
- Get Started Guide for Windows to learn the basic OpenVINO™ toolkit workflow and run code samples and demo applications with pre-trained models on different inference devices.
Uninstall the Intel® Distribution of OpenVINO™ Toolkit
Follow the steps below to uninstall the Intel® Distribution of OpenVINO™ Toolkit from your system:
- From the
<INSTALL_DIR>, locate and openopenvino_toolkit_uninstaller.app. - Follow the uninstallation wizard instructions.
- When uninstallation is complete, click Finish.
Additional Resources
-
To learn more about the verification applications, see
README.txtin/opt/intel/openvino_2021/deployment_tools/demo/. -
For detailed description of the pre-trained models, go to the [Overview of OpenVINO toolkit Pre-Trained Models](@ref omz_models_intel_index) page.
-
More information on sample applications.
