Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ow i changed the trainingDataMat from Mat trainingDataMat (47, 27000, CV_32FC1) to only Mat trainingDataMat and it worked thanks but i got this bug now i'm going to search what's the cause of it if( !isTrained() ) CV_Error( CV_StsParseError, "SVM model data is invalid, check sv_count, var_* and class_count tags" );

ow i changed the trainingDataMat from Mat trainingDataMat (47, 27000, CV_32FC1) to only Mat trainingDataMat and it worked thanks but i got this bug now i'm going to search what's the cause of it

 if( !isTrained() )
            CV_Error( CV_StsParseError, "SVM model data is invalid, check sv_count, var_* and class_count tags" );

);