<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Computer Vision library has in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084887#M63034</link>
    <description>&lt;P&gt;Computer Vision library has the following requirements:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html:" target="_blank"&gt;http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html:&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;GCC 4.4.x or later&lt;BR /&gt;
	CMake 2.6 or higher&lt;BR /&gt;
	Git&lt;BR /&gt;
	GTK+2.x or higher, including headers (libgtk2.0-dev)&lt;BR /&gt;
	pkg-config&lt;BR /&gt;
	Python 2.6 or later and Numpy 1.5 or later with developer packages (python-dev, python-numpy)&lt;BR /&gt;
	ffmpeg or libav development packages: libavcodec-dev, libavformat-dev, libswscale-dev&lt;BR /&gt;
	[optional] libtbb2 libtbb-dev&lt;BR /&gt;
	[optional] libdc1394 2.x&lt;BR /&gt;
	[optional] libjpeg-dev, libpng-dev, libtiff-dev, libjasper-dev, libdc1394-22-dev&lt;/P&gt;

&lt;P&gt;The CMAKE build system requires further analysis. TBD&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 29 Nov 2015 16:44:17 GMT</pubDate>
    <dc:creator>P__Robert</dc:creator>
    <dc:date>2015-11-29T16:44:17Z</dc:date>
    <item>
      <title>Using OpenCV with ICC and MIC</title>
      <link>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084886#M63033</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I am working on my master thesis that involves using Intel Xeon Phi for image processing. I intend to use OpenCV libraries for the image processing, matrix multiplication and&amp;nbsp;similar needs.&lt;/P&gt;

&lt;P&gt;Firstly I have set up OpenCV for classic GCC compiler, and tested some basic code in Eclipse, that worked fine.&lt;/P&gt;

&lt;P&gt;But now I'm trying to set up OpenCV for ICC and I'm not really sure what I need to do. I tried making OpenCV source using &lt;A href="https://software.intel.com/en-us/articles/cross-compilation-for-intel-xeon-phi-coprocessor-with-cmake"&gt;these instructions&lt;/A&gt;, but without success so far (errors while "make"-ing).&lt;BR /&gt;
	I also tried to use the GCC build libraries with ICC compiler in Eclipse, but that didn't work either. (screenshot in attachment).&lt;BR /&gt;
	&lt;BR /&gt;
	I hope someone can give me some advice or specific solution on how to build, install and use OpenCV with MIC.&lt;BR /&gt;
	&lt;BR /&gt;
	Thanks in advance&lt;BR /&gt;
	Zvonimir&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 10:14:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084886#M63033</guid>
      <dc:creator>zvonimir_b_</dc:creator>
      <dc:date>2015-11-26T10:14:29Z</dc:date>
    </item>
    <item>
      <title>Computer Vision library has</title>
      <link>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084887#M63034</link>
      <description>&lt;P&gt;Computer Vision library has the following requirements:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html:" target="_blank"&gt;http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html:&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;GCC 4.4.x or later&lt;BR /&gt;
	CMake 2.6 or higher&lt;BR /&gt;
	Git&lt;BR /&gt;
	GTK+2.x or higher, including headers (libgtk2.0-dev)&lt;BR /&gt;
	pkg-config&lt;BR /&gt;
	Python 2.6 or later and Numpy 1.5 or later with developer packages (python-dev, python-numpy)&lt;BR /&gt;
	ffmpeg or libav development packages: libavcodec-dev, libavformat-dev, libswscale-dev&lt;BR /&gt;
	[optional] libtbb2 libtbb-dev&lt;BR /&gt;
	[optional] libdc1394 2.x&lt;BR /&gt;
	[optional] libjpeg-dev, libpng-dev, libtiff-dev, libjasper-dev, libdc1394-22-dev&lt;/P&gt;

&lt;P&gt;The CMAKE build system requires further analysis. TBD&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2015 16:44:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084887#M63034</guid>
      <dc:creator>P__Robert</dc:creator>
      <dc:date>2015-11-29T16:44:17Z</dc:date>
    </item>
    <item>
      <title>Maybe I misunderstood</title>
      <link>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084888#M63035</link>
      <description>&lt;P&gt;Maybe I misunderstood something, but you linked me the general OpenCV requirements. In my post, I said that I already successfully installed OpenCV and used it with GCC compiler. I presume that means my system meets the requirements for using OpenCV.&lt;/P&gt;

