Wrong value of getVarCount in SVM
I am using opencv 3.1 on Win 8.1 with Visual Studio 2015 this code
Ptr<ml::SVM> svm = ml::SVM::create();
svm->load<ml::SVM>("svm_filename");
int varcnt=svm->getVarCount();
Value of varcnt is -842150451
But in file "svm_filename" var_count: 510
Because of this i have error opencv error: assertion failed (samples.cols==var_count