I was under the impression the training data
given to train an SVM
consisted of image features, but after reading this post again, the training_mat
that is given to the SVM
in the example is just the img_mat
flattened to 1-Dimension.
So my question is, when training an SVM
, do you give it whole images in their entirety, row by row, or do you detect
and extract
the features, and then flatten a Mat
of that into 1-Dimension?