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.

IPP/OpenCV distribution

reklar
Beginner
152 Views
Hi,

I have read through the documentation and I understand that at run time OpenCV finds and makes appropriate calls to IPP (if available). What I don't understand is how this model would work if you want to distribute binaries using IPP and OpenCV together.

For the sake of argument let's say I want to distribute a commercial application which uses some of OpenCV and further I have a license for IPP. How would I distribute a binary that would do the right thing, i.e., call the IPP functions where appropriate?

What exactly needs to be distributed with the app?

Thanks!

0 Kudos
3 Replies
Vladimir_Dudnik
Employee
152 Views
Hello,

for IPP we havedocumented list of redistributable files, it should be part of your install package, so you can check with this document.

By the way, the latest version of OpenCV 2.0 allow you to link with IPP static libraries.

Regards,
Vladimir
reklar
Beginner
152 Views
Hello,

for IPP we havedocumented list of redistributable files, it should be part of your install package, so you can check with this document.

By the way, the latest version of OpenCV 2.0 allow you to link with IPP static libraries.

Regards,
Vladimir
So what is the recommended method of distributing an application with OpenCV and IPP? Is there a step by step guide somewhere?

For example, let's say I just want to include IPP color conversion routines via open cv calls ... what would need to be done to distribute the application? Thanks!
PaulF_IntelCorp
Employee
152 Views
Quoting - reklar
So what is the recommended method of distributing an application with OpenCV and IPP? Is there a step by step guide somewhere?

For example, let's say I just want to include IPP color conversion routines via open cv calls ... what would need to be done to distribute the application? Thanks!

If you use the static IPP library everything you need from the IPP library will be included as part of your executable. For many situation this is the simplest way to build and deploy your app.

If you want to use the dynamic link model you'll have to distribute, at minimum, those shared libraries that your application requires, along with your executable. In that case you can either provide all the IPP shared libraries or determine which libraries are required and distribute only those with your app.

This KB article may be of value for figuring out which shared libraries your application needs:

This KB article talks in more details about redistribution of the IPP library components with your application:

Hope this answers your question,

Paul
Reply