# Install and Configure Intel® Distribution of OpenVINO™ toolkit for Windows* 10¶

## Introduction¶

By default, the OpenVINO™ Toolkit installation on this page installs the following components:

Component

Description

Model Optimizer

This tool imports, converts, and optimizes models that were trained in popular frameworks to a format usable by Intel tools, especially the Inference Engine. Popular frameworks include Caffe*, TensorFlow*, MXNet*, ONNX* and Kaldi*.

Inference Engine

This is the engine that runs the 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

Inference Engine Code Samples

A set of simple command-line applications demonstrating how to utilize specific OpenVINO capabilities in an application and how to perform specific tasks, such as loading a model, running inference, querying specific device capabilities, and more.

Demo Applications

A set of command-line applications that serve as robust templates to help you implement multi-stage pipelines and specific deep learning scenarios.

A set of tools to work with your models including Accuracy Checker utility , Post-Training Optimization Tool , Model Downloader and others

Documentation for Pre-Trained Models

Documentation for the pre-trained models available in the Open Model Zoo repo .

## System Requirements¶

Hardware

Optimized for these processors:

• 6th to 12th generation Intel® Core™ processors and Intel® Xeon® processors

• 3rd generation Intel® Xeon® Scalable processor (formerly code named Cooper Lake)

• Intel® Xeon® Scalable processor (formerly Skylake and Cascade Lake)

• Intel Atom® processor with support for Intel® Streaming SIMD Extensions 4.1 (Intel® SSE4.1)

• Intel Pentium® processor N4200/5, N3350/5, or N3450/5 with Intel® HD Graphics

• Intel® Iris® Xe MAX Graphics

• Intel® Neural Compute Stick 2

• Intel® Vision Accelerator Design with Intel® Movidius™ VPUs

Note

Processor graphics are not included in all processors. See Product Specifications for information about your processor.

Operating System

• Microsoft Windows* 10, 64-bit

Software

This guide provides step-by-step instructions on how to install the Intel® Distribution of OpenVINO™ toolkit. Links are provided for each type of compatible hardware including downloads, initialization and configuration steps. The following steps will be covered:

1. Install External Software Dependencies

2. Install the Intel® Distribution of OpenVINO™ Toolkit

3. Configure the Environment

4. Configure the Model Optimizer

5. Configure Inference on non-CPU Devices (Optional):

6. Start Using the Toolkit

## Step 1: Install External Software Dependencies¶

Install these dependencies:

1. Microsoft Visual Studio* 2019 with MSBuild

Note

You can choose to download Community version. Use Microsoft Visual Studio installation guide to walk you through the installation. During installation in the Workloads tab, choose Desktop development with C++.

2. CMake 3.14 or higher 64-bit

Note

You can either use cmake<version>.msi which is the installation wizard or cmake<version>.zip where you have to go into the bin folder and then manually add the path to environmental variables.

3. Python - 64-bit

Warning

As part of this installation, make sure you click the option Add Python 3.x to PATH to add Python to your PATH environment variable.

## Step 2: Install the Intel® Distribution of OpenVINO™ toolkit Core Components¶

1. Download the Intel® Distribution of OpenVINO™ toolkit package file from Intel® Distribution of OpenVINO™ toolkit for Windows*. Select the Intel® Distribution of OpenVINO™ toolkit for Windows* package from the dropdown menu.

2. Go to the Downloads folder and double-click w_openvino_toolkit_p_<version>.exe. A window opens to let you choose your installation directory and components.

3. Follow the instructions on your screen. Watch for informational messages such as the following in case you must complete additional steps:

4. By default, the Intel® Distribution of OpenVINO™ is installed to the following directory, referred to as <INSTALL_DIR> elsewhere in the documentation: C:\Program Files (x86)\Intel\openvino_<version>. For simplicity, a shortcut to the latest installation is also created: C:\Program Files (x86)\Intel\openvino_2021.

5. Optional : You can choose 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.

6. The Finish screen indicates that the core components have been installed:

7. Click Finish to close the installation wizard.

Once you click Finish to close the installation wizard, a new browser window opens with the document you’re reading now (in case you installed without it) and jumps to the section with the next installation steps.

The core components are now installed. Continue to the next section to install additional dependencies.

## Step 3: Configure the Environment¶

Note

If you installed the Intel® Distribution of OpenVINO™ to a non-default install directory, replace C:\Program Files (x86)\Intel with that directory in this guide’s instructions.

You must update several environment variables before you can compile and run OpenVINO™ applications. Open the Command Prompt, and run the setupvars.bat batch file to temporarily set your environment variables:

"C:\Program Files (x86)\Intel\openvino_2021\bin\setupvars.bat"

Warning

Windows PowerShell* is not recommended to run the configuration commands. Please use the command prompt (cmd) instead.

Optional : OpenVINO toolkit environment variables are removed when you close the command prompt window. As an option, you can permanently set the environment variables manually.

Note

If you see an error indicating Python is not installed when you know you installed it, your computer might not be able to find the program. For the instructions to add Python to your system environment variables, see Update Your Windows Environment Variables.

The environment variables are set. Next, you will configure the Model Optimizer.

