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
{
- typedef ::DetectionBasedTracker DetectionBasedTracker;
-
+ using ::DetectionBasedTracker;
} //end of cv namespace
+
#endif