Ask Your Question

Revision history [back]

click to hide/show revision 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,

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,