add Detection struct to interface

This commit is contained in:
marina.kolpakova
2012-10-06 21:43:25 +04:00
parent 754fd7311b
commit 8e092f8b5d
4 changed files with 18 additions and 5 deletions

View File

@@ -685,10 +685,10 @@ bool cv::SoftCascade::load( const string& filename, const float minScale, const
return true;
}
//#define DEBUG_SHOW_RESULT
#define DEBUG_SHOW_RESULT
void cv::SoftCascade::detectMultiScale(const Mat& image, const std::vector<cv::Rect>& /*rois*/,
std::vector<cv::Rect>& objects, const int /*rejectfactor*/) const
std::vector<Detection>& objects, const int /*rejectfactor*/) const
{
typedef std::vector<cv::Rect>::const_iterator RIter_t;
// only color images are supperted