openvino

package
v0.0.0-...-c936c7d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

README

Using the Intel OpenVINO toolkit

The Intel OpenVINO toolkit is a set of tools and libraries for computer vision applications, that uses computer vision and imaging algorithms developed at Intel. It also includes a complete build of OpenCV.

GoCV support for the Intel OpenVINO Photography Vision Library (PVL) which can be found in the "github.com/TokenUndefined/gocv/openvino/pvl" package. Check out the README.md in the pvl directory for more information.

Installing Intel OpenVINO toolkit

The most recent version of the Intel OpenVINO toolkit is currently R1. You can obtain it from here:

https://software.intel.com/en-us/openvino-toolkit

One you have downloaded the compressed file, unzip the contents, and then run the install.sh program within the extracted directory.

How to build/run code

Setup the environment for the Intel OpenVINO toolkit, by running the setupvars.sh program included with OpenVINO:

source /opt/intel/computer_vision_sdk/bin/setupvars.sh

Then set the needed other exports for building/running GoCV code by running the env.sh that is in the GoCV openvino directory:

source openvino/env.sh

You only need to do these two steps one time per session. Once you have run them, you do not need to run them again until you close your terminal window.

Now you can run the version command example to make sure you are compiling/linking against Intel OpenVINO:

$ go run -tags openvino ./cmd/version/main.go
gocv version: 0.13.0
opencv lib version: 3.4.1-cvsdk_2018_1.0.5

Note the use of -tags openvino is needed when using go run or go build with OpenVINO, so the CGo compiler can pickup the correct settings for the environment, and ignore the usual defaults.

Examples that use the Intel OpenVINO toolkit can be found in the cmd/openvino directory of this repository.

Documentation

Overview

Package openvino is the GoCV wrapper around the Intel OpenVINO toolkit.

For further details, please see: https://software.intel.com/en-us/openvino-toolkit

Directories

Path Synopsis
Package ie is the GoCV wrapper around the Intel OpenVINO toolkit's Inference Engine.
Package ie is the GoCV wrapper around the Intel OpenVINO toolkit's Inference Engine.
Package pvl is the GoCV wrapper around the Intel OpenVINO toolkit's Photography vision Library (PVL).
Package pvl is the GoCV wrapper around the Intel OpenVINO toolkit's Photography vision Library (PVL).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL