Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Problems about IPP6.1 and Opencv2.0/2.1

whataaayeah_net
Beginner
129 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
129 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
whataaayeah_net
Beginner
129 Views
Hi, thx for your attention very much.
But how can I know that which functions are optimized?
Vladimir_Dudnik
Employee
129 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
whataaayeah_net
Beginner
129 Views
Creat
Thanks.
whataaayeah_net
Beginner
129 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.
Reply