Community
cancel
Showing results for 
Search instead for 
Did you mean: 
whataaayeah_net
Beginner
69 Views

Problems about IPP6.1 and Opencv2.0/2.1

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
69 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
69 Views

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

Creat
Thanks.
whataaayeah_net
Beginner
69 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