-
Notifications
You must be signed in to change notification settings - Fork 2.2k
BuildingCode
- Introduction
- Building for different OSes
- Use Custom OpenCV Builds for Inference Engine
- Add Inference Engine to Your Project
- Next Steps
- Additional Resources
The Inference Engine can infer models in different formats with various input and output formats.
The open source version of Inference Engine includes the following plugins:
PLUGIN | DEVICE TYPES |
---|---|
CPU plugin | Intel® Xeon® with Intel® AVX2 and AVX512, Intel® Core™ Processors with Intel® AVX2, Intel® Atom® Processors with Intel® SSE |
GPU plugin | Intel® Processor Graphics, including Intel® HD Graphics and Intel® Iris® Graphics |
GNA plugin | Intel® Speech Enabling Developer Kit, Amazon Alexa* Premium Far-Field Developer Kit, Intel® Pentium® Silver processor J5005, Intel® Celeron® processor J4005, Intel® Core™ i3-8121U processor |
MYRIAD plugin | Intel® Neural Compute Stick 2 powered by the Intel® Movidius™ Myriad™ X |
Heterogeneous plugin | Heterogeneous plugin enables computing for inference on one network on several Intel® devices. |
NOTE: The recommended and tested version of OpenCV is 4.4.0.
Required versions of OpenCV packages are downloaded automatically during the building Inference Engine library. If the build script can not find and download the OpenCV package that is supported on your platform, you can use one of the following options:
-
Download the most suitable version from the list of available pre-build packages from https://download.01.org/opencv/2020/openvinotoolkit from the
<release_version>/inference_engine
directory. -
Use a system-provided OpenCV package (e.g with running the
apt install libopencv-dev
command). The following modules must be enabled:imgcodecs
,videoio
,highgui
. -
Get the OpenCV package using a package manager: pip, conda, conan etc. The package must have the development components included (header files and CMake scripts).
-
Build OpenCV from source using the build instructions on the OpenCV site.
After you got the built OpenCV library, perform the following preparation steps before running the Inference Engine build:
- Set the
OpenCV_DIR
environment variable to the directory where theOpenCVConfig.cmake
file of you custom OpenCV build is located. - Disable the package automatic downloading with using the
-DENABLE_OPENCV=OFF
option for CMake-based build script for Inference Engine.
For CMake projects, set the InferenceEngine_DIR
environment variable:
export InferenceEngine_DIR=/path/to/openvino/build/
Then you can find Inference Engine by find_package
:
find_package(InferenceEngine REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE ${InferenceEngine_LIBRARIES})
Congratulations, you have built the Inference Engine. To get started with the OpenVINO™, proceed to the Get Started guides:
- OpenVINO™ Release Notes
- Introduction to Intel® Deep Learning Deployment Toolkit
- Inference Engine Samples Overview
- Inference Engine Developer Guide
- Model Optimizer Developer Guide
* Other names and brands may be claimed as the property of others.
© Copyright 2018-2024, OpenVINO team
- Home
- General resources
- How to build
-
Developer documentation
- Inference Engine architecture
- CPU plugin
- GPU plugin
- HETERO plugin architecture
- Snippets
- Sample for IE C++/C/Python API
- Proxy plugin (Concept)
- Tests