最后一步又报错了,仅团队交流学习用,不算经验贴
1. OpenVINO介绍
What is OpenVINO?
Intel’s OpenVINO is an acceleration library for optimized computing with Intel’s hardware portfolio.
OpenVINO supports Intel CPUs, GPUs, FPGAs, and VPUs.
Deep learning libraries you’ve come to rely upon such as TensorFlow, Caffe, and mxnet are supported by OpenVINO.
Intel has even optimized OpenCV’s DNN module to support its hardware for deep learning.
In fact, many newer smart cameras use Intel’s hardware along with the OpenVINO toolkit. OpenVINO is edge computing and IoT at its finest — it enables resource-constrained devices like the Raspberry Pi to work with the Movidius coprocessor to perform deep learning at speeds that are useful for real-world applications.
2. Installing OpenVINO’s optimized OpenCV on the ubuntu18.04
Let’s update our system:
$ sudo apt-get update && sudo apt-get upgrade
2.2 And then install developer tools including CMake:
$ sudo apt-get install build-essential cmake unzip pkg-config
2.3 Next
It is time to install a selection of image and video libraries — these are key to being able to work with image and video files:
$ sudo apt-get install libjpeg-dev libpng-dev libtiff-dev
$ sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev
$ sudo apt-get install libxvidcore-dev libx264-dev
From there, let’s install GTK, our GUI backend:
$ sudo apt-get install libgtk-3-dev
And now let’s install a package which may help to reduce GTK warnings:
$ sudo apt-get install libcanberra-gtk*
The asterisk ensures we will grab the ARM-specific GTK. It is required.
Now we need two packages which contain numerical optimizations for OpenCV:
$ sudo apt-get install libatlas-base-dev gfortran
And finally, let’s install the Python 3 development headers:
$ sudo apt-get install python3-dev
Once you have all of these prerequisites installed you can move on to the next step.
2.4: install the Intel® Distribution of OpenVINO™ Toolkit Core Components for your ubuntu18.04
Download the Intel® Distribution of OpenVINO™ toolkit package file from Intel® Distribution of OpenVINO™ toolkit for Linux*. Select the Intel® Distribution of OpenVINO™ toolkit for Linux package from the dropdown menu.
- Open a command prompt terminal window.
- Change directories to where you downloaded the Intel Distribution of OpenVINO toolkit for Linux* package file.
If you downloaded the package file to the current user’ssoftwaredirectory:
cd ~/software/
By default, the file is saved as l_openvino_toolkit_p_<version>.tgz. 1
- Unpack the .tgz file:
tar -xvzf l_openvino_toolkit_p_<version>.tgz
The files are unpacked to the l_openvino_toolkit_p_<version> directory.
- Go to the
l_openvino_toolkit_p_<version>directory:

最低0.47元/天 解锁文章
2672

被折叠的 条评论
为什么被折叠?



