Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

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 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>