Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I need to use saliency library for my opencv project but it is showing that header file does not exist. I have tried using the latest version (2.4.13) but it is still the same. Can any one help me regarding how to add a library?

#include <opencv2 objdetect="" objdetect.hpp="">

include <opencv2 highgui="" highgui.hpp="">

include <opencv2 imgproc="" imgproc.hpp="">

**#include <opencv2 saliency.hpp="">

include "opencv2/saliency/saliencyBaseClasses.hpp"**

include <iostream>

include <queue>

include <stdio.h>

include <math.h>

// The code is showing error in both saliency related files.

I need to use saliency library for my opencv project but it is showing that header file does not exist. I have tried using the latest version (2.4.13) but it is still the same. Can any one help me regarding how to add a library?

#include <opencv2 objdetect="" objdetect.hpp="">

<opencv2/objdetect/objdetect.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> **#include <opencv2/saliency.hpp> #include "opencv2/saliency/saliencyBaseClasses.hpp"**

include <opencv2 highgui="" highgui.hpp="">

include <opencv2 imgproc="" imgproc.hpp="">

**#include <opencv2 saliency.hpp="">

include "opencv2/saliency/saliencyBaseClasses.hpp"**

include <iostream>

include <queue>

include <stdio.h>

include <math.h>

#include <iostream> #include <queue> #include <stdio.h> #include <math.h>

// The code is showing error in both saliency related files.

Where is saliency.hpp?

I need to use saliency library for my opencv project but it is showing that header file does not exist. I have tried using the latest version (2.4.13) but it is still the same. Can any one help me regarding how to add a library?

#include <opencv2/objdetect/objdetect.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>

**#include <opencv2/saliency.hpp>
#include "opencv2/saliency/saliencyBaseClasses.hpp"**

#include <iostream>
#include <queue>
#include <stdio.h>
#include <math.h>

// The code is showing error in both saliency related files.