1 | initial version |
There are no more SVM::Params params in OpenCV 3.0.0. The structure of the ml module is now different (look here). You will need to use the new setters and getters to configure your parameters
2 | No.2 Revision |
There are no more SVM::Params params in OpenCV 3.0.0. The structure of the ml module is now different (look here). You will need to use the new setters and getters to configure your parametersparameters.
For example:
//In OpenCV 2.4.x
SVM::Params params;
params.C = 0.01;
//In OpenCV 3.0.0
SVM my_svm = SVM::create();
my_svm->setC(0.01);
3 | No.3 Revision |
There are no more SVM::Params in OpenCV 3.0.0. The structure of the ml module is now different (look here). You will need to use the new setters and getters to configure your parameters.
For example:
//In OpenCV 2.4.x
SVM::Params params;
params.C = 0.01;
//In OpenCV 3.0.0
SVM Ptr<SVM> my_svm = SVM::create();
my_svm->setC(0.01);