1 | initial version |
ok, that's a c++ assertion (you have to read it "the other way round").
_samples.type() should be CV_32F, but wasn't.
in other words, to train an SVM, you need a 2d numpy float array, whith each feature being one row,
2 | No.2 Revision |
ok, that's a c++ assertion (you have to read it "the other way round").
_samples.type() should be CV_32F, but wasn't.
in other words, to train an SVM, you need a 2d numpy float array, whith with each feature being one row,