0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Note Book : Build OpenCV v4.5.0 backend Openvino

Posted at

###Install Openvino

openvino
# bin ver install

cd /tmp

wget https://apt.repos.intel.com/openvino/2021/GPG-PUB-KEY-INTEL-OPENVINO-2021

sudo apt-key add GPG-PUB-KEY-INTEL-OPENVINO-2021
sudo apt-key list
sudo rm -rf GPG-PUB-KEY-INTEL-OPENVINO-2021
sudo apt -yV update
sudo echo "deb https://apt.repos.intel.com/openvino/2021 all main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2021.list

sudo apt-get -yV install intel-openvino-dev-ubuntu20-2021.1.110

###Build OpenCV

opencv
# looks like cd /yor/oath/opencv/build

export InferenceEngine_DIR=/opt/intel/openvino_2021/inference_engine/share
export NGRAPH_DIR=/opt/intel/openvino_2021/deployment_tools/ngraph/cmake

cmake \
-DInferenceEngine_DIR=${InferenceEngine_DIR}  \
-DWITH_INF_ENGINE=ON \
-Dngraph_DIR=${NGRAPH_DIR} \
-DENABLE_CXX11=ON \
-DWITH_NGRAPH=ON \
..

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?