Package: openvino
OpenVINO™Intel® Distribution of OpenVINO™ toolkit is an open-source toolkit for optimizing and deploying AI inference. It can be used to develop applications and solutions based on deep learning tasks, such as: emulation of human vision, automatic speech recognition, natural language processing, recommendation systems, etc. It provides high-performance and rich deployment options, from edge to cloud.If you have already finished developing your models and converting them to the OpenVINO model format, you can install OpenVINO Runtime to deploy your applications on various devices. TheOpenVINO™Python package includes a set of libraries for an easy inference integration with your products.System RequirementsBefore you start the installation, check the supported operating systems and required Python* versions. The complete list of supported hardware is available in theSystem Requirements.C++ librariesare also required for the installation on Windows*. To install that, you candownload the Visual Studio Redistributable file (.exe).NOTE: This package can be installed on other versions of Linux and Windows OSes, but only the specific versions above are fully validated.Install OpenVINO™Step 1. Set Up Python Virtual EnvironmentUse a virtual environment to avoid dependency conflicts.To create a virtual environment, use the following commands:On Windows:python-mvenvopenvino_envOn Linux and macOS:python3-mvenvopenvino_envNOTE: On Linux and macOS, you may need toinstall pip. For example, on Ubuntu execute the following command to get pip installed:sudo apt install python3-venv python3-pip.Step 2. Activate Virtual EnvironmentOn Windows:openvino_env\Scripts\activateOn Linux and macOS:sourceopenvino_env/bin/activateStep 3. Set Up and Update PIP to the Highest VersionRun the command below:python-mpipinstall--upgradepipStep 4. Install the PackageRun the command below:pipinstallopenvinoStep 5. Verify that the Package Is InstalledRun the command below:python-c"from openvino import Core; print(Core().available_devices)"If installation was successful, you will see the list of available devices.What's in the PackageComponentContentDescriptionOpenVINO Runtimeopenvino packageOpenVINO Runtimeis a set of C++ libraries with C and Python bindings providing a common API to deliver inference solutions on the platform of your choice. Use the OpenVINO Runtime API to read PyTorch*, TensorFlow*, TensorFlow Lite*, ONNX*, and PaddlePaddle* models and execute them on preferred devices. OpenVINO Runtime uses a plugin architecture and includes the following plugins:CPU,GPU,Auto Batch,Auto,Hetero.OpenVINO Model Converter (OVC)ovcOpenVINO Model Converterconverts models that were trained in popular frameworks to a format usable by OpenVINO components.Supported frameworks include ONNX*, TensorFlow*, TensorFlow Lite*, and PaddlePaddle*.Benchmark Toolbenchmark_appBenchmark Applicationallows you to estimate deep learning inference performance on supported devices for synchronous and asynchronous modes.TroubleshootingFor general troubleshooting steps and issues, seeTroubleshooting Guide for OpenVINO Installation. The following sections also provide explanations to several error messages.Errors with Installing via PIP for Users in ChinaUsers in China might encounter errors while downloading sources via PIP during OpenVINO™ installation. To resolve the issues, try the following solution:Add the download source using the-iparameter with the Pythonpipcommand. For example:pipinstallopenvino-ihttps://mirrors.aliyun.com/pypi/simple/Use the--trusted-hostparameter if the URL above ishttpinstead ofhttps.ERROR:root:Could not find the Inference Engine or nGraph Python API.On Windows*, some libraries are necessary to run OpenVINO. To resolve this issue, install theC++ redistributable (.exe). You can also view a full download list on theofficial support page.ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directoryTo resolve missing external dependency on Ubuntu*, execute the following command:sudoapt-getinstalllibpython3.8Additional ResourcesIntel® Distribution of OpenVINO™ toolkitOpenVINO™ DocumentationOpenVINO™ NotebooksOpenVINO Installation Selector ToolCopyright © 2018-2023 Intel CorporationLEGAL NOTICE: Your use of this software and any required dependent software (the
“Software Package”) is subject to the terms and conditions of theApache 2.0 Licensefor 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 theIntel 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.