&lt;P&gt;My problem is that I don't know how to use OpenCV with the Intel C++ Compiler. I guess I should do cross-compilation described here ( &lt;A href="https://software.intel.com/en-us/articles/cross-compilation-for-intel-xeon-phi-coprocessor-with-cmake)" target="_blank"&gt;https://software.intel.com/en-us/articles/cross-compilation-for-intel-xeon-phi-coprocessor-with-cmake)&lt;/A&gt;, but its not working for me as I get a bunch of errors while 'make'ing. (I can add them later, not possible to copy them ATM).&lt;/P&gt;

&lt;P&gt;I would appreciate any further information on this topic.&lt;/P&gt;

&lt;P&gt;Thanks for your time.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2015 12:52:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084888#M63035</guid>
      <dc:creator>zvonimir_b_</dc:creator>
      <dc:date>2015-11-30T12:52:31Z</dc:date>
    </item>
    <item>
      <title>I accept this challenge.</title>
      <link>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084889#M63036</link>
      <description>&lt;P&gt;I accept this challenge.&lt;/P&gt;

&lt;P&gt;Using openCV:&lt;BR /&gt;
	Is it possible to program with 3DTV effect?&lt;/P&gt;

&lt;P&gt;Is it possible to overlay a GUI/HUD onto video streams?&lt;/P&gt;

&lt;P&gt;Also, when reviewing some lecture notes regarding 3DTV live programming, I found an article referencing openCV:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://link.springer.com/chapter/10.1007%2F978-3-642-29154-8_12" target="_blank"&gt;http://link.springer.com/chapter/10.1007%2F978-3-642-29154-8_12&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This demo explains how to use a Wii remote with openCV.&lt;/P&gt;

&lt;P&gt;The live image/depth was rendered with Vizard Virtual Reality SDK by moving around the wii remote&lt;/P&gt;

&lt;P&gt;It would not only move the animated character, but it would also "move around" in 3d space.&lt;/P&gt;

&lt;P&gt;I would like to implement a system that utilizes openCV, the PHI horsepower, and mic audio input.&lt;/P&gt;

&lt;P&gt;Maybe introduce some 3DTV fractals based on the audio waveform properties.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2015 22:28:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084889#M63036</guid>
      <dc:creator>P__Robert</dc:creator>
      <dc:date>2015-12-15T22:28:47Z</dc:date>
    </item>
    <item>
      <title>Hi zvonimir b.</title>
      <link>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084890#M63037</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/1279160" style="font-size: 11px; line-height: 16.5px; background-color: rgb(238, 238, 238);"&gt;zvonimir b.&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Did you find any solution to the problem. Kindly post here. I also have similar query.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 01:56:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084890#M63037</guid>
      <dc:creator>Amol_G_</dc:creator>
      <dc:date>2016-03-01T01:56:22Z</dc:date>
    </item>
    <item>
      <title>Hello Amol</title>
      <link>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084891#M63038</link>
      <description>&lt;P&gt;Hello Amol&lt;/P&gt;

&lt;P&gt;Well, I have and I have not. Through my work I managed to install and setup OpenCV for ICC compiler, with quite some help from the &lt;A href="https://github.com/Itseez/opencv/issues/5744#issuecomment-161957214"&gt;people at OpenCV forums&lt;/A&gt;. But when I did all that, I've found out that it was not very useful after all.&lt;/P&gt;

&lt;P&gt;Something that no one stated is that you cannot use Mat variables, the basic OpenCV data type, while "offloading" a part of code to the Xeon Phi. The problem that occurs states that you cannot use "Mat image" because it is not Bitwise Copyable.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;This means you need to convert every Mat variable to a bitwise copyable type, which makes using OpenCV pretty much useless in the first place.&lt;/P&gt;

&lt;P&gt;There is a fix to this, but it didn't help my case. There is a data type UMat that is bitwise copyable and easily convertable from and to Mat, but - you cannot access specific element of the image - only the whole thing.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;So, bottomline, I wouldn't recommend using OpenCV with Intel Xeon. You can use it with ICC and use the intel acceleration (-O3 works great), but if you intend to use #pragma offload directives - it will work only if you do operations on the whole matrix, not individual elements of the matrix.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I would recommend just building the image related functions from scratch and working with Xeon for parallelization.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;It seems a lot of work - but getting OpenCV to work on ICC in the first place was a lot of work too.&lt;BR /&gt;
	&lt;BR /&gt;
	Ask if you need additional help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 10:41:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Using-OpenCV-with-ICC-and-MIC/m-p/1084891#M63038</guid>
      <dc:creator>zvonimir_b_</dc:creator>
      <dc:date>2016-03-01T10:41:32Z</dc:date>
    </item>
  </channel>
</rss>

