fixed compilation error because of DetectionBasedTracker

This commit is contained in:
Kirill Kornyakov 2012-10-09 18:55:20 +04:00
parent 9a76573172
commit 9b8c47399a

View File

@ -27,6 +27,7 @@ class DetectionBasedTracker
minNeighbours(2),
scaleFactor(1.1f)
{}
virtual ~IDetector() {}
virtual void detect(const cv::Mat& image, std::vector<cv::Rect>& objects) = 0;
@ -62,7 +63,6 @@ class DetectionBasedTracker
{
minNeighbours = value;
}
virtual ~IDetector() {}
protected:
cv::Size minObjSize;
@ -107,7 +107,6 @@ class DetectionBasedTracker
};
virtual void getObjects(std::vector<ExtObject>& result) const;
virtual int addObject(const cv::Rect& location); //returns id of the new object
protected:
@ -170,7 +169,7 @@ class DetectionBasedTracker
namespace cv
{
typedef ::DetectionBasedTracker DetectionBasedTracker;
using ::DetectionBasedTracker;
} //end of cv namespace
#endif