Installing the Intel® Computer Vision SDK on Ubunu* Linux 16.04.03
The installation package comes as an archive that contains components and installation scripts.
These instructions describe:
- Pre-installation steps
- Installing the Intel® CV SDK on Ubuntu* Linux 16.04.04
- Your next steps
Pre-installation Steps
Use these steps to prepare your development machine for the Intel® CV SDK software.
- Install GCC* 4.8 or higher:
sudo apt install gcc
- Install Python* version 3.5 or higher:
sudo apt install python3
- Create a new directory. This example uses a directory called
install
:mkdir ~/install
- Go to the new directory. Move the downloaded archive package to this directory and unpack the archive. This example uses the
Downloads
directory:cd ~/install mv ~/Downloads/intel_cv_sdk_2018.0.187.tar ~/install tar -xavf intel_cv_sdk_2018.0.187.tar
- Go to the directory that has the unpacked files:
cd intel_cv_sdk_base_2018.0.187
- Install the external dependencies. These dependencies are the packages required for Intel-optimized OpenCV 3.4, the Inference Engine, and the Model Optimizer tools:
sudo ./install_cv_sdk_dependencies.sh
- This step will take 10 minutes or more and applies only for applications that offload computation to an Intel® GPU. This step installs the OpenCL™ 2.0 GPU/CPU driver package for Linux*. To install this driver, run
install_OCL_driver.sh
from the installation package directory.
Installing the Intel® CV SDK
- After you complete the pre-installation steps, start the GUI-based installation wizard:
sudo ./install_GUI.sh
- The Prerequisites screen tells you if you are missing any required or recommended components, and the effect the missing component has on installing or using the product. If you are missing a critical component, resolve the issue and then click Re-check.
- When all critical issues are resolved, you will be able to click Next to begin the installation, or make final changes to your component selections and choose your installation directory.
- The Installation summary screen shows you the options that will be installed if you make no changes.
- Click Install if you are ready to start the installation, or if you want to change the selected components and/or specify the installation directory, click Customize. To proceed with the standard installation, click Install.
- A Complete screen indicates the software is installed. Click Finish to close the wizard.
- Go to the install directory:
cd /opt/intel/computer_vision_sdk_2018.0.187/deployment_tools/
- Type the command:
ls
Make sure you see two folders:
model_optimizer
andinference_engine
Setting your Environment Variables
- Set the initial environment variables:
source /opt/intel/computer_vision_sdk/bin/setupvars.sh
- Set the environment variable for all users, including root. Add this line to the end of the environment variables file:
/etc/bash.bashrc
source /opt/intel/computer_vision_sdk/bin/setupvars.sh
Replace the Inference Engine Files
NOTE: These steps are a temporary workaround for this study.
sudo rm -rf /opt/intel/computer_vision_sdk/deployment_tools/inference_engine/* sudo cp -r ~/study_assets/ie_163/* /opt/intel/computer_vision_sdk/deployment_tools/inference_engine
Next Steps
Open the readme file to begin the tutorial:
- Launch the Firefox* browser.
- In the URL line, type:
file:///home/cvsdk/study_assets/cvsdk_readme.html
- Select Hello World Tutorial