applying patch by rxtsolar: https://github.com/Itseez/opencv/pull/5422 for the master branch (even though it's actually not that important here)
This commit is contained in:
@@ -1822,8 +1822,8 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
params = best_params;
|
|
||||||
class_labels = class_labels0;
|
class_labels = class_labels0;
|
||||||
|
setParams(best_params);
|
||||||
return do_train( samples, responses );
|
return do_train( samples, responses );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user