Skip to main content

Inference Engine Python* API

Project description

OpenVINO™ Toolkit

OpenVINO™ toolkit quickly deploys applications and solutions that emulate human vision. Based on Convolutional Neural Networks (CNNs), the toolkit extends computer vision (CV) workloads across Intel® hardware, maximizing performance. The OpenVINO™ toolkit includes the Deep Learning Deployment Toolkit (DLDT).

OpenVINO™ toolkit:

  • Enables CNN-based deep learning inference on the edge
  • Supports heterogeneous execution across an Intel® CPU, Intel® Integrated Graphics, Intel® FPGA, 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
  • Includes optimized calls for computer vision standards, including OpenCV* and OpenCL™

Operating Systems:

  • Ubuntu* 18.04 long-term support (LTS), 64-bit
  • Windows* 10, 64-bit
  • macOS* 10.15, 64-bit

Install the Runtime Package Using the PyPI Repository

  1. Set up and update pip to the highest version:
    python3 -m pip install --upgrade pip
    
  2. Install the Intel® distribution of OpenVINO™ toolkit:
    pip install openvino
    
  3. Add PATH to environment variables.
  • Ubuntu* 18.04 and macOS*:
    export LD_LIBRARY_PATH=<library_dir>:${LD_LIBRARY_PATH}
    
  • Windows* 10:
    set PATH=<library_dir>;%PATH%
    

How to find library_dir:

  • Ubuntu*, macOS*:
    • standard user:
      echo $(python3 -m site --user-base)/lib
      
    • root or sudo user:
      /usr/local/lib
      
    • virtual environments or custom Python installations (from sources or tarball):
      echo $(which python3)/../../lib
      
  • Windows*:
    • standard Python:
       python -c "import os, sys; print((os.path.dirname(sys.executable))+'\Library\\bin')"
      
    • virtual environments or custom Python installations (from sources or tarball):
       python -c "import os, sys; print((os.path.dirname(sys.executable))+'\..\Library\\bin')"
      
  1. Verify that the package is installed:
    python3 -c "import openvino"
    

Now you are ready to develop and run your application.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

openvino-2021.2-170-cp38-cp38-win_amd64.whl (18.9 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

openvino-2021.2-170-cp37-cp37m-win_amd64.whl (19.0 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

openvino-2021.2-170-cp37-cp37m-manylinux2010_x86_64.whl (20.4 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

openvino-2021.2-170-cp37-cp37m-macosx_10_15_x86_64.whl (23.2 MB view hashes)

Uploaded CPython 3.7m macOS 10.15+ x86-64

openvino-2021.2-170-cp36-cp36m-win_amd64.whl (19.0 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

openvino-2021.2-170-cp36-cp36m-manylinux2010_x86_64.whl (20.3 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

openvino-2021.2-170-cp36-cp36m-macosx_10_15_x86_64.whl (23.3 MB view hashes)

Uploaded CPython 3.6m macOS 10.15+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page