Install and Configure Intel® Distribution of OpenVINO™ toolkit for Windows 10¶
Note
Since the OpenVINO™ 2022.1 release, the following development tools: Model Optimizer, Post-Training Optimization Tool, Model Downloader and other Open Model Zoo tools, Accuracy Checker, and Annotation Converter are not part of the installer. These tools are now only available on pypi.org.
System Requirements¶
Microsoft Windows 10, 64-bit
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
Processor graphics are not included in all processors. See Product Specifications for information about your processor.
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++.
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.
Important
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.
Overview¶
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:
Step 1: Install the Intel® Distribution of OpenVINO™ toolkit Core Components¶
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.
Go to the
Downloads
folder and double-clickw_openvino_toolkit_p_<version>.exe
. In the opened window, you can select the folder where installer files will be placed. The directory will be referred to as <INSTALL_DIR> elsewhere in the documentation. Once the files are extracted, you should see the following dialog box open up:Follow the instructions on your screen. During the installation you will be asked to accept the license agreement. Your acceptance is required to continue. Check out the installation process in the image below:
Click on the image to see the details.
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 symbolic link to the latest installation is also created:
C:\Program Files (x86)\Intel\openvino_2022/
.
To check Release Notes please visit: Release Notes.
The core components are now installed. Continue to the next section to configure environment.
Step 2: 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:
"<INSTALL_DIR>\setupvars.bat"
Optional : OpenVINO™ toolkit environment variables are removed when you close the command prompt window. 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. Check your system environment variables, and add Python if necessary.
The environment variables are set. Next, you can download some additional tools.
Step 3 (Optional): Download Additional Components¶
Note
Since the OpenVINO™ 2022.1 release, the following development tools: Model Optimizer, Post-Training Optimization Tool, Model Downloader and other Open Model Zoo tools, Accuracy Checker, and Annotation Converter are not part of the installer. The OpenVINO™ Development Tools can only be installed via PyPI now. See Install OpenVINO™ Development Tools for detailed steps.
OpenCV
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. The Intel® Distribution of OpenVINO™ provides a script to install OpenCV: <INSTALL_DIR>/extras/scripts/download_opencv.sh
.
Note
No prerequisites are needed.
There are three ways to run the script:
GUI: right-click the script and select
Run with PowerShell
.Command prompt (CMD) console:
powershell <INSTALL_DIR>\extras\scripts\download_opencv.ps1
PowerShell console:
.\<INSTALL_DIR>\scripts\download_opencv.ps1
If the Intel® Distribution of OpenVINO™ is installed to the system location (e.g. Program Files (x86)
) then privilege elevation dialog will be shown. The script can be run from CMD/PowerShell Administrator console to avoid this dialog in case of system-wide installation.
The script is interactive by default, so during the execution it will wait for user to press Enter
If you want to avoid this, use the -batch
option, e.g. powershell <openvino>\extras\scripts\download_opencv.ps1 -batch
. After the execution of the script, you will find OpenCV extracted to <INSTALL_DIR>/extras/opencv
.
Step 4 (Optional): Configure Inference on non-CPU Devices¶
To enable the toolkit components to use Intel® Gaussian & Neural Accelerator (GNA) on your system, follow the steps in GNA Setup Guide.
To enable the toolkit components to use processor graphics (GPU) on your system, follow the steps in GPU Setup Guide.
To install and configure your Intel® Vision Accelerator Design with Intel® Movidius™ VPUs, see the VPU Configuration Guide.
No additional configurations are needed.
Step 5: What’s next?¶
Now you are ready to try out the toolkit.
Developing in Python:
Developing in C++:
Uninstalling the Intel® Distribution of OpenVINO™ Toolkit¶
To uninstall the toolkit, follow the steps on the Uninstalling page.
Additional Resources
Converting models for use with OpenVINO™: Model Optimizer Developer Guide
Writing your own OpenVINO™ applications: OpenVINO™ Runtime User Guide
Sample applications: OpenVINO™ Toolkit Samples Overview
Pre-trained deep learning models: Overview of OpenVINO™ Toolkit Pre-Trained Models
IoT libraries and code samples in the GitHUB repository: Intel® IoT Developer Kit