|
|
@ -597,13 +597,14 @@ 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, |
|
|
|