## Step 4: 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 Intel Distribution of OpenVINO toolkit. Performing inference on a model (with the exception of ONNX and nGraph models) requires running the model through the Model Optimizer. When you convert a pre-trained model through the Model Optimizer, your output is an Intermediate Representation (IR) of the network. The Intermediate Representation is a pair of files that describe the whole model:

• .xml : Describes the network topology

• .bin : Contains the weights and biases binary data

If you see error messages, make sure you installed all dependencies. These steps use a command prompt to make sure you see error messages.

1. Open a command prompt by typing cmd in your Search Windows box and then pressing Enter. Type commands in the opened window:

2. Go to the Model Optimizer prerequisites directory.

cd C:\Program Files (x86)\Intel\openvino_2021\deployment_tools\model_optimizer\install_prerequisites
3. Run this batch file to configure the Model Optimizer for Caffe, TensorFlow 2.x, MXNet, Kaldi*, and ONNX:

install_prerequisites.bat
4. Optional: You can choose to configure each framework separately instead. If you see error messages, make sure you installed all dependencies. From the Model Optimizer prerequisites directory, run the scripts for the model frameworks you want support for. You can run more than one script.

Note

You can choose to install Model Optimizer support for only certain frameworks. In the same directory are individual scripts for Caffe, TensorFlow 1.x, TensorFlow 2.x, MXNet, Kaldi*, and ONNX (install_prerequisites_caffe.bat, etc.).

The Model Optimizer is configured for one or more frameworks.

You have now completed all required installation, configuration and build steps in this guide to use your CPU to work with your trained models.

If you want to use a GPU or VPU, or update your Windows* environment variables, read through the Optional Steps section:

Or proceed to the Start Using the Toolkit section to learn the basic OpenVINO™ toolkit workflow and run code samples and demo applications.

## Step 5 (Optional): Configure Inference on non-CPU Devices:¶

### Optional: Steps for Intel® Processor Graphics (GPU)¶

Note

These steps are required only if you want to use an Intel® integrated GPU.

This section will help you check if you require driver installation. Install indicated version or higher.

If your applications offload computation to Intel® Integrated Graphics, you must have the Intel Graphics Driver for Windows installed on your hardware. Download and install the recommended version.

To check if you have this driver installed:

1. Type device manager in your Search Windows box and press Enter. The Device Manager opens.

2. Click the drop-down arrow to view the Display adapters. You can see the adapter that is installed in your computer:

3. Right-click the adapter name and select Properties.

4. Click the Driver tab to see the driver version.

You are done updating your device driver and are ready to use your GPU. Proceed to the Start Using the Toolkit section to learn the basic OpenVINO™ toolkit workflow and run code samples and demo applications.

### Optional: Steps for Intel® Vision Accelerator Design with Intel® Movidius™ VPUs¶

Note

These steps are required only if you want to use Intel® Vision Accelerator Design with Intel® Movidius™ VPUs.

To enable inference on Intel® Vision Accelerator Design with Intel® Movidius™ VPUs, the following additional installation steps are required:

2. Check with a support engineer if your Intel® Vision Accelerator Design with Intel® Movidius™ VPUs card requires SMBUS connection to PCIe slot (most unlikely). Install the SMBUS driver only if confirmed (by default, it’s not required):

1. Go to the <INSTALL_DIR>\deployment_tools\inference-engine\external\hddl\drivers\SMBusDriver directory, where <INSTALL_DIR> is the directory in which the Intel Distribution of OpenVINO toolkit is installed.

2. Right click on the hddlsmbus.inf file and choose Install from the pop up menu.

You are done installing your device driver and are ready to use your Intel® Vision Accelerator Design with Intel® Movidius™ VPUs.

After configuration is done, you are ready to go to Start Using the Toolkit section to learn the basic OpenVINO™ toolkit workflow and run code samples and demo applications.

## Optional: Update Your Windows Environment Variables¶

Note

These steps are only required under special circumstances, such as if you forgot to check the box during the CMake* or Python* installation to add the application to your Windows PATH environment variable.

Use these steps to update your Windows PATH if a command you execute returns an error message stating that an application cannot be found.

1. In your Search Windows box, type Edit the system environment variables and press Enter. A window like the following appears:

2. At the bottom of the screen, click Environment Variables.

3. Under System variables, click Path and then Edit :

4. In the opened window, click Browse. A browse window opens:

5. If you need to add CMake to the PATH, browse to the directory in which you installed CMake. The default directory is C:\Program Files\CMake.

6. If you need to add Python to the PATH, browse to the directory in which you installed Python. The default directory is C:\Users\<USER_ID>\AppData\Local\Programs\Python\Python36\Python. Note that the AppData folder is hidden by default. To view hidden files and folders, see these Windows 10 instructions.

7. Click OK repeatedly to close each screen.

Your PATH environment variable is updated. If the changes don’t take effect immediately, you may need to reboot.

## Step 6: Start Using the Toolkit¶

Now you are ready to try out the toolkit. To continue, see the ../get_started/get_started.md “Get Started Guide” section 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¶

To uninstall the toolkit, follow the steps on the Uninstalling page.