get rid of hard-coded values

This commit is contained in:
marina.kolpakova
2012-10-25 14:50:48 +04:00
parent 16dd09ccfc
commit 2e8ed77383
2 changed files with 16 additions and 23 deletions

View File

@@ -529,18 +529,6 @@ public:
virtual void detectMultiScale(const Mat& image, const std::vector<cv::Rect>& rois, std::vector<Detection>& objects,
int rejectfactor = 1) const;
protected:
enum { BOOST = 0 };
enum
{
FRAME_WIDTH = 640,
FRAME_HEIGHT = 480,
TOTAL_SCALES = 55,
CLASSIFIERS = 5,
ORIG_OBJECT_WIDTH = 64,
ORIG_OBJECT_HEIGHT = 128
};
private:
struct Filds;
Filds* filds;