IPP, new version of OpenCV, cmake and all the mess
After some long time, had to work on OpenCV and for the first time had to use the IPP. IPP is Intel’s high performance routines. They many of them, but I had to work on OpenCV one. http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-open-source-computer-vision-library-opencv-faq/
Download it, run it.
Follow these two links for installation help
- Deploying applications with Intel® IPP DLLs
- IPP with OpenCV highGUI + VS 2008 express ; as the name shows is more about making OpenCV and IPP work together. It even has the test code in it.
Before we move ahead, let’s look at the new version of OpenCV. It’s install guide is here. They were recommending CMake, so tried it. Because we are using the IPP here also so carefully have to give the bin address.
The IPP it appears, by searching online, not to work properly with OpenCV’s new version. Had actually some problem, but it was I think because IPP libraries access the OpenCv libraries and these libraries have their names changed. So copy pasted them and changed new names to old names. Compiled and viola it’s linking.
Well while putting it here, it looks everything is working fine but it took some time before i was able to solve that.
Some lessons actually commonsense things which one forgets the moment you need it most.
1) Every time you add the Environment variable, restart Visual Studio
2) Bad idea to copy paste your dll’s, set their location path in the Environment Variable path.