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