<?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 First at all, build of OpenCV in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-8-1-and-OpenCV-2-4-9/m-p/1039770#M23783</link>
    <description>&lt;P&gt;First at all, build of OpenCV from source code in MS Visual Studio is not a trivial task (even without IPP support). I made it under Windows 7 32 and Visual Studio 2010 for OpenCV 2.4.3.&lt;/P&gt;

&lt;P&gt;It requires Windows version of CMake which will make a folder with Visual Studio solution and project files.&lt;/P&gt;

&lt;P&gt;Then I compiled a solution (40+ projects) and made some settings in Windows Control Panel for OpenCV and IPP.&lt;/P&gt;

&lt;P&gt;Adding IPP functionality to project with OpenCV usage did not make any problem (just uncomment "#define HAVE_IPP 1" in OpenCV configuration header file).&lt;/P&gt;

&lt;P&gt;Your environment is very hard (win 8.1 64, MS VS 2013)&lt;/P&gt;

&lt;P&gt;My suggestion: At first try just to compile OpenCV without IPP functionality adding.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;Roman&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jun 2014 07:54:44 GMT</pubDate>
    <dc:creator>Roman_T_</dc:creator>
    <dc:date>2014-06-20T07:54:44Z</dc:date>
    <item>
      <title>IPP 8.1 and OpenCV 2.4.9</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-8-1-and-OpenCV-2-4-9/m-p/1039769#M23782</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;I tried to rebuild OpenCV 2.4.9 in a way that it automatically uses IPP 8.1. The documention on how to do this seem to be very outdated and doesn't work anymore with the latest versions of these libraries.&lt;/P&gt;
&lt;P&gt;It would be great to have a step-by-step tutorial on how to get this to run. In my case I am interested in building it for Windows 8.1, 64-bit release using Visual Studio 2013.&lt;/P&gt;
&lt;P&gt;I tried various things mixed from old tutorials on the web. The function to test if IPP is active did only return "1" optimized/uploaded funtion instead of 140+ when IPP is active.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;int&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; NumUploadedFunction = 0;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;NumUploadedFunction = cvUseOptimized(1);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;printf(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Courier New"&gt;&lt;FONT color="#a31515" size="2" face="Courier New"&gt;&lt;FONT color="#a31515" size="2" face="Courier New"&gt;"\t NumUploadedFunction = %d \n\n"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;, NumUploadedFunction);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;const&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;char&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;* opencv_lib = 0;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;const&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;char&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;* add_modules = 0;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;cvGetModuleInfo(0, &amp;amp;opencv_lib, &amp;amp;add_modules);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;printf(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Courier New"&gt;&lt;FONT color="#a31515" size="2" face="Courier New"&gt;&lt;FONT color="#a31515" size="2" face="Courier New"&gt;"\t opencv_lib = %s,\n\t add_modules = %s\n\n"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;, opencv_lib, add_modules);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;Thanks!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2014 14:20:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-8-1-and-OpenCV-2-4-9/m-p/1039769#M23782</guid>
      <dc:creator>Daniel_P_Intel1</dc:creator>
      <dc:date>2014-06-13T14:20:23Z</dc:date>
    </item>
    <item>
      <title>First at all, build of OpenCV</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-8-1-and-OpenCV-2-4-9/m-p/1039770#M23783</link>
      <description>&lt;P&gt;First at all, build of OpenCV from source code in MS Visual Studio is not a trivial task (even without IPP support). I made it under Windows 7 32 and Visual Studio 2010 for OpenCV 2.4.3.&lt;/P&gt;

&lt;P&gt;It requires Windows version of CMake which will make a folder with Visual Studio solution and project files.&lt;/P&gt;

&lt;P&gt;Then I compiled a solution (40+ projects) and made some settings in Windows Control Panel for OpenCV and IPP.&lt;/P&gt;

&lt;P&gt;Adding IPP functionality to project with OpenCV usage did not make any problem (just uncomment "#define HAVE_IPP 1" in OpenCV configuration header file).&lt;/P&gt;

&lt;P&gt;Your environment is very hard (win 8.1 64, MS VS 2013)&lt;/P&gt;

&lt;P&gt;My suggestion: At first try just to compile OpenCV without IPP functionality adding.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2014 07:54:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-8-1-and-OpenCV-2-4-9/m-p/1039770#M23783</guid>
      <dc:creator>Roman_T_</dc:creator>
      <dc:date>2014-06-20T07:54:44Z</dc:date>
    </item>
  </channel>
</rss>

