Fix binary compatibility of opencv_objdetect

This commit is contained in:
Andrey Kamaev 2012-10-16 17:48:51 +04:00
parent a07cc84436
commit 42c8a42ad3

View File

@ -597,13 +597,13 @@ public:
// evaluate specified ROI and return confidence value for each location // evaluate specified ROI and return confidence value for each location
virtual void detectROI(const cv::Mat& img, const vector<cv::Point> &locations, void detectROI(const cv::Mat& img, const vector<cv::Point> &locations,
CV_OUT std::vector<cv::Point>& foundLocations, CV_OUT std::vector<double>& confidences, CV_OUT std::vector<cv::Point>& foundLocations, CV_OUT std::vector<double>& confidences,
double hitThreshold = 0, cv::Size winStride = Size(), double hitThreshold = 0, cv::Size winStride = Size(),
cv::Size padding = Size()) const; cv::Size padding = Size()) const;
// evaluate specified ROI and return confidence value for each location in multiple scales // evaluate specified ROI and return confidence value for each location in multiple scales
virtual void detectMultiScaleROI(const cv::Mat& img, void detectMultiScaleROI(const cv::Mat& img,
CV_OUT std::vector<cv::Rect>& foundLocations, CV_OUT std::vector<cv::Rect>& foundLocations,
std::vector<DetectionROI>& locations, std::vector<DetectionROI>& locations,
double hitThreshold = 0, double hitThreshold = 0,