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"
If installation was successful, you will not see any error messages (no console output).
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.2-3976-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: openvino-2021.4.2-3976-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 22.4 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5640eab0152a567ae3cbfab393227479ef936153399e25dea04cd96c817d1dd4 |
|
MD5 | 9aa548f0513072ab9d2b71e5f5813a48 |
|
BLAKE2b-256 | 3fd0cc87daddc63c74f6142f2b117244748a6c59250a9b2a20be5f914d98233d |
File details
Details for the file openvino-2021.4.2-3976-cp39-cp39-manylinux2014_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.2-3976-cp39-cp39-manylinux2014_x86_64.whl
- Upload date:
- Size: 28.9 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2260ac472b2834d520789dd29e15eaeeae62eba8c1867159efbda82940d2012f |
|
MD5 | 41c9005083df835d576b1de07e0057c2 |
|
BLAKE2b-256 | 197316104d1a358d8a2a317477fce87c64f75645634970a4edb6e57083204f99 |
File details
Details for the file openvino-2021.4.2-3976-cp39-cp39-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.2-3976-cp39-cp39-macosx_10_15_x86_64.whl
- Upload date:
- Size: 26.4 MB
- Tags: CPython 3.9, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74b9f7f5d834b15348bc96d450ddd4bc53e22333979d0d0bac7dcdc819703026 |
|
MD5 | f1247894cb3650b2ff4ba32b3dc004e6 |
|
BLAKE2b-256 | 7090d6d4b78152fc8696592d2a2755de81f52928d41dd0b14b9cbd70fcdc685c |
File details
Details for the file openvino-2021.4.2-3976-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: openvino-2021.4.2-3976-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 22.4 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58fd570d6d0a72adb8871bd14a7d653eb471d92f43988f934b58397232e24f9d |
|
MD5 | e0297b31ce334d688fcc8557e4023e7a |
|
BLAKE2b-256 | cadcb0f70311460d0b090c3135533dc143304f4f3e81c01d3a35e711b9755ea5 |
File details
Details for the file openvino-2021.4.2-3976-cp38-cp38-manylinux2014_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.2-3976-cp38-cp38-manylinux2014_x86_64.whl
- Upload date:
- Size: 28.9 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6b23cabfcd743a5e4bd3bd3d0dfb7c38a4894fdde0ca21d2aba3f52b9106345 |
|
MD5 | b1b3fd7a413840387788d5cd787a3769 |
|
BLAKE2b-256 | 802cc8f0b61a7cf36d0a6bc16618149d167ce883d9bfb740a9b07bbc863f0b0f |
File details
Details for the file openvino-2021.4.2-3976-cp38-cp38-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.2-3976-cp38-cp38-macosx_10_15_x86_64.whl
- Upload date:
- Size: 26.4 MB
- Tags: CPython 3.8, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45167e4af7a8d8e8b8a10318bf3ca11a79861d5f044d2d7662be39f30ff7815d |
|
MD5 | 604fdf7ea320362300f99625be83e39b |
|
BLAKE2b-256 | b9165ea4b25f88906f10a3cc5920813b39d1093cb5d6f21459f725123966c936 |
File details
Details for the file openvino-2021.4.2-3976-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: openvino-2021.4.2-3976-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 22.4 MB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e45c7fd3dfed61a355091eef0d031de0c2eac237d64335c602ff311a8bf81a48 |
|
MD5 | cd630b6df515daddd6e3178d67a28377 |
|
BLAKE2b-256 | b6aaf6cc918358d5098e5166ca8112c3a3e8a964a9cc05cc54be5f1e778588bf |
File details
Details for the file openvino-2021.4.2-3976-cp37-cp37m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.2-3976-cp37-cp37m-manylinux2014_x86_64.whl
- Upload date:
- Size: 28.9 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e825820394719e5afcb9ab9155fc4150fc094a4065b5cb49e1a5837e14c7148c |
|
MD5 | 48e2fcd407fdc59a0c1e958406d50a19 |
|
BLAKE2b-256 | fed764e5dd92fa1565933d00e5a768962387ee3621a972f0ca19cb430f10cef0 |
File details
Details for the file openvino-2021.4.2-3976-cp37-cp37m-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.2-3976-cp37-cp37m-macosx_10_15_x86_64.whl
- Upload date:
- Size: 26.4 MB
- Tags: CPython 3.7m, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 291b20b47cd3a08696af7f5777bf8db13b2b94c6a49e16b6bf41b3bc7a1fabe6 |
|
MD5 | 98b8b7d31a73addc9ea7774711b92602 |
|
BLAKE2b-256 | 276f2e03f575349412f511690f4774391b6bcdb88d5dcf06d9eb86ce423ee5f1 |
File details
Details for the file openvino-2021.4.2-3976-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: openvino-2021.4.2-3976-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 22.4 MB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 935b520cb0cedf48ff6f6c7d58e3b89ab0450e529ffb7887fcec59ec6589693c |
|
MD5 | 472cce912c72f275013ec29441baecb4 |
|
BLAKE2b-256 | 3e31751fc96482cee91c896ee59c52f2890330ebb10d1bcd73092407aef824dd |
File details
Details for the file openvino-2021.4.2-3976-cp36-cp36m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.2-3976-cp36-cp36m-manylinux2014_x86_64.whl
- Upload date:
- Size: 28.9 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a989c1203bfca9e62018d30309285c3aeb162542717d1dda2898bcb91799363d |
|
MD5 | 78f94419c5c7ac57cab611deb834c147 |
|
BLAKE2b-256 | f769770782ce62061203cf7ffc47dd930ce4eea77e497e1c40e7ffc067290a4a |
File details
Details for the file openvino-2021.4.2-3976-cp36-cp36m-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: openvino-2021.4.2-3976-cp36-cp36m-macosx_10_15_x86_64.whl
- Upload date:
- Size: 26.4 MB
- Tags: CPython 3.6m, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f182e38a727e66ed5ccaad97a185061ff1e1bed255f0405b5a5b3d34dd534d |
|
MD5 | 8adf56be841dc567f07815b5eb16e250 |
|
BLAKE2b-256 | 369aa4eaa2b5675838d3bf4ce797bd70181ebe68060ba28e4458c5f8782864a6 |