Commit a2a22662 authored by Vlad Shakhuro's avatar Vlad Shakhuro

Add default constructor to WaldBoost

parent 4801502a
...@@ -177,9 +177,6 @@ int main(int argc, char *argv[]) ...@@ -177,9 +177,6 @@ int main(int argc, char *argv[])
try try
{ {
WaldBoostParams p;
WaldBoost b(p);
b.train(Mat(), Mat());
ICFDetector detector; ICFDetector detector;
vector<string> filenames; vector<string> filenames;
vector< vector<Rect> > labels; vector< vector<Rect> > labels;
......
...@@ -162,7 +162,7 @@ class CV_EXPORTS WaldBoost ...@@ -162,7 +162,7 @@ class CV_EXPORTS WaldBoost
{ {
public: public:
/* Initialize WaldBoost cascade with default of specified parameters */ /* Initialize WaldBoost cascade with default of specified parameters */
WaldBoost(const WaldBoostParams& params); WaldBoost(const WaldBoostParams& params = WaldBoostParams());
/* Train WaldBoost cascade for given data /* Train WaldBoost cascade for given data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment