Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Problems about IPP6.1 and Opencv2.0/2.1

whataaayeah_net
Beginner
519 Views
I following the instructions at:
to build opencv2.1 dynamic library with IPP 6.1. I'm very sure that IPP was static linked to the dll, because that I saw the IPP libs are present in the external libraries when I build opencv with vc2008.
ippsmerged.lib
ippsemerged.lib
ippimerged.lib
ippiemerged.lib
ippvmmerged.lib
ippvmemerged.lib
ippccmerged.lib
ippccemerged.lib
ippcvmerged.lib
ippcvemerged.lib
ippcorel.lib
But when I run my applications with the new built opencv libraries,I found nothing was accelerated.
So I use the code bellow to check whether IPP is working:
const char* libraries = 0;
const char* modules = 0;
cvGetModuleInfo( 0, &libraries, &modules );
printf("Libraries: %s\\nModules: %s\\n", libraries, modules );
cvUseOptimized(1);



But what I received is :
Libraries: cxcore: 2.1.0
Modules:
as it shown ,seems that nothing is loaded.
Is there any mistake when I build the dynamic libraries?
0 Kudos
5 Replies
Vladimir_Dudnik
Employee
519 Views
Hello,

cvGetModuleInfo provides information about external DLLs if OpenCV load ones. It work in previous OpenCV versions for IPP because that time IPP was linked dynamically. Now it is linked statically, so you can not get info through this function.

You can try to compare performance of OpenCV functions which get optimized with IPP

Regards,
Vladimir
0 Kudos
whataaayeah_net
Beginner
519 Views
Hi, thx for your attention very much.
But how can I know that which functions are optimized?
0 Kudos
Vladimir_Dudnik
Employee
519 Views
You can check _cvipp.h file or search for HAVE_IPP macro through sources.

Not that convenient but at least yo can find where IPP is used and where still be an opportunity to insert call for IPP

Vladimir
0 Kudos
whataaayeah_net
Beginner
519 Views
Creat
Thanks.
0 Kudos
whataaayeah_net
Beginner
519 Views
Hi, I'v reviewed this file and some document like:
And very sure that IPP contains optimizer tohaar classifier support
But I compared the performance of function "cvHaarDetectObjects" between using IPP and without IPP , It seem nothing faster.
0 Kudos
Reply