1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-16 22:35:51 +08:00

Add default constructor to WaldBoost

This commit is contained in:
Vlad Shakhuro
2014-06-25 15:46:18 +04:00
parent 4801502ae6
commit a2a22662d3
2 changed files with 1 additions and 4 deletions

View File

@@ -177,9 +177,6 @@ int main(int argc, char *argv[])
try
{
WaldBoostParams p;
WaldBoost b(p);
b.train(Mat(), Mat());
ICFDetector detector;
vector<string> filenames;
vector< vector<Rect> > labels;

View File

@@ -162,7 +162,7 @@ class CV_EXPORTS WaldBoost
{
public:
/* Initialize WaldBoost cascade with default of specified parameters */
WaldBoost(const WaldBoostParams& params);
WaldBoost(const WaldBoostParams& params = WaldBoostParams());
/* Train WaldBoost cascade for given data