Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1117

How to put a label of type string in a matrix (KNN)

$
0
0
This line put a label for a trainData mat train_labels.push_back(new Mat (1,1,CvType.CV_32FC1,new Scalar(i))) I would put a string label instead of a float label .is it possible ?

Viewing all articles
Browse latest Browse all 1117

Trending Articles