Install OpenVINO™ Runtime on Windows from an Archive File

Note

Note that the Archive distribution:

  • offers both C/C++ and Python APIs

  • additionally includes code samples

  • is dedicated to Windows users (archives for other systems are also available)

System Requirements

Full requirement listing is available in:
To see if your processor includes the integrated graphics technology and supports iGPU inference, refer to:

Note

To install Microsoft Visual Studio 2019, follow the Microsoft Visual Studio installation guide. You can choose to download the Community version. 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

When installing Python, make sure you click the option Add Python 3.x to PATH to add Python to your PATH environment variable.

Installing OpenVINO Runtime

Step 1: Download and Install OpenVINO Core Components

  1. Create an Intel folder in the C:\Program Files (x86)\ directory. Skip this step if the folder already exists.

    You can also do this via command-lines. Open a new command prompt window as administrator by right-clicking Command Prompt from the Start menu and select Run as administrator, and then run the following command:

    mkdir "C:\Program Files (x86)\Intel"
    

    Note

    C:\Program Files (x86)\Intel is the recommended folder. You may also use a different path if desired or if you don’t have administrator privileges on your computer.

  2. Download the OpenVINO Runtime archive file for Windows to your local Downloads folder.

    If you prefer using command-lines, run the following commands in the command prompt window you opened:

    cd <user_home>/Downloads
    curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/windows/w_openvino_toolkit_windows_2023.3.0.13775.ceeafaf64f3_x86_64.zip --output openvino_2023.3.0.zip
    

    Note

    A .sha256 file is provided together with the archive file to validate your download process. To do that, download the .sha256 file from the same repository and run CertUtil -hashfile openvino_2023.3.0.zip SHA256. Compare the returned value in the output with what’s in the .sha256 file: if the values are the same, you have downloaded the correct file successfully; if not, create a Support ticket here.

  3. Use your favorite tool to extract the archive file, rename the extracted folder, and move it to the C:\Program Files (x86)\Intel directory.

    To do this step using command-line, run the following commands in the command prompt window you opened:

    tar -xf openvino_2023.3.0.zip
    ren w_openvino_toolkit_windows_2023.3.0.13775.ceeafaf64f3_x86_64 openvino_2023.3.0
    move openvino_2023.3.0 "C:\Program Files (x86)\Intel"
    
  4. (Optional) Install numpy Python Library:

    Note

    This step is required only when you decide to use Python API.

    You can use the requirements.txt file from the C:\Program Files (x86)\Intel\openvino_2023.3.0\python folder:

    cd "C:\Program Files (x86)\Intel\openvino_2023.3.0"
    python -m pip install -r .\python\requirements.txt
    
  5. For simplicity, it is useful to create a symbolic link. Open a command prompt window as administrator (see Step 1 for how to do this) and run the following commands:

    cd C:\Program Files (x86)\Intel
    mklink /D openvino_2023 openvino_2023.3.0
    

    Note

    If you have already installed a previous release of OpenVINO 2023, a symbolic link to the openvino_2023 folder may already exist. If you want to override it, navigate to the C:\Program Files (x86)\Intel folder and delete the existing linked folder before running the mklink command.

Congratulations, you have finished the installation! For some use cases you may still need to install additional components. Check the description below, as well as the list of additional configurations to see if your case needs any of them.

The C:\Program Files (x86)\Intel\openvino_2023 folder now contains the core components for OpenVINO. If you used a different path in Step 1, you will find the openvino_2023 folder there. The path to the openvino_2023 directory is also referred as <INSTALL_DIR> throughout the OpenVINO documentation.

Step 2: Configure the Environment

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. If your <INSTALL_DIR> is not C:\Program Files (x86)\Intel\openvino_2023, use the correct directory instead.

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

Important

The above command must be re-run every time a new Command Prompt window is opened.

Note

If you see an error indicating Python is not installed, Python may not be added to the PATH environment variable (as described here). Check your system environment variables, and add Python if necessary.

What’s Next?

Now that you’ve installed OpenVINO Runtime, you’re ready to run your own machine learning applications! Learn more about how to integrate a model in OpenVINO applications by trying out the following tutorials.

Try the Python Quick Start Example to estimate depth in a scene using an OpenVINO monodepth model in a Jupyter Notebook inside your web browser.

https://user-images.githubusercontent.com/15709723/127752390-f6aa371f-31b5-4846-84b9-18dd4f662406.gif

Visit the Tutorials page for more Jupyter Notebooks to get you started with OpenVINO, such as:

Try the C++ Quick Start Example for step-by-step instructions on building and running a basic image classification C++ application.

https://user-images.githubusercontent.com/36741649/127170593-86976dc3-e5e4-40be-b0a6-206379cd7df5.jpg

Visit the Samples page for other C++ example applications to get you started with OpenVINO, such as:

Uninstalling OpenVINO Runtime

If you have installed OpenVINO Runtime from archive files, you can uninstall it by deleting the archive files and the extracted folders. Uninstallation removes all Intel® Distribution of OpenVINO™ Toolkit component files but does not affect user files in the installation directory.

If you have created the symbolic link, remove the link first.

Use either of the following methods to delete the files:

  • Use Windows Explorer to remove the files.

  • Open a Command Prompt and run:

rmdir /s <extracted_folder>
del <path_to_archive>

Additional Resources