- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, thx for your attention very much.
But how can I know that which functions are optimized?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Creat
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page