Quantcast
Viewing all articles
Browse latest Browse all 1142

Installing the Intel® Computer Vision SDK on Ubuntu* Linux 16.04.03

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.

  1. Install GCC* 4.8 or higher:
    sudo apt install gcc
  2. Install Python* version 3.5 or higher:
    sudo apt install python3
  3. Create a new directory. This example uses a directory called install:
    mkdir ~/install
    
  4. 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
  5. Go to the directory that has the unpacked files:
    cd intel_cv_sdk_base_2018.0.187
  6. 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
  7. 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

  1. After you complete the pre-installation steps, start the GUI-based installation wizard:
    sudo ./install_GUI.sh
  2. 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.
  3. 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.
  4. The Installation summary screen shows you the options that will be installed if you make no changes.
  5. 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.
  6. A Complete screen indicates the software is installed. Click Finish to close the wizard.
  7. Go to the install directory: 
    cd /opt/intel/computer_vision_sdk_2018.0.187/deployment_tools/
  8. Type the command:

    ls

    Make sure you see two folders: model_optimizer and inference_engine

Setting your Environment Variables

  1. Set the initial environment variables:
    source /opt/intel/computer_vision_sdk/bin/setupvars.sh
  2. 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:

  1. Launch the Firefox* browser.
  2. In the URL line, type:

     file:///home/cvsdk/study_assets/cvsdk_readme.html

  3. Select Hello World Tutorial

Viewing all articles
Browse latest Browse all 1142

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>