Inference Engine Python* API
Project description
Intel® Distribution of OpenVINO™ Toolkit Runtime Package
Copyright © 2018-2021 Intel Corporation
LEGAL NOTICE: Your use of this software and any required dependent software (the “Software Package”) is subject to the terms and conditions of the software license agreements for the Software Package, which may also include notices, disclaimers, or license terms for third party or open source software included in or with the Software Package, and your use indicates your acceptance of all such terms. Please refer to the “third-party-programs.txt” or other similarly-named text file included with the Software Package for additional details.
Intel is committed to the respect of human rights and avoiding complicity in human rights abuses, a policy reflected in the Intel Global Human Rights Principles. Accordingly, by accessing the Intel material on this platform you agree that you will not use the material in a product or application that causes or contributes to a violation of an internationally recognized human right.
Introduction
OpenVINO™ toolkit is a comprehensive toolkit for quickly developing applications and solutions that solve a variety of tasks including emulation of human vision, automatic speech recognition, natural language processing, recommendation systems, and many others. Based on latest generations of artificial neural networks, including Convolutional Neural Networks (CNNs), recurrent and attention-based networks, the toolkit extends computer vision and non-vision workloads across Intel® hardware, maximizing performance. It accelerates applications with high-performance, AI and deep learning inference deployed from edge to cloud.
The Intel® Distribution of OpenVINO™ toolkit*:
- Enables CNN-based deep learning inference on the edge
- Supports heterogeneous execution across Intel® CPU, Intel® Integrated Graphics, Intel® Neural Compute Stick 2, and Intel® Vision Accelerator Design with Intel® Movidius™ VPUs
- Speeds time-to-market via an easy-to-use library of computer vision functions and pre-optimized kernels
The runtime package includes the following components installed by default:
Component | Description |
---|---|
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. |
System Requirements
The complete list of supported hardware is available in the Release Notes.
The table below lists supported operating systems and Python* versions required to run the installation.
Supported Operating System | Python* Version (64-bit) |
---|---|
Ubuntu* 18.04 long-term support (LTS), 64-bit | 3.6, 3.7, 3.8 |
Ubuntu* 20.04 long-term support (LTS), 64-bit | 3.6, 3.7, 3.8 |
Red Hat* Enterprise Linux* 8, 64-bit | 3.6, 3.8 |
CentOS* 7, 64-bit | 3.6, 3.7, 3.8 |
macOS* 10.15.x versions | 3.6, 3.7, 3.8 |
Windows 10*, 64-bit | 3.6, 3.7, 3.8 |
NOTE: This package can be installed on other versions of Linux and Windows OSes, but only the specific versions above are fully validated.
Install the Runtime Package
Step 1. Set Up Python Virtual Environment
To avoid dependency conflicts, use a virtual environment. Skip this step only if you do want to install all dependencies globally.
Create virtual environment:
python -m pip install --user virtualenv
python -m venv openvino_env
NOTE: On Linux and macOS, you may need to type
python3
instead ofpython
. You may also need to install pip.
Step 2. Activate Virtual Environment
On Linux and macOS:
source openvino_env/bin/activate
On Windows:
openvino_env\Scripts\activate
Step 3. Set Up and Update PIP to the Highest Version
Run the command below:
python -m pip install --upgrade pip
Step 4. Install the Package
Run the command below:
pip install openvino
Step 5. Verify that the Package Is Installed
Run the command below:
python -c "from openvino.inference_engine import IECore"
You will not see any error messages if installation finished successfully.
Troubleshooting
Error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio"
On Windows* some dependencies may require compilation from source when installing. To resolve this issue, you need to install Build Tools for Visual Studio* 2019 and repeat package installation.
ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
To resolve missing external dependency on Ubuntu*, execute the following command:
sudo apt-get install libpython3.7
Additional Resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file openvino-2021.4.0-3839-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: openvino-2021.4.0-3839-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 21.8 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73fb885294f4518c96b9b5ce9e53e5d0b3356d4bb6080cae8fafe91351676687 |
|
MD5 | 91085675b51a095149e0efa716968dd0 |
|
BLAKE2b-256 | 396daab20b762a31445fb96a08b75a4330e98b1ec08a772e1208f24ee0967c9e |
File details
Details for the file openvino-2021.4.0-3839-cp39-cp39-manylinux2014_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.0-3839-cp39-cp39-manylinux2014_x86_64.whl
- Upload date:
- Size: 28.2 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 790444ba5d6c3f977d51252d283c3f43008c3adc08bf5ae4c1eea7b1cec40453 |
|
MD5 | 267cf0423559d6981021135d664a2626 |
|
BLAKE2b-256 | 71cf9476ac9b803cbc3a65f38c876486a961514360aafc85ee0f5bcb2c24c6aa |
File details
Details for the file openvino-2021.4.0-3839-cp39-cp39-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.0-3839-cp39-cp39-macosx_10_15_x86_64.whl
- Upload date:
- Size: 25.8 MB
- Tags: CPython 3.9, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c293995dd69149fc310d80dc050c01679c1b3ccb71aa41e90322c2180847b99 |
|
MD5 | b25c093bc4c6868aa7050a0fc519bdf3 |
|
BLAKE2b-256 | a6ed85596319ab6d03b8e1df788d4b396dd82fbf9b0b6d4d85658a746e4e121a |
File details
Details for the file openvino-2021.4.0-3839-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: openvino-2021.4.0-3839-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 21.8 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f21dadde3777bd285d7470d8083fb9391fd28f8ee4e590ad6104d6c63817545 |
|
MD5 | 25efbce831386c930b6e57bb3935ce37 |
|
BLAKE2b-256 | dc8a24f852e0090035eb643e8f1d8bd34a56116c3fed4d9a2a1fd15eda9a3fb5 |
File details
Details for the file openvino-2021.4.0-3839-cp38-cp38-manylinux2014_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.0-3839-cp38-cp38-manylinux2014_x86_64.whl
- Upload date:
- Size: 28.2 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dbfe96887c6a456ac6f1755efdc40129ba09c1e05d583173013442cf713ff84 |
|
MD5 | 70c43724f5dfbc3527b3ab1fece3a74e |
|
BLAKE2b-256 | 487096c9301a0b530bc61490f8717bbfba6bb069ffa028ae39e858e6d364da28 |
File details
Details for the file openvino-2021.4.0-3839-cp38-cp38-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.0-3839-cp38-cp38-macosx_10_15_x86_64.whl
- Upload date:
- Size: 25.8 MB
- Tags: CPython 3.8, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 819770d157913efccb1bad5dbe3d7944c66b308b02f8123ae99109536521ab55 |
|
MD5 | bea8e734ad3e21b953e93b9876e4e4ee |
|
BLAKE2b-256 | ae159db041f04be0a2f91621f87873680c261968e105a21cc174a64eb127fa61 |
File details
Details for the file openvino-2021.4.0-3839-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: openvino-2021.4.0-3839-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 21.8 MB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0a1d0eb2a92c0b422b344b47019a49d7b07bd1f628335da51da38eeaf2e8de4 |
|
MD5 | e421fe2c513b6c2158cf339606f5a9c3 |
|
BLAKE2b-256 | 429bfe05b0f45f06e3bd311952b13527159656735b4b0d3377c473a5bc400717 |
File details
Details for the file openvino-2021.4.0-3839-cp37-cp37m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.0-3839-cp37-cp37m-manylinux2014_x86_64.whl
- Upload date:
- Size: 28.2 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cb379f0d3f83141ce73cb634f115f8e0f23567abdcc7057be747237b8f99719 |
|
MD5 | 755e79e0374e0d8f6ba31f5d2662cadb |
|
BLAKE2b-256 | 3b0e9ab3bb4efa9179fb5b936d09c370bc203bb386a1f64835fe53a59eacb495 |
File details
Details for the file openvino-2021.4.0-3839-cp37-cp37m-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.0-3839-cp37-cp37m-macosx_10_15_x86_64.whl
- Upload date:
- Size: 25.8 MB
- Tags: CPython 3.7m, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81aaac57f641ced2023d80dcd98669ad49b46cb548e91450b18437c186ec3959 |
|
MD5 | c765489fef6c664716bb888cb8ba27bb |
|
BLAKE2b-256 | 0589e0dc6ae01973867020a0c44b9213f844e85daaa1fd1614ac001e1c804014 |
File details
Details for the file openvino-2021.4.0-3839-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: openvino-2021.4.0-3839-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 21.8 MB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cd90b6d1ad7a792b19e926c34a2a56e48f8bd05f2ff7a5182927a2870e0a4e3 |
|
MD5 | d26956351190a581c592cd6199a262ae |
|
BLAKE2b-256 | addb6acf8083693e8a51108a28afa094e2634283aedec85f015a34d79e353f0f |
File details
Details for the file openvino-2021.4.0-3839-cp36-cp36m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.0-3839-cp36-cp36m-manylinux2014_x86_64.whl
- Upload date:
- Size: 28.2 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 899a210e22b0ead3040cf2e11431cf0bd692636230f87219f14a0339e91be770 |
|
MD5 | 684288161d97d2c044e95b71610bce52 |
|
BLAKE2b-256 | f695be1ba5e2412ce41bb8c401c4ac59955443220eccabaf1a9bd3dd25e8d2b6 |
File details
Details for the file openvino-2021.4.0-3839-cp36-cp36m-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.0-3839-cp36-cp36m-macosx_10_15_x86_64.whl
- Upload date:
- Size: 25.8 MB
- Tags: CPython 3.6m, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0035dfb6c433f1e018a8cd72170b5b8525ccf26ad02c62be34793f0cb63b92af |
|
MD5 | d456c8786d114ea1745420d5a8e8d712 |
|
BLAKE2b-256 | a7460f77caf0db8efb3c36133d8b3a0a2e1b853c192316de6aaf3a26ecca26c0 |