fix bugs in the soft cascade detect method; add options for debug logging

- WITH_DEBUG_OUT for logging cascade scales
- DEBUG_STORE_IMAGES for xml matrix serialization
- DEBUG_SHOW_RESULT to see detection result
This commit is contained in:
marina.kolpakova
2012-09-19 09:31:02 +04:00
parent ba27d89173
commit 765dea9ddf
3 changed files with 421 additions and 148 deletions

View File

@@ -512,7 +512,7 @@ public:
//! return vector of bounding boxes. Each box contains one detected object
virtual void detectMultiScale(const Mat& image, const std::vector<cv::Rect>& rois, std::vector<cv::Rect>& objects,
int step = 4, int rejectfactor = 1);
int rejectfactor = 1);
protected:
enum { BOOST = 0 };