###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 \
..