OpenCV and Intel IPP prebuild-libs

asked 2013-11-15 04:10:50 -0500

carlosb gravatar image

updated 2014-02-07 09:00:19 -0500

Hi,

I has finished to implement a project with OpenCV and I would be interested in add Intel IPPs. I was checking the OpenCV web to know possible ways to do this, i found:

1) Compiles the OpenCV source with cmake and with necessary flags. (I would rather not do this...)

2) Downloads a OpenCV prebuild-lib version (It was commented in this link)

Also,I read OpenCV can check if there are installed the Intel IPPs (there are dlls in its path) and use it (I can't find the link where I read this...)

I have a few questions... Can OpenCV load automatically Intel IPPs? How can I do this?

Where can I find this OpenCV prebuild-lib version which uses IPPs?

Finally, I check if the project loads these IPPs libraries in my project with this code:

int main(){
    int NumUploadedFunction = 0;
    NumUploadedFunction =  cv::useOptimized();
    printf("\t NumUploadedFunction = %d \n\n", NumUploadedFunction);

    const char* opencv_lib = 0;
    const char* add_modules = 0;
    cvGetModuleInfo(0, &opencv_lib,&add_modules);
    printf("\t opencv_lib = %s,\n\t add_modules = %s\n\n", opencv_lib,add_modules);
}//_end_of_file_

but It only prints the opencv core module, I don't know if it works correctly.

edit retag flag offensive close merge delete

Comments

the prebuilt libs come without ipp or tbb. if you need that, you'll have to rebuild from src.

berak gravatar imageberak ( 2013-11-15 06:43:29 -0500 )edit

Thanks @berak, I will try this

carlosb gravatar imagecarlosb ( 2013-11-15 07:30:33 -0500 )edit