• 07/14/2017
  • Public Content
Contents

OpenCV 3.0 / 3.1

Overview
OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library.
OpenCV was built to provide a common infrastructure for computer vision applications and to accelerate the use of machine perception in commercial products. Being a BSD-licensed product, OpenCV makes it easy for businesses to utilize and modify the code. See http://opencv.org/about.html.
Support
Reference Operating System for IoT includes the necessary libraries to run OpenCV applications.
For more information, code examples, and tutorials about using OpenCV, see http://docs.opencv.org/.
Python PIP Installation
Python Dependencies
For development of Python code using the Ref-OS-IoT, it is recommended to install the "pip" package management system in the module. Most uses require pip with python 2.7.
This is done from the device command line:
cd /usr/lib/python2.7 wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip can then be used to install packages for example for pyserial:
python -m pip install pyserial
After updating PIP, install and import:
pip install opencv-python
>>>> import cv2
Python 3.x
If you want to use python version 3.x, run the command python3.; python 3 # opens python 3.5.2
You can default to the python3 by:
unlink /usr/bin/python
ln -s python3 /usr/bin/python
For information about enabling a webcam with Python, see USB Web Camera.